Difference between revisions of "Transition to using Instance Metadata Service Version 2"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
*** [[Terraform resource: aws ec2 instance metadata defaults]] | *** [[Terraform resource: aws ec2 instance metadata defaults]] | ||
** <code>[[aws ec2 modify-instance-metadata-options]]</code> | ** <code>[[aws ec2 modify-instance-metadata-options]]</code> | ||
+ | |||
+ | Terraform: | ||
+ | * <code>[[metadata_options]]</code>: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#metadata-options | ||
+ | ** <code>[[http_tokens]] = required</code> | ||
== Related == | == Related == |
Latest revision as of 09:32, 28 June 2024
- Use an AMI that configures IMDSv2 by default
Terraform:
metadata_options
: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#metadata-optionshttp_tokens = required
Related[edit]
See also[edit]
Advertising: