Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix(terraform): AWS changes compliance
[csit.git]
/
fdio.infra.terraform
/
terraform-aws-elastic-beanstalk-environment
/
main.tf
diff --git
a/fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf
b/fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf
index
fd570ab
..
2e6fb44
100644
(file)
--- a/
fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf
+++ b/
fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf
@@
-422,6
+422,12
@@
resource "aws_elastic_beanstalk_environment" "environment" {
value = aws_iam_instance_profile.ec2_iam_instance_profile.name
}
value = aws_iam_instance_profile.ec2_iam_instance_profile.name
}
+ setting {
+ namespace = "aws:autoscaling:launchconfiguration"
+ name = "DisableIMDSv1"
+ value = true
+ }
+
# aws:autoscaling:updatepolicy:rollingupdate
setting {
namespace = "aws:autoscaling:updatepolicy:rollingupdate"
# aws:autoscaling:updatepolicy:rollingupdate
setting {
namespace = "aws:autoscaling:updatepolicy:rollingupdate"