Difference between revisions of "Metadata options"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<code>[[module.eks.module.kms]].data.[[aws_caller_identity]].current</code> | <code>[[module.eks.module.kms]].data.[[aws_caller_identity]].current</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[Terraform resource: aws_instance]]</code> | ||
+ | |||
+ | * [[IMDSv2]]: <code>[[metadata_options]]</code>: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#metadata-options | ||
+ | ** <code>[[http_tokens]] = required</code> | ||
+ | |||
+ | * [[Terraform module: ec2-instance]] | ||
+ | |||
+ | metadata_options = { | ||
+ | http_endpoint = "enabled" | ||
+ | # use [[IMDSv2]] | ||
+ | http_tokens = "required" | ||
+ | } | ||
+ | |||
== See also == | == See also == | ||
* {{eks_managed_node_group}} | * {{eks_managed_node_group}} | ||
− | + | * {{module.eks}} | |
[[Category:EKS]] | [[Category:EKS]] |
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: