Skip to content

Commit 64b1fe7

Browse files
committed
Trying with new AMI
1 parent e12054f commit 64b1fe7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

infrastructure-as-code/k8s-cluster-openshift-aws/modules/openshift/01-amis.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ data "aws_ami" "amazonlinux" {
4949

5050
filter {
5151
name = "name"
52-
values = ["amzn-ami-hvm-*"]
52+
values = ["amzn-ami-hvm-2018.03.0.20190611-x86_64-gp2"]
5353
}
5454
}

infrastructure-as-code/k8s-cluster-openshift-aws/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ variable "region" {
44
default = "us-east-1"
55
}
66

7+
variable "bastion_ami_filter" {
8+
description = "The filter for the bastion AMI data source"
9+
default = "amzn-ami-hvm-*"
10+
}
11+
712
variable "key_name" {
813
description = "The name of the key to user for ssh access"
914
}

0 commit comments

Comments
 (0)