1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
That's a big topic with a lot of options.
- Exporting and Importing values is one way to share values between stacks. The benefits and weaknesses of this process is that you can't change any values that are exported if another stack is importing them. This helps prevents changing those resources (example: maybe a RDS endpoint string) with instances running in it. The downside is that if you want to change something upstream you can't do it without breaking those dependencies first.
- If you are going to break apart the stacks you can do nested stacks. This allows you to change those dependencies into parameters and outputs and pass the values between the stacks.
- Another way to do this is to share values via SSM Parameter store. This approach is more technically complex because you are having to deal with the downstream impact yourself.
Based on what I'm seeing i would recommend using nested stacks and prefer splitting application layers across stacks.
répondu il y a 4 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 14 jours
- demandé il y a 5 mois
- AWS OFFICIELA mis à jour il y a 2 ans