File tree Expand file tree Collapse file tree 6 files changed +13
-5
lines changed
governance/first-generation/aws
infrastructure-as-code/k8s-cluster-openshift-aws Expand file tree Collapse file tree 6 files changed +13
-5
lines changed Original file line number Diff line number Diff line change
1
+ policy "restrict-aws-region" {
2
+ enforcement_level = " soft-mandatory"
3
+ }
Original file line number Diff line number Diff line change @@ -203,6 +203,6 @@ resource "vault_kubernetes_auth_backend_role" "role" {
203
203
role_name = " demo"
204
204
bound_service_account_names = [" cats-and-dogs" ]
205
205
bound_service_account_namespaces = [" default" , " cats-and-dogs" ]
206
- policies = [" ${ var . vault_user } " ]
207
- ttl = 7200
206
+ token_policies = [" ${ var . vault_user } " ]
207
+ token_ttl = 7200
208
208
}
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ data "aws_ami" "amazonlinux" {
49
49
50
50
filter {
51
51
name = " name"
52
- values = [" amzn-ami-hvm-* " ]
52
+ values = [" amzn-ami-hvm-2018.03.0.20190611-x86_64-gp2 " ]
53
53
}
54
54
}
Original file line number Diff line number Diff line change 3
3
# Note: This script runs after the ansible install, use it to make configuration
4
4
# changes which would otherwise be overwritten by ansible.
5
5
6
- sleep 120
6
+ sleep 180
7
7
8
8
# Create an htpasswd file, we'll use htpasswd auth for OpenShift.
9
9
sudo mkdir -p /etc/origin/master
Original file line number Diff line number Diff line change 3
3
# Note: This script runs after the ansible install, use it to make configuration
4
4
# changes which would otherwise be overwritten by ansible.
5
5
6
- sleep 120
6
+ sleep 180
7
7
8
8
# Update the docker config to allow OpenShift's local insecure registry. Also
9
9
# use json-file for logging, so our Splunk forwarder can eat the container logs.
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ variable "region" {
4
4
default = " us-east-1"
5
5
}
6
6
7
+ variable "bastion_ami_filter" {
8
+ description = " The filter for the bastion AMI data source"
9
+ default = " amzn-ami-hvm-*"
10
+ }
11
+
7
12
variable "key_name" {
8
13
description = " The name of the key to user for ssh access"
9
14
}
You can’t perform that action at this time.
0 commit comments