Describe the bug
Resource handler returned message: "User: arn:aws:sts::XXX:assumed-role/sdlf-cicd-team-engineering/AWSCloudFormation is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ap-southeast-1:336392948345:layer:AWSSDKPandas-Python311:8 because no identity-based policy allows the lambda:GetLayerVersion action.
To Reproduce
Steps to reproduce the behavior:
Under sdlf-stageA, edit template.yaml
Under Layers, add the arn of the AWS SDK for pandas layer version: arn:aws:lambda:ap-southeast-1:336392948345:layer:AWSSDKPandas-Python311:8
Trigger the sdlf-cicd-teams-datalake-dev-engineering-rTeamCodePipeline
Expected behavior
Nested CF stack that is updating resources for the stage fails:
Resource handler returned message: "User: arn:aws:sts::XXX:assumed-role/sdlf-cicd-team-engineering/AWSCloudFormation is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ap-southeast-1:336392948345:layer:AWSSDKPandas-Python311:8 because no identity-based policy allows the lambda:GetLayerVersion action.
Describe the bug Resource handler returned message: "User: arn:aws:sts::XXX:assumed-role/sdlf-cicd-team-engineering/AWSCloudFormation is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ap-southeast-1:336392948345:layer:AWSSDKPandas-Python311:8 because no identity-based policy allows the lambda:GetLayerVersion action.
To Reproduce Steps to reproduce the behavior:
Expected behavior Nested CF stack that is updating resources for the stage fails: Resource handler returned message: "User: arn:aws:sts::XXX:assumed-role/sdlf-cicd-team-engineering/AWSCloudFormation is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:ap-southeast-1:336392948345:layer:AWSSDKPandas-Python311:8 because no identity-based policy allows the lambda:GetLayerVersion action.
SDLF release (if known): v2.1.1