Skip to content

Commit 045b803

Browse files
authored
Merge pull request #44270 from hashicorp/td-sweep-bedrock-agent-iam-roles
sweeper: `aws_iam_role`
2 parents d19a8f6 + 83cc9e3 commit 045b803

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/service/iam/sweep.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func RegisterSweepers() {
5959
Dependencies: []string{
6060
"aws_auditmanager_assessment",
6161
"aws_batch_compute_environment",
62+
"aws_bedrockagent_agent",
6263
"aws_cloudformation_stack_set_instance",
6364
"aws_cognito_user_pool",
6465
"aws_config_configuration_aggregator",
@@ -661,6 +662,7 @@ func roleNameFilter(name string) bool {
661662
// exhaustive list.
662663
prefixes := []string{
663664
"another_rds",
665+
"AmazonBedrockExecutionRoleForAgents", // Required role name prefix
664666
"AmazonComprehendServiceRole-",
665667
"aws_batch_service_role",
666668
"aws_elastictranscoder_pipeline_tf_test",

0 commit comments

Comments
 (0)