File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,14 @@ project adheres to [Semantic Versioning](http://semver.org/).
8
8
## [[ v2.0.1] ( https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v2.0.0...HEAD )] - 2019-01-??]
9
9
10
10
### Added
11
- - Write your awesome addition here (by @you )
11
+
12
+ - Write your awesome addition here (by @you )
12
13
13
14
### Changed
14
- - Removed invalid action from worker_autoscaling iam policy
15
+
16
+ - Removed invalid action from worker_autoscaling iam policy (by @marcelloromani )
17
+ - Fixed zsh-specific syntax in retry loop for aws auth config map (by @marcelloromani )
18
+ - Fix: fail deployment if applying the aws auth config map still fails after 10 attempts (by @marcelloromani )
15
19
16
20
## [[ v2.0.0] ( https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v1.8.0...v2.0.0 )] - 2018-12-14]
17
21
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ resource "null_resource" "update_config_map_aws_auth" {
8
8
depends_on = [" aws_eks_cluster.this" ]
9
9
10
10
provisioner "local-exec" {
11
- command = " for i in {1..5} ; do kubectl apply -f ${ var . config_output_path } config-map-aws-auth_${ var . cluster_name } .yaml --kubeconfig ${ var . config_output_path } kubeconfig_${ var . cluster_name } && break || sleep 10; done"
11
+ command = " for i in `seq 1 10` ; do kubectl apply -f ${ var . config_output_path } config-map-aws-auth_${ var . cluster_name } .yaml --kubeconfig ${ var . config_output_path } kubeconfig_${ var . cluster_name } && exit 0 || sleep 10; done; exit 1 "
12
12
interpreter = [" ${ var . local_exec_interpreter } " ]
13
13
}
14
14
You can’t perform that action at this time.
0 commit comments