This is required in order to enable and/or enforce use of IMDSv2 or explicitly enable or disable the http endpoint.
It also provides a new variable to explicitly enable or disable encryption on the root EBS volume for each node. Previously, it used the account/AMI default without the ability to override.
Negative effects of this change
No known negative effects. Changes are backwards compatible, defaults will result in no changes to existing deployments.
Why this change is needed
Allow users to pass metadata options to the underlying aws_launch_template resource for nodes. See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#metadata-options for the details. Previously it only used the AWS or account defaults and couldn't be overridden.
This is required in order to enable and/or enforce use of IMDSv2 or explicitly enable or disable the http endpoint.
It also provides a new variable to explicitly enable or disable encryption on the root EBS volume for each node. Previously, it used the account/AMI default without the ability to override.
Negative effects of this change
No known negative effects. Changes are backwards compatible, defaults will result in no changes to existing deployments.