Open Mieszko96 opened 2 months ago
and it's only when cluster was initially created on aws version 5.58.0 or higher.
my pov all my important clusters were created before, so no problem on my side, but i still think this module needs some upgrade. IF it's possible cuz in aws provider they added this
bootstrap_cluster_creator_admin_permissions set to true as default not false as it was before
bootstrap_cluster_creator_admin_permissions set to true as default not false as it was before
bootstrap_cluster_creator_admin_permissions
is not available on version v19.21
or anything less than v20.0
of the EKS module, so I'm not following what this issue is describing
https://github.com/hashicorp/terraform-provider-aws/pull/38295 this PR changed default values for brand new cluster. and because of it when using your module to migrate cluster, it wants to recreate cluster.
access_config {
~ authentication_mode = "CONFIG_MAP" -> "API_AND_CONFIG_MAP"
~ bootstrap_cluster_creator_admin_permissions = true -> false # forces replacement
}
if you don't believe me.
Not sure if it can be fixed somehow in this repo or in aws provider only
We have the same behaviour. Clusters were provisioned before v5.58.0, later provider's version was upgraded (currently it is v5.68.0), and now updating to v20.x causes cluster to be re-created due to hardcoded bootstrap_cluster_creator_admin_permissions
~ access_config {
~ bootstrap_cluster_creator_admin_permissions = true -> false # forces replacement
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
specially this
To Reproduce