Difference between revisions of "Metadata options"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* [[Terraform module: ec2-instance]] | * [[Terraform module: ec2-instance]] | ||
+ | |||
+ | metadata_options = { | ||
+ | http_endpoint = "enabled" | ||
+ | # use [[IMDSv2]] | ||
+ | http_tokens = "required" | ||
+ | } | ||
Latest revision as of 09:48, 28 June 2024
module.eks.module.kms.data.aws_caller_identity.current
Related[edit]
- IMDSv2:
metadata_options
: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#metadata-optionshttp_tokens = required
metadata_options = { http_endpoint = "enabled" # use IMDSv2 http_tokens = "required" }
See also[edit]
Advertising: