Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] support adding multiple app names in cdk.json #9346

Open
1 of 2 tasks
alimeerutech opened this issue Jul 30, 2020 · 15 comments
Open
1 of 2 tasks

[cli] support adding multiple app names in cdk.json #9346

alimeerutech opened this issue Jul 30, 2020 · 15 comments
Labels
effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1 package/tools Related to AWS CDK Tools or CLI

Comments

@alimeerutech
Copy link

alimeerutech commented Jul 30, 2020

support adding multiple app names in cdk.json

{
"apps": [
  { 
    "name": "app1",
    "command": "python dir1/app.py"
  },
  {
    "name": "app2",
    "command": "python dir2/app.py"
  }
]
}

Use Case

If you have multiple apps sharing the same cdk.json you either have to pass in the app via cdk --app or copy cdk.json around, it would be much nicer if we could support having a single cdk.json with multiple apps

Proposed Solution

support adding multiple app names in cdk.json

{
"apps": [
  { 
    "name": "app1",
    "command": "python dir1/app.py"
  },
  {
    "name": "app2",
    "command": "python dir2/app.py"
  }
]
}

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@alimeerutech alimeerutech added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jul 30, 2020
@SomayaB SomayaB changed the title cdk.json [cli] support adding multiple app names in cdk.json Jul 30, 2020
@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label Jul 30, 2020
@shivlaks
Copy link
Contributor

@alimeerutech have you tried putting shared configuration in ~/.cdk.json as a user setting, or is the use case that you have a group of apps that require specific shared settings and you'd like to be able to specify it all within app?

We might have a duplicate issue for this, i'll have to look. It was something we said we'd consider for 2.0 IIRC

@alimeerutech
Copy link
Author

alimeerutech commented Jul 30, 2020 via email

@SomayaB SomayaB removed the needs-triage This issue or PR still needs to be triaged. label Jul 31, 2020
@shivlaks shivlaks added the p2 label Aug 6, 2020
@shivlaks shivlaks added the effort/medium Medium work item – several days of effort label Aug 21, 2020
@Cloudrage
Copy link

+1
Or that way : #4543

@hannonq
Copy link

hannonq commented Dec 31, 2020

+1

@NGL321 NGL321 assigned rix0rrr and unassigned shivlaks Jan 25, 2021
@hkhrais
Copy link

hkhrais commented Feb 1, 2021

+1

1 similar comment
@bert-bae
Copy link

bert-bae commented Feb 7, 2021

+1

@rix0rrr rix0rrr removed their assignment Jun 3, 2021
@edgar-slalom
Copy link

+1

1 similar comment
@ns-ajith
Copy link

+1

@rix0rrr rix0rrr added p1 and removed p2 labels Mar 16, 2022
@brianarpie-forme
Copy link

+1

1 similar comment
@cbou
Copy link

cbou commented Dec 19, 2022

+1

@github-actions
Copy link

This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue.

@cpalmer-ostmodern
Copy link

Would it be easier to use a mono repo with a shared cdk folder ?

@MathiasHaudgaard
Copy link

any updates?

@sigpop
Copy link

sigpop commented Feb 9, 2024

This would be useful.

@ribase
Copy link

ribase commented Sep 11, 2024

Anything going on here, this feature still would be nice to have...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1 package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

No branches or pull requests