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

output cloudformation template to yaml file #2192

Closed
darwaishx opened this issue Apr 5, 2019 · 0 comments · Fixed by #2197 · May be fixed by MechanicalRock/account-reaper#6
Closed

output cloudformation template to yaml file #2192

darwaishx opened this issue Apr 5, 2019 · 0 comments · Fixed by #2197 · May be fixed by MechanicalRock/account-reaper#6

Comments

@darwaishx
Copy link

cdk synth -o generates cloudformation yaml file.

If no destination is provided it create yaml file in root folder on mac.

It should either fail and ask for destination (. or ./filename.yaml etc.) or create it in the current folder instead of creating in the root folder.

rix0rrr added a commit that referenced this issue Apr 8, 2019
Some options require arguments, but without passing `requiresArg: true`
to `yargs` it will happily accept the flag and put `undefined` or an
empty string in the value (instead of rejecting the invocation).

Add `requiresArg` to a number of options that have this property.

Fixes #2192.
rix0rrr added a commit that referenced this issue Apr 8, 2019
Some options require arguments, but without passing `requiresArg: true`
to `yargs` it will happily accept the flag and put `undefined` or an
empty string in the value (instead of rejecting the invocation).

Add `requiresArg` to a number of options that have this property.

Fixes #2192.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant