Skip to content

Commit 12490b3

Browse files
committed
update readme and add helm provider
1 parent cd94ed9 commit 12490b3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

_examples/eks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To view all available configuration options for the EKS module used in this exam
5858

5959
## Replacing the EKS cluster and re-creating the Kubernetes / Helm resources
6060

61-
When the cluster is initially created, the Kubernetes and Helm providers will not be initialized until authentication details are created for the cluster. However, for future operations that may involve replacing the underlying cluster (for example, changing VM sizes), the EKS cluster will have to be targeted without the Kubernetes/Helm providers, as shown below. This is done by removing the `module.kubernetes-config` from Terraform State prior to replacing cluster credentials, to avoid passing outdated credentials into the providers.
61+
When the cluster is initially created, the Kubernetes and Helm providers will not be initialized until authentication details are created for the cluster. However, for future operations that may involve replacing the underlying cluster (for example, changing the network where the EKS cluster resides), the EKS cluster will have to be targeted without the Kubernetes/Helm providers, as shown below. This is done by removing the `module.kubernetes-config` from Terraform State prior to replacing cluster credentials, to avoid passing outdated credentials into the providers.
6262

6363
This will create the new cluster and the Kubernetes resources in a single apply.
6464

_examples/eks/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ terraform {
33
kubernetes = {
44
source = "hashicorp/kubernetes"
55
}
6+
helm = {
7+
source = "hashicorp/helm"
8+
version = "2.0.1"
9+
}
610
aws = {
711
source = "hashicorp/aws"
812
version = "3.22.0"

0 commit comments

Comments
 (0)