1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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
respondido há 3 meses
Conteúdo relevante
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 meses
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"