Skip to content

Releases: aidanmelen/terraform-aws-eks-auth

v1.0.0

08 Apr 15:39
Compare
Choose a tag to compare

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

24 Mar 15:00
Compare
Choose a tag to compare

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

20 Mar 23:18
Compare
Choose a tag to compare

docs: added .terraform-docs.yml to root.

v0.8.2

20 Mar 02:54
Compare
Choose a tag to compare
  • 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

20 Mar 02:47
626de63
Compare
Choose a tag to compare

BREAKING CHANGE: the should_patch_aws_auth_configmap variables was renamed to simply patch.

v0.7.0

19 Mar 20:56
10bfd71
Compare
Choose a tag to compare
  • 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.