1 回答
- 最新
- 投票最多
- 评论最多
1
If you are deploying the CFN templates manually, then you can have the parameter as a default value initially and then update it after the second stack is deployed...
Something like this:
Parameters:
BucketARN:
Type: String
Description: The ARN of the S3 bucket
Default: "arn:aws:s3:::example-bucket" # Default or placeholder ARN
Then after second stack is deployed, you can just replace the parameter with !ImportValue
and remove this particular parameter
已回答 3 个月前
Thanks for your suggestion Landerson. The solution i found somewhat similar to your answer. Here https://aws.amazon.com/blogs/infrastructure-and-automation/handling-circular-dependency-errors-in-aws-cloudformation/ under "Complex circular dependency example"