aws-service-catalog-reference-architectures icon indicating copy to clipboard operation
aws-service-catalog-reference-architectures copied to clipboard

missing file iam/sc-demosetup-iam.json

Open 1robroos opened this issue 2 years ago • 0 comments

Hello, I ran into an issue. I saw in the pipeline this:

[Container] 2022/04/09 10:03:43 Running command aws cloudformation update-stack-set --stack-set-name SC-IAC-automated-IAMroles --parameters "[{\"ParameterKey\":\"RepoRootURL\",\"ParameterValue\":\"https://$DEPLOY_BUCKET.s3.amazonaws.com/\"}]" --template-url "[https://$DEPLOY_BUCKET.s3.amazonaws.com/iam/sc-demosetup-iam.json](https://%24deploy_bucket.s3.amazonaws.com/iam/sc-demosetup-iam.json)" --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND

I got this error:

An error occurred (ValidationError) when calling the UpdateStackSet operation: S3 error: Access Denied

After looking around , I discovered I was missing the file sc-demosetup-iam.json

So I found that file in one of the other branches ( sc-transform )and I also copied file iam/sc-enduser-iam.yml into my clone, because I believe that one is also needed.

After that, the pipeline ran without issues.

Maybe you can look into this, I expect I will not be the only one running into this.

1robroos avatar Apr 10 '22 20:04 1robroos