Open
Description
Describe the bug
Hey i was testing upgrade procedure on aws provider 5.57.0 and it worked more or less fine.
Only i needed run terraform apply 3 times
19.21 -> migrrate
migrate -> 20.00 but access_entires were created but policy was not applied
20.00 -> 20.00 without changed was adding this policy
it was more or less fine, but i needed to change priority to diffrent subject and in meantime we upgraded aws provider to 5.59.0
and this migrate not works for me anymore.
from upgrading 19.21 -> migrate module i'm getting error in terraform plan
│
│ with helm_release.cert_manager,
│ on cert_manager.tf line 8, in resource "helm_release" "cert_manager":
│ 8: resource "helm_release" "cert_manager" {
│
╵
╷
│ Error: Get "http://localhost/api/v1/namespaces/velero": dial tcp [::1]:80: connect: connection refused
│
│ with kubernetes_namespace.velero,
│ on velero.tf line 65, in resource "kubernetes_namespace" "velero":
│ 65: resource "kubernetes_namespace" "velero" {
module.eks.aws_eks_cluster.this[0] must be replaced
+/- resource "aws_eks_cluster" "this" {
~ arn = "test" -> (known after apply)
~ certificate_authority = [
- {
- data = "hided"
},
] -> (known after apply)
+ cluster_id = (known after apply)
~ created_at = "2024-07-31 08:59:06.64 +0000 UTC" -> (known after apply)
- enabled_cluster_log_types = [] -> null
~ endpoint = "test" -> (known after apply)
~ id = "test" -> (known after apply)
~ identity = [
- {
- oidc = [
- {
- issuer = "test"
},
]
},
] -> (known after apply)
name = "test"
~ platform_version = "eks.16" -> (known after apply)
~ status = "ACTIVE" -> (known after apply)
~ tags = {
+ "terraform-aws-modules" = "eks"
}
~ tags_all = {
+ "terraform-aws-modules" = "eks"
# (10 unchanged elements hidden)
}
# (3 unchanged attributes hidden)
~ access_config {
~ authentication_mode = "CONFIG_MAP" -> "API_AND_CONFIG_MAP"
~ bootstrap_cluster_creator_admin_permissions = true -> false # forces replacement
}
specially this
~ access_config {
~ authentication_mode = "CONFIG_MAP" -> "API_AND_CONFIG_MAP"
~ bootstrap_cluster_creator_admin_permissions = true -> false # forces replacement
}
To Reproduce
- install module 19.21 using aws provider 5.59.0
- update EKS module to
source = "github.com/clowdhaus/terraform-aws-eks-v20-migrate.git?ref=3f626cc493606881f38684fc366688c36571c5c5" - run terraform init/plan
Metadata
Metadata
Assignees
Labels
No labels