Skip to content

Commit 4ffd7f6

Browse files
authored
Merge pull request #391 from wangzlei/master
Disable IMDSv1 from Elastic Beanstalk
2 parents 150f0ea + da588ee commit 4ffd7f6

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)