Skip to content

Commit

Permalink
Merge pull request #391 from wangzlei/master
Browse files Browse the repository at this point in the history
Disable IMDSv1 from Elastic Beanstalk
  • Loading branch information
wangzlei committed Apr 27, 2023
2 parents 150f0ea + da588ee commit 4ffd7f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/eb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,10 @@ resource "aws_elastic_beanstalk_environment" "eb_env" {
name = "XRayEnabled"
value = "true"
}

setting {
namespace = "aws:autoscaling:launchconfiguration"
name = "DisableIMDSv1"
value = "true"
}
}

0 comments on commit 4ffd7f6

Please sign in to comment.