Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Variable repository_lambda_read_access added #21

Closed
wants to merge 1 commit into from

Conversation

akoshel
Copy link

@akoshel akoshel commented Dec 28, 2023

Description

ECR lambda access policy for private repositories.

Motivation and Context

The current implementation of repository_lambda_read_access_arns necessitates a list of Lambda service role ARNs, but this requirement is not essential.
https://github.com/terraform-aws-modules/terraform-aws-ecr/blob/master/main.tf#L67C52-L67C102
https://docs.aws.amazon.com/lambda/latest/dg/images-create.html

Changes

Added new variable bool repository_lambda_read_access to set lambda access ecr policy
repository_lambda_read_access_arns will work as before, description updated as deprecated variable

@akoshel akoshel changed the title feat: repository_lambda_read_access added ECR lambda access policy for private repositories. Dec 28, 2023
@akoshel akoshel changed the title ECR lambda access policy for private repositories. feat: repository_lambda_read_access added Dec 28, 2023
@akoshel akoshel changed the title feat: repository_lambda_read_access added feat: Variable repository_lambda_read_access added Dec 28, 2023
@bryantbiggs
Copy link
Member

it is correct as written - this is intended to support cross account permissions as well

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants