consoleme
consoleme copied to clipboard
There is already a Construct with name 'ConsoleMeSpoke' in App
Describe the bug Hi, Iam trying to deploy ConsoleMe with CDK, but when there are two spoke Accounts, cdk fails with error: 'There is already a Construct with name 'ConsoleMeSpoke' in App'
The main issue here is, that the ConsolemeSpokeAccountsStack Construct use the constant SPOKE_BASE_NAME, which is always 'ConsoleMeSpoke'. This should be something like SPOKE_BASE_NAME + Account Id.
To Reproduce Deploy with two spoke Accounts.
Expected behavior Working Deployment
Is there something that i have missed?
Hello! The CDK deployment strategy is deployed by the community. Looping in @avishayil, who may have some ideas here.
Hi @Rayv1 good point, the solution shouldn't be difficult like you mentioned. Care to PR or I'll do it?
@avishayil could you please do it? thanks!