Skip to content

Commit

Permalink
docs: Add note about aws_ecr_registry_policy resource being singleton (
Browse files Browse the repository at this point in the history
  • Loading branch information
acwwat authored Feb 26, 2024
1 parent 096edaa commit 1517ad7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/r/ecr_registry_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ description: |-

Provides an Elastic Container Registry Policy.

~> **NOTE on ECR Registry Policies:** While the AWS Management Console interface may suggest the ability to define multiple policies by creating multiple statements, ECR registry policies are effectively managed as singular entities at the regional level by the AWS APIs. Therefore, the `aws_ecr_registry_policy` resource should be configured only once per region with all necessary statements defined in the same policy. Attempting to define multiple `aws_ecr_registry_policy` resources may result in perpetual differences, with one policy overriding another.

## Example Usage

```terraform
Expand Down

0 comments on commit 1517ad7

Please sign in to comment.