Skip to content

fix(eks-v2-alpha): ensure kubectl provider access entry is depended upon by downstream resources#34898

Closed
msessa wants to merge 2 commits intoaws:mainfrom
msessa:fix/eks-v2-kubectl-access-entry
Closed

fix(eks-v2-alpha): ensure kubectl provider access entry is depended upon by downstream resources#34898
msessa wants to merge 2 commits intoaws:mainfrom
msessa:fix/eks-v2-kubectl-access-entry

Conversation

@msessa
Copy link
Contributor

@msessa msessa commented Jul 3, 2025

Issue # (if applicable)

Closes #34897

Reason for this change

The AccessEntry for kubectl provider should be included as a dependency of the kubectl ready barrier.

Description of changes

Add the kubectl AccessEntry to the explicit dependencies for the ready barrier resource

Description of how you validated changes

  • Updated unit test

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added bug This issue is a bug. p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Jul 3, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team July 3, 2025 03:24
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@msessa
Copy link
Contributor Author

msessa commented Jul 3, 2025

Exemption Request: no functional change. simple dependency ordering can be tested via unit tests

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Jul 3, 2025
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 04acf12
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@Abogical Abogical self-assigned this Jan 13, 2026
@Abogical Abogical added the pr-linter/exempt-integ-test The PR linter will not require integ test changes label Jan 13, 2026
@Abogical
Copy link
Member

Abogical commented Jan 13, 2026

Integ tests currently don't support testing deletions. Will exempt this from integ tests.

@aws-cdk-automation aws-cdk-automation dismissed their stale review January 13, 2026 17:07

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

Copy link
Member

@Abogical Abogical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reproduced the issue and confirmed that this patch fixes the issue. Nice job!

Snapshots however needs to be updated as it currently conflicts with the main branch.

mergify bot pushed a commit that referenced this pull request Jan 20, 2026
…pon by downstream resources (#36734)

_Note: Copied from #34898 with updated snapshots, credit to @msessa._ 

Closes #34897

### Reason for this change

The `AccessEntry` for kubectl provider should be included as a dependency of the kubectl ready barrier.

### Description of changes

Add the kubectl `AccessEntry` to the explicit dependencies for the ready barrier resource

### Description of how you validated changes

- Updated unit test
- Updated integration tests.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@Abogical
Copy link
Member

Closing in favor of #36734. This is the same patch but with updated snapshots.

@Abogical Abogical closed this Jan 21, 2026
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK bug This issue is a bug. p2 pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-eks-v2-alpha): kubectl-based resources may not be successfully created/deleted

3 participants