opendatacube / datacube-k8s-eks

Deploy a production scale datacube cluster on AWS using EKS
Apache License 2.0
21 stars 14 forks source link

Node metadata #293

Closed squireg closed 1 year ago

squireg commented 1 year ago

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.