Skip to content

chore(deps): update terraform cloudposse/codeartifact/aws to v0.1.1 - #7

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cloudposse-codeartifact-aws-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cloudposse-codeartifact-aws-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 26, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
cloudposse/codeartifact/aws (source) module patch 0.1.0 → 0.1.1

Release Notes

cloudposse/terraform-aws-codeartifact (cloudposse/codeartifact/aws)

v0.1.1

Compare Source

🐛 Bug Fixes

fix: grant package-level actions on the package ARN in repository policies @​ivan-pinatti (#​6)

what

  • Add the repository's package ARN wildcard (arn:...:package/<domain>/<repository>/*) to the resources of the four generated repository policy statements (PrincipalsReadOnly, PrincipalsPublish, OrganizationsReadOnly, OrganizationsPublish), next to the repository ARN.
  • No input or output changes.

why

  • CodeArtifact authorizes package-level actions (DescribePackage, DescribePackageVersion, ListPackageVersions, ListPackageVersionAssets, ListPackageVersionDependencies, GetPackageVersionReadme, PublishPackageVersion, PutPackageMetadata) against the package ARN. Granting them on the repository ARN only has no effect.
  • Repository-level actions such as ReadFromRepository still worked, so cross-account reads looked fine. A principal in principals_publish_access from another account was still denied on publish, and readers could not list or describe package versions. I first hit this as a cross-account ListPackageVersions denial against a repository built with this module.
  • The wildcard is scoped to a single repository, so the grant does not reach beyond what the inputs already intended.

behaviour change

  • Existing repository policies gain the package ARN in each generated statement. Principals already listed in the inputs now actually receive the package-level actions the module meant to grant them. Nothing is granted to anyone new.

testing

  • terraform fmt, terraform validate and tflint are clean.
  • I checked the rendered policy with a plan-only terraform test and a mocked repository ARN: before the change every statement covered only the repository ARN, after it each covers the repository ARN and its package wildcard, and nothing else.

references


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 656a5496-bb23-4cb9-82a9-573dc72109cc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@mergify mergify Bot added auto-update This PR was automatically generated needs-test Needs testing labels Nov 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-update This PR was automatically generated needs-test Needs testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant