fix(ecs): removal of `canContainersAccessInstanceRole` instance role
Issue # (if applicable)
N/A
Reason for this change
Follow-up of https://github.com/aws/aws-cdk/pull/32763 where the canContainersAccessInstanceRole was deprecated. Now we need to remove the property completely.
Related discussion: https://github.com/aws/aws-cdk/discussions/32609
Description of changes
Removed the canContainersAccessInstanceRole feature everywhere.
Describe any new or updated permissions being added
Description of how you validated changes
Checklist
- [x] My code adheres to the CONTRIBUTING GUIDE and DESIGN GUIDELINES
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
| Tests | Passed ☑️ | Skipped | Failed ❌️ | |
|---|---|---|---|---|
| Security Guardian Results | 1050 ran | 1043 passed | 7 failed |
| Test | Result |
|---|---|
| Security Guardian Results | |
| packages/@aws-cdk-testing/framework-integ/test/aws-ecs/test/ec2/integ.enable-execute-command.js.snapshot/aws-ecs-integ-enable-execute-command.template.json | |
| s3-encryption-enabled.guard | ❌ failure |
| packages/@aws-cdk-testing/framework-integ/test/aws-ecs/test/ec2/integ.environment-file.js.snapshot/aws-ecs-integ.template.json | |
| s3-encryption-enabled.guard | ❌ failure |
| packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/aws-ecs-integ-ecs.template.json | |
| sqs-encryption-enabled.guard | ❌ failure |
| sqs-no-world-accessible-inline.guard | ❌ failure |
| packages/@aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/ecs/integ.ec2-run-task-ref-definition.js.snapshot/aws-sfn-tasks-ecs-run-task-ref-task-definition.template.json | |
| iam-no-overly-permissive-passrole.guard | ❌ failure |
| packages/@aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/ecs/integ.ec2-run-task.js.snapshot/aws-sfn-tasks-ecs-run-task.template.json | |
| iam-no-overly-permissive-passrole.guard | ❌ failure |
| packages/@aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/ecs/integ.ec2-task.js.snapshot/aws-sfn-tasks-ecs-task.template.json | |
| iam-no-overly-permissive-passrole.guard | ❌ failure |
| Tests | Passed ☑️ | Skipped | Failed ❌️ | |
|---|---|---|---|---|
| Security Guardian Results with resolved templates | 1050 ran | 1046 passed | 4 failed |
| Test | Result |
|---|---|
| Security Guardian Results with resolved templates | |
| packages/@aws-cdk-testing/framework-integ/test/aws-ecs/test/ec2/integ.enable-execute-command.js.snapshot/aws-ecs-integ-enable-execute-command.template.json | |
| s3-encryption-enabled.guard | ❌ failure |
| packages/@aws-cdk-testing/framework-integ/test/aws-ecs/test/ec2/integ.environment-file.js.snapshot/aws-ecs-integ.template.json | |
| s3-encryption-enabled.guard | ❌ failure |
| packages/@aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs/integ.event-ec2-task.js.snapshot/aws-ecs-integ-ecs.template.json | |
| sqs-encryption-enabled.guard | ❌ failure |
| sqs-no-world-accessible-inline.guard | ❌ failure |
:arrow_right: PR build request submitted to test-main-pipeline :arrow_left:
A maintainer must now check the pipeline and add the pr-linter/cli-integ-tested label once the pipeline succeeds.
@mergifyio queue
queue
🛑 There are no queue conditions matching
There are queue conditions defined in the configuration, but none matches. The pull request has not been embarked.
Details:
- Queue
default-merge:
- [ ]
-closed - [ ]
-merged - [ ]
label~=no-squash - [X]
#approved-reviews-by>=1 - [X]
#changes-requested-reviews-by=0 - [X]
-approved-reviews-by~=author - [X]
-label~=(blocked|do-not-merge) - [X]
-title~=(WIP|wip) - [X]
check-success=build - [X]
check-success=validate-pr - [X] any of:
- [X]
-label~=pr/needs-integration-tests-deployment - [ ]
check-success=Deploy integration test snapshots (requirespr/needs-integration-tests-deploymentlabel)
- [X]
- Queue
priority-squash:
- [ ]
-closed - [ ]
-merged - [ ]
label~=priority-pr - [X]
#approved-reviews-by>=1 - [X]
#changes-requested-reviews-by=0 - [X]
-approved-reviews-by~=author - [X]
-label~=(blocked|do-not-merge|no-squash) - [X]
-title~=(WIP|wip) - [X]
base!=release - [X]
check-success=build - [X]
check-success=validate-pr - [X] any of:
- [X]
-label~=pr/needs-integration-tests-deployment - [ ]
check-success=Deploy integration test snapshots (requirespr/needs-integration-tests-deploymentlabel)
- [X]
- Queue
default-squash:
- [ ]
-closed - [ ]
-merged - [X]
#approved-reviews-by>=1 - [X]
#changes-requested-reviews-by=0 - [X]
-approved-reviews-by~=author - [X]
-label~=(blocked|do-not-merge|no-squash|priority-pr) - [X]
-title~=(WIP|wip) - [X]
base!=release - [X]
check-success=build - [X]
check-success=validate-pr - [X] any of:
- [X]
-label~=pr/needs-integration-tests-deployment - [ ]
check-success=Deploy integration test snapshots (requirespr/needs-integration-tests-deploymentlabel)
- [X]
Merge Queue Status
✅ The pull request has been merged at 5820efdf4745af6c3b924c99b3494a0febbb668a
This pull request spent 17 seconds in the queue, with no time running CI. The checks were run in-place.
Required conditions to merge
#approved-reviews-by >= 1[🛡 GitHub branch protection]- [X] #36362
#changes-requested-reviews-by = 0[🛡 GitHub branch protection]- [X] #36362
- [X] any of [🛡 GitHub branch protection]:
- [X]
check-success = validate-pr - [ ]
check-neutral = validate-pr - [ ]
check-skipped = validate-pr
- [X]
- [X] any of [🛡 GitHub branch protection]:
- [X]
check-success = build - [ ]
check-neutral = build - [ ]
check-skipped = build
- [X]
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
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.