mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-17 22:39:37 +02: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
.gitignore
vendored
1
.gitignore
vendored
@@ -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