Closed mr-scripting closed 10 months ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
not solved
I was able to reproduce the issue. If repository_read_access_arns
or repository_read_write_access_arns
contains a seemingly valid, but non-existing ARN, then the AWS API call results in:
{"__type":"InvalidParameterException","message":"Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'"}
I don't think this is a bug with the terrafowm-aws-ecr
module, and honestly, I'm not sure how it could be fixed.
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration (see the
examples/*
directory for references that you can copy+paste and tailor to match your configs if you are unable to copy your exact configuration). The reproduction MUST be executable by runningterraform init && terraform apply
without any further changes.If your request is for a new feature, please use the
Feature request
template.Versions
Module version [Required]: 1.6.0
Terraform version: 1.5.5
Provider version(s): 5.12.0
Expected behavior
Resource should be unchanged after creation.
I have replaced the module with the code bellow just to be able to bypass the issues I'm having: