Skip to content

fix(ecr): add cross-account pull and repository policy support#384

Merged
sebastiancorrea81 merged 2 commits into
mainfrom
fix/ecr-cross-account-pull-config
Jun 9, 2026
Merged

fix(ecr): add cross-account pull and repository policy support#384
sebastiancorrea81 merged 2 commits into
mainfrom
fix/ecr-cross-account-pull-config

Conversation

@sebastiancorrea81

Copy link
Copy Markdown
Collaborator
  • infrastructure/aws/iam/ecr: add ecr_repository_policy output that generates the ECR repo policy JSON from pull_account_ids when enable_cross_account_pull is true

  • nullplatform/asset/ecr: add cross_account_pull_role_arn variable that populates the read.role_arn field in the provider config, enabling np_aws_ecr_assume_role on deployments

  • nullplatform/asset/ecr: add repository_policy variable that populates setup.policy, applied by Nullplatform on every new ECR repo created

  • nullplatform/asset/ecr: add naming_rule variable with Nullplatform default to avoid perpetual drift caused by the server-side injected field

- infrastructure/aws/iam/ecr: add ecr_repository_policy output that
  generates the ECR repo policy JSON from pull_account_ids when
  enable_cross_account_pull is true

- nullplatform/asset/ecr: add cross_account_pull_role_arn variable that
  populates the read.role_arn field in the provider config, enabling
  np_aws_ecr_assume_role on deployments

- nullplatform/asset/ecr: add repository_policy variable that populates
  setup.policy, applied by Nullplatform on every new ECR repo created

- nullplatform/asset/ecr: add naming_rule variable with Nullplatform
  default to avoid perpetual drift caused by the server-side injected field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sebastiancorrea81 sebastiancorrea81 merged commit cf6431f into main Jun 9, 2026
44 checks passed
@sebastiancorrea81 sebastiancorrea81 deleted the fix/ecr-cross-account-pull-config branch June 9, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants