aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2022-12-20 10:44:21 +0000
committerpmikus <peter.mikus@protonmail.ch>2022-12-20 10:44:21 +0000
commit94a7403b2c56f807cf771ddf3369c79e8a5be49e (patch)
treef82f9b8c9b1f7b122eac48f63adfd59fadc21431 /fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf
parentc4ecedf6cb82a4d68035237add6af5f611d36a47 (diff)
fix(terraform): AWS changes compliance
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ibc4ec833c1cc44513b727ddd7d81e6db42bc9f4b
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-elastic-beanstalk-environment/main.tf6
1 files changed, 6 insertions, 0 deletions
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 fd570ab575..2e6fb44e36 100644
--- 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
}
+ setting {
+ namespace = "aws:autoscaling:launchconfiguration"
+ name = "DisableIMDSv1"
+ value = true
+ }
+
# aws:autoscaling:updatepolicy:rollingupdate
setting {
namespace = "aws:autoscaling:updatepolicy:rollingupdate"