Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new terraform resource kubernetes_config_map_v1_data for managing aws_auth data #148

Closed
jonasoneves opened this issue Apr 15, 2022 · 1 comment · Fixed by #206
Closed
Labels
wontfix This will not be worked on

Comments

@jonasoneves
Copy link

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

This resource allows Terraform to manage data within a pre-existing ConfigMap. This resource uses field management and server-side apply to manage only the data that is defined in the Terraform configuration. Existing data not specified in the configuration will be ignored.

Ref: https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map_v1_data

@Nuru
Copy link
Contributor

Nuru commented May 16, 2022

@jonasoneves Thank you for bringing this to our attention.

It looks like it could be difficult to migrate to that resource because it cannot be imported, and if you just naively upgraded then Terraform would delete the old ConfigMap and you would have a hard time re-creating it.

See also this comment about other problems with kubernetes_config_map_v1_data and the aws-auth config map.

I am still hoping AWS will do the right thing and provide an EKS API to manage the aws-auth ConfigMap.

@Nuru Nuru added the wontfix This will not be worked on label May 16, 2022
@Nuru Nuru closed this as completed in #206 Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants