- Using OpenTofu, create resources in two different accounts:
tofu apply -var ecr_account_role_arn=arn:aws:iam::ecr_account:role/OrganizationAccountAccessRole -var pulling_account_role_arn=arn:aws:iam::pulling_account:role/OrganizationAccountAccessRole- (you may use
terraformif you'd prefer the non-open-source HashiCorp Terraform product)
- See blog post on our web site for instructions on adding repository creation template.
platformersdev/ecr-cross-account-pull-through-cache-example
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|