Skip to content

Commit da588ee

Browse files
authored
Disable IMDSv1 from Elastic Beanstalk
Integration workflow verify the functionality in AWS Elastic Beanstalk. For AWS security reason we need to disable IMDSv1 from EB environment.
1 parent 150f0ea commit da588ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

terraform/eb.tf

+6
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,10 @@ resource "aws_elastic_beanstalk_environment" "eb_env" {
7171
name = "XRayEnabled"
7272
value = "true"
7373
}
74+
75+
setting {
76+
namespace = "aws:autoscaling:launchconfiguration"
77+
name = "DisableIMDSv1"
78+
value = "true"
79+
}
7480
}

0 commit comments

Comments
 (0)