mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-12-05 14:46:29 +01:00
fix: random_pet with LT workers under 0.13.0 (#940)
Fix for: Error: Provider produced inconsistent final plan When expanding the plan for module.eks.random_pet.workers_launch_template[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/random" changed the planned action from CreateThenDelete to DeleteThenCreate.
This commit is contained in:
1 parent
415cfca9af
commit
f45b5a1d46
2 files changed
+4
No files matched your search
@@ -11,3 +11,4 @@ eks-admin-service-account.yaml
|
|||||||
*.iml
|
*.iml
|
||||||
config-map-aws-auth*.yaml
|
config-map-aws-auth*.yaml
|
||||||
kubeconfig_*
|
kubeconfig_*
|
||||||
|
*.swp
|
||||||
@@ -476,6 +476,9 @@ resource "random_pet" "workers_launch_template" {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
lifecycle {
|
||||||
|
create_before_destroy = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_iam_instance_profile" "workers_launch_template" {
|
resource "aws_iam_instance_profile" "workers_launch_template" {
|
||||||
|
|||||||
Reference in new issue
Block a user