Replies: 2 comments
-
We don't give specific guidance on this topic, usually and encourage you to consider how your language (and organization) generally break up the boundaries of your application. So long as you recognize that
using whatever methods of resource sharing you wish is perfectly acceptable, so long as your application eventually calls A common way to do this is to have a stack for each portion of your application (i.e. one that holds the shared resources and exposes them for the others) and use the root application to share these with other stacks, parameterizing them into the constructor for a stack. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to figure out the most elegant way to deal with the following situation:
How can a CDK script of each service reference the same VPC and ECS cluster? Solutions that come to mind are based on quite a bit of manual work should one want to deploy the system from scratch. E.g. having a VPC stack and ECS stack in a 'common' git repo, deploy manually, copy & paste resulting VPN & ECS cluster ids to both dependent projects and deploy those. Any better?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions