--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_ecr_registry_policy Resource - terraform-provider-awscc" subcategory: "" description: |- The AWS::ECR::RegistryPolicy is used to specify permissions for another AWS account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html --- # awscc_ecr_registry_policy (Resource) The AWS::ECR::RegistryPolicy is used to specify permissions for another AWS account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html ## Schema ### Required - `policy_text` (Map of String) The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions (https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the Amazon Elastic Container Registry User Guide. ### Read-Only - `id` (String) Uniquely identifies the resource. - `registry_id` (String) The registry id. ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_ecr_registry_policy.example ```