Skip to content

Commit

Permalink
fix resource policy external name
Browse files Browse the repository at this point in the history
Signed-off-by: Shay Yannay <[email protected]>
  • Loading branch information
ShayYannay committed Jun 8, 2024
1 parent e4d4c51 commit 0b8776b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/externalname.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var TerraformPluginFrameworkExternalNameConfigs = map[string]config.ExternalName
// dynamodb
//
// DynamoDB table resource policy can be important using the DynamoDB resource identifier
"aws_dynamodb_resource_policy": config.IdentifierFromProvider,
"aws_dynamodb_resource_policy": config.TemplatedStringAsIdentifier("name", "arn:aws:dynamodb:{{ .setup.configuration.region }}:{{ .setup.client_metadata.account_id }}:table/{{ .external_name }}"),
}

// TerraformPluginSDKExternalNameConfigs contains all external name configurations
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0b8776b

Please sign in to comment.