Releases: aidanmelen/terraform-aws-eks-auth
Releases · aidanmelen/terraform-aws-eks-auth
v1.0.0
This module has now reached 1.0 status now that the terraform-provider-kubernetes has native support for patching aws-auth
configmap data. For this reason, the terraform-provider-kubectl is being deprecated from this module.
This module will patch the aws-auth
configmap when it already exists (please see complete example) and will create a new aws-auth
configmap when it does not already exist (please see basic example).
v0.9.0
Changes
- replace kubernetes_job with kubectl_manifest. This simplifies the module quite a bit. The provider handles create or patch functionality in a single resource. What's more, since the provider uses the k8s golang libraries, this solution also run remote operations in Terraform Cloud or in CI/CD.
- overhauled documentation/examples with .terraform-docs templates.
- added terraform-aws-modules/http to ensure the cluster is ACTIVE before the kubectl_manifest runs.
- created test/mock for hacky rapid testing.
Upgrade Notes
You will see the kubernetes_job get replaced with the kubectl_manifest when upgrading from v0.8.3. The apply will automatically recreate the aws-auth configmap.
Docs: enhancements
docs: added .terraform-docs.yml to root.
v0.8.2
- renamed the replace example to complete since replacing the eks cluster aws-auth configmap with a new configmap managed with terraform is the complete and default behavior.
v0.8.0
BREAKING CHANGE: the should_patch_aws_auth_configmap
variables was renamed to simply patch
.
v0.7.0
- Created two distinct aws-auth-init jobs. The replace job will ignore changes to the job image. This will prevent the configmap managed by terraform from being deleted when the cluster version changes. On the other hand, we want the patch job to run any time the roles, users, or accounts change as well as when the job image changes. This will ensure that the version of kubectl always matches the version of the cluster.
- Added self_managed_node_groups to the example and replace and patch tests.
- Added terraform-docs to example README's.
- Added terraform example snippets to the example README's.
- Default image_tag the the Kubernetes server version retrieved from the aws_eks_cluster data resource.
- Added github actions for release, pre-title, and stale-actions.