Currently CrossAccountPermission permission also being added to the ECR policy when principle_lambda variable is added. which will allow members form other account to use image apart from lambda also. and it is also working without adding that CrossAccountPermission as well
Expected Behavior
should not allow permission other then lambda functions
Write only permission feature should be there which will allow user to write image only to the ecr repo. not other features.
Found a bug? Maybe our Slack Community can help.
Describe the Bug
Currently
CrossAccountPermission
permission also being added to the ECR policy whenprinciple_lambda
variable is added. which will allow members form other account to use image apart from lambda also. and it is also working without adding thatCrossAccountPermission
as wellExpected Behavior