We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd9ec2 commit 5beb8c7Copy full SHA for 5beb8c7
samples/bedrock-guardrails/main.tf
@@ -38,19 +38,3 @@ module "bedrock_withguardrail" {
38
blocked_input_messaging = var.blocked_input_messaging
39
blocked_outputs_messaging = var.blocked_outputs_messaging
40
}
41
-
42
-resource "aws_iam_role_policy" "guardrail_policy" {
43
- policy = jsonencode({
44
- Version = "2012-10-17"
45
- Statement = [
46
- {
47
- Effect = "Allow"
48
- Action = [
49
- "bedrock:ApplyGuardrail",
50
- ]
51
- Resource = module.bedrock_withguardrail.bedrock_agent[0].guardrail_configuration.guardrail_identifier
52
- }
53
54
- })
55
- role = split("/", provider::aws::arn_parse(module.bedrock_withguardrail.bedrock_agent[0].agent_resource_role_arn).resource)[1]
56
-}
0 commit comments