File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
internal/service/organizations Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -933,23 +933,23 @@ resource "aws_bedrock_guardrail_version" "test" {
933933resource "aws_organizations_policy" "test" {
934934 # Reference: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_bedrock_syntax.html
935935 content = jsonencode({
936- "bedrock": {
937- "guardrail_inference": {
938- "${data.aws_region.current.region}": {
939- "config_1": {
940- "identifier": {
941- "@@assign": "${aws_bedrock_guardrail.test.guardrail_arn}:${aws_bedrock_guardrail_version.test.version}"
942- },
943- "input_tags": {
944- "@@assign": "honor"
945- }
946- }
936+ "bedrock" : {
937+ "guardrail_inference" : {
938+ (data.aws_region.current.region) : {
939+ "config_1" : {
940+ "identifier" : {
941+ "@@assign" : "${aws_bedrock_guardrail.test.guardrail_arn}:${aws_bedrock_guardrail_version.test.version}"
942+ },
943+ "input_tags" : {
944+ "@@assign" : "honor"
947945 }
946+ }
948947 }
948+ }
949949 }
950- })
951- name = %[1]q
952- type = "BEDROCK_POLICY"
950+ })
951+ name = %[1]q
952+ type = "BEDROCK_POLICY"
953953}
954954` , rName )
955955}
You can’t perform that action at this time.
0 commit comments