-
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
EKS access entry and policy association changes #35037
EKS access entry and policy association changes #35037
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Some minor grammatical suggestions for the docs
26ddfb5
to
79df630
Compare
% make testacc TESTARGS='-run=TestAccEKSCluster_AccessConfig\|TestAccEKSCluster_basic\|TestAccEKSClusterDataSource_basic' PKG=eks ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/eks/... -v -count 1 -parallel 2 -run=TestAccEKSCluster_AccessConfig\|TestAccEKSCluster_basic\|TestAccEKSClusterDataSource_basic -timeout 360m === RUN TestAccEKSClusterDataSource_basic === PAUSE TestAccEKSClusterDataSource_basic === RUN TestAccEKSCluster_basic === PAUSE TestAccEKSCluster_basic === RUN TestAccEKSCluster_AccessConfig_create === PAUSE TestAccEKSCluster_AccessConfig_create === RUN TestAccEKSCluster_AccessConfig_update === PAUSE TestAccEKSCluster_AccessConfig_update === CONT TestAccEKSClusterDataSource_basic === CONT TestAccEKSCluster_AccessConfig_create --- PASS: TestAccEKSClusterDataSource_basic (647.09s) === CONT TestAccEKSCluster_AccessConfig_update --- PASS: TestAccEKSCluster_AccessConfig_create (670.26s) === CONT TestAccEKSCluster_basic --- PASS: TestAccEKSCluster_basic (619.94s) --- PASS: TestAccEKSCluster_AccessConfig_update (1495.46s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 1916.223s
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\|TestAccEKSCluster_basic\|TestAccEKSClusterDataSource_basic' PKG=eks ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/eks/... -v -count 1 -parallel 2 -run=TestAccEKSCluster_AccessConfig\|TestAccEKSCluster_basic\|TestAccEKSClusterDataSource_basic -timeout 360m
=== RUN TestAccEKSClusterDataSource_basic
=== PAUSE TestAccEKSClusterDataSource_basic
=== RUN TestAccEKSCluster_basic
=== PAUSE TestAccEKSCluster_basic
=== RUN TestAccEKSCluster_AccessConfig_create
=== PAUSE TestAccEKSCluster_AccessConfig_create
=== RUN TestAccEKSCluster_AccessConfig_update
=== PAUSE TestAccEKSCluster_AccessConfig_update
=== CONT TestAccEKSClusterDataSource_basic
=== CONT TestAccEKSCluster_AccessConfig_create
--- PASS: TestAccEKSClusterDataSource_basic (647.09s)
=== CONT TestAccEKSCluster_AccessConfig_update
--- PASS: TestAccEKSCluster_AccessConfig_create (670.26s)
=== CONT TestAccEKSCluster_basic
--- PASS: TestAccEKSCluster_basic (619.94s)
--- PASS: TestAccEKSCluster_AccessConfig_update (1495.46s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 1916.223s
% make testacc TESTARGS='-run=TestAccEKSAccessEntryDataSource_\|TestAccEKSAccessEntry_' PKG=eks ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/eks/... -v -count 1 -parallel 2 -run=TestAccEKSAccessEntryDataSource_\|TestAccEKSAccessEntry_ -timeout 360m
=== RUN TestAccEKSAccessEntryDataSource_basic
=== PAUSE TestAccEKSAccessEntryDataSource_basic
=== RUN TestAccEKSAccessEntry_basic
=== PAUSE TestAccEKSAccessEntry_basic
=== RUN TestAccEKSAccessEntry_disappears
=== PAUSE TestAccEKSAccessEntry_disappears
=== RUN TestAccEKSAccessEntry_tags
=== PAUSE TestAccEKSAccessEntry_tags
=== CONT TestAccEKSAccessEntryDataSource_basic
=== CONT TestAccEKSAccessEntry_disappears
--- PASS: TestAccEKSAccessEntry_disappears (550.28s)
=== CONT TestAccEKSAccessEntry_tags
--- PASS: TestAccEKSAccessEntryDataSource_basic (578.12s)
=== CONT TestAccEKSAccessEntry_basic
--- PASS: TestAccEKSAccessEntry_basic (615.79s)
--- PASS: TestAccEKSAccessEntry_tags (618.88s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 1221.682s
% make testacc TESTARGS='-run=TestAccEKSAccessEntry_Disappears_cluster\|TestAccEKSAccessPolicyAssociation_' PKG=eks ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/eks/... -v -count 1 -parallel 2 -run=TestAccEKSAccessEntry_Disappears_cluster\|TestAccEKSAccessPolicyAssociation_ -timeout 360m
=== RUN TestAccEKSAccessEntry_Disappears_cluster
=== PAUSE TestAccEKSAccessEntry_Disappears_cluster
=== RUN TestAccEKSAccessPolicyAssociation_basic
=== PAUSE TestAccEKSAccessPolicyAssociation_basic
=== RUN TestAccEKSAccessPolicyAssociation_disappears
=== PAUSE TestAccEKSAccessPolicyAssociation_disappears
=== RUN TestAccEKSAccessPolicyAssociation_Disappears_cluster
=== PAUSE TestAccEKSAccessPolicyAssociation_Disappears_cluster
=== CONT TestAccEKSAccessEntry_Disappears_cluster
=== CONT TestAccEKSAccessPolicyAssociation_disappears
--- PASS: TestAccEKSAccessPolicyAssociation_disappears (614.63s)
=== CONT TestAccEKSAccessPolicyAssociation_Disappears_cluster
--- PASS: TestAccEKSAccessEntry_Disappears_cluster (649.69s)
=== CONT TestAccEKSAccessPolicyAssociation_basic
--- PASS: TestAccEKSAccessPolicyAssociation_Disappears_cluster (560.58s)
--- PASS: TestAccEKSAccessPolicyAssociation_basic (571.48s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 1230.880s
@sasidhar-aws Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.33.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! |
@ewbankkit why |
Agreed - I'd like to use this to configure access entries for Karpenter nodes, which aren't covered by the autoconfiguration for managed node groups. |
it's missing |
@panekj added |
--- | ||
subcategory: "EKS (Elastic Kubernetes)" | ||
layout: "aws" | ||
page_title: "AWS: aws_eks_access_policy_associattion" |
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.
Typo
page_title: "AWS: aws_eks_access_policy_associattion" | |
page_title: "AWS: aws_eks_access_policy_association" |
May I ask why |
because that's how AWS API defines it: https://docs.aws.amazon.com/eks/latest/APIReference/API_AccessScope.html |
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
Work in progress to implement access_entry and access_policy_association resources
Relations
Closes #34982
References
Output from Acceptance Testing