-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrap_cluster_creator_admin_permissions value fix when access_config is not provided at eks cluster creation #38295
bootstrap_cluster_creator_admin_permissions value fix when access_config is not provided at eks cluster creation #38295
Conversation
…fig is not provided at cluster creation
Community NoteVoting for Prioritization
For Submitters
|
…ootstrap_cluster_creator_admin_permissions'.
…_permissions parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccEKSCluster_AccessConfig_update' PKG=eks
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.4 test ./internal/service/eks/... -v -count 1 -parallel 20 -run=TestAccEKSCluster_AccessConfig_update -timeout 360m
=== RUN TestAccEKSCluster_AccessConfig_update
=== PAUSE TestAccEKSCluster_AccessConfig_update
=== CONT TestAccEKSCluster_AccessConfig_update
--- PASS: TestAccEKSCluster_AccessConfig_update (716.23s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 721.050s
% make testacc TESTARGS='-run=TestAccEKSCluster_AccessConfig_create\|TestAccEKSAccessEntry_\|TestAccEKSCluster_basic\|TestAccEKSClusterDataSource_basic' PKG=eks ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.4 test ./internal/service/eks/... -v -count 1 -parallel 3 -run=TestAccEKSCluster_AccessConfig_create\|TestAccEKSAccessEntry_\|TestAccEKSCluster_basic\|TestAccEKSClusterDataSource_basic -timeout 360m
=== RUN TestAccEKSAccessEntry_basic
=== PAUSE TestAccEKSAccessEntry_basic
=== RUN TestAccEKSAccessEntry_disappears
=== PAUSE TestAccEKSAccessEntry_disappears
=== RUN TestAccEKSAccessEntry_Disappears_cluster
=== PAUSE TestAccEKSAccessEntry_Disappears_cluster
=== RUN TestAccEKSAccessEntry_tags
=== PAUSE TestAccEKSAccessEntry_tags
=== RUN TestAccEKSAccessEntry_type
=== PAUSE TestAccEKSAccessEntry_type
=== RUN TestAccEKSAccessEntry_username
=== PAUSE TestAccEKSAccessEntry_username
=== RUN TestAccEKSAccessEntry_eventualConsistency
=== PAUSE TestAccEKSAccessEntry_eventualConsistency
=== RUN TestAccEKSClusterDataSource_basic
=== PAUSE TestAccEKSClusterDataSource_basic
=== RUN TestAccEKSCluster_basic
=== PAUSE TestAccEKSCluster_basic
=== RUN TestAccEKSCluster_AccessConfig_create
=== PAUSE TestAccEKSCluster_AccessConfig_create
=== CONT TestAccEKSAccessEntry_basic
=== CONT TestAccEKSAccessEntry_username
=== CONT TestAccEKSCluster_basic
--- PASS: TestAccEKSAccessEntry_basic (557.71s)
=== CONT TestAccEKSCluster_AccessConfig_create
--- PASS: TestAccEKSCluster_basic (562.20s)
=== CONT TestAccEKSClusterDataSource_basic
--- PASS: TestAccEKSAccessEntry_username (673.22s)
=== CONT TestAccEKSAccessEntry_tags
--- PASS: TestAccEKSCluster_AccessConfig_create (590.29s)
=== CONT TestAccEKSAccessEntry_type
--- PASS: TestAccEKSClusterDataSource_basic (708.71s)
=== CONT TestAccEKSAccessEntry_Disappears_cluster
=== CONT TestAccEKSAccessEntry_disappears
--- PASS: TestAccEKSAccessEntry_tags (630.85s)
--- PASS: TestAccEKSAccessEntry_type (590.09s)
=== CONT TestAccEKSAccessEntry_eventualConsistency
--- PASS: TestAccEKSAccessEntry_Disappears_cluster (553.25s)
--- PASS: TestAccEKSAccessEntry_disappears (572.01s)
--- PASS: TestAccEKSAccessEntry_eventualConsistency (724.01s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 2466.829s
@sasidhar-aws Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.58.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Setting bootstrap_cluster_creator_admin_permissions on an existing cluster should have no effect. Parameter value was set to false when value is not provided, due to which cluster is forced to recreate when access_config block is provided after cluster creation. This PR updated the value to true, when bootstrap_cluster_creator_admin_permissions parameter is not set initially.
Relations
Closes #35824.
Closes #36259.
Relates #35037.
References
Output from Acceptance Testing