aws-samples / aws-shield-advanced-one-click-deployment

MIT No Attribution
11 stars 3 forks source link

Stack create failed S3IAMDelivereRoleStackSet #14

Closed berry2012 closed 3 months ago

berry2012 commented 3 months ago

ValidationError Template format error: Unresolved resource dependencies [S3IAMDelivereRoleStackSet] in the Resources block of the template

olsonian commented 3 months ago

hi @berry2012. Can you confirm the 4 AcknowledgeServiceTerms and AcknowledgeServiceNoUnsubscribe parameters are all set to True when you deployed? S3IAMDelivereRoleStackSet has a condition that all 5 of these are true and doesn't create and causes this type of failure (intentionally) as CFN doesn't have a pre-deploy validation way to stop you from creating the stack if you don't.

If they are all actually true, can you share/email (olsonian@amazon.com) me the results of so I can duplicate/investigate more.

aws cloudformation describe-stacks --stack-name aws-shield-advanced-one-click-deploy --query "Stacks[0].Parameters"

Thanks!

berry2012 commented 3 months ago

Thank olsonian. All the Acknowledge** parameters were set to True. I opted for using OUs instead of listing account IDs. I was able to deploy the stack