Skip to content

Commit c41bcfa

Browse files
committed
feat: enable Amazon Bedrock AgentCore services
Add bedrock-agent, bedrock-agent-runtime, and bedrock-agentcore to SCP allowlist to enable sandbox users to deploy and manage Bedrock agents. Upgrade aws-nuke from v3.60.1 to v3.62.0 which adds support for cleaning up bedrock-agentcore resources during sandbox cleanup.
1 parent 485412b commit c41bcfa

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

source/infrastructure/lib/components/account-cleaner/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:2023-minimal@sha256:181f434838407aab
22

33
RUN dnf install -y tar gzip awscli jq sed
44

5-
ADD https://github.com/ekristen/aws-nuke/releases/download/v3.60.1/aws-nuke-v3.60.1-linux-amd64.tar.gz nuke-binary.tar.gz
5+
ADD https://github.com/ekristen/aws-nuke/releases/download/v3.62.0/aws-nuke-v3.62.0-linux-amd64.tar.gz nuke-binary.tar.gz
66

77
RUN mkdir /tmp/aws-nuke && \
88
tar -xzvf nuke-binary.tar.gz -C /tmp/aws-nuke && \

source/infrastructure/lib/components/config/nuke-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ resource-types:
4444
- S3Object # Let the S3Bucket delete all Objects instead of individual objects (optimization)
4545
- ConfigServiceConfigurationRecorder
4646
- ConfigServiceDeliveryChannel
47+
- BedrockAgentCoreWorkloadIdentity # Cannot be deleted directly - deleted when parent AgentRuntime is deleted
4748
blocklist:
4849
- "%HUB_ACCOUNT_ID%" # placeholder HUB_ACCOUNT_ID will be dynamically replaced during CodeBuild execution
4950
accounts:

source/infrastructure/lib/components/service-control-policies/isb-aws-nuke-supported-services-scp.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"backup:*",
2424
"batch:*",
2525
"bedrock:*",
26+
"bedrock-agent:*",
27+
"bedrock-agent-runtime:*",
28+
"bedrock-agentcore:*",
2629
"budgets:*",
2730
"cloud9:*",
2831
"clouddirectory:*",

0 commit comments

Comments
 (0)