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

Provide way to create Cloudformation template #38

Open
Deraen opened this issue Mar 14, 2018 · 1 comment
Open

Provide way to create Cloudformation template #38

Deraen opened this issue Mar 14, 2018 · 1 comment

Comments

@Deraen
Copy link

Deraen commented Mar 14, 2018

I'm not going to let any program access AWS with keys that can do lots of things. Maybe there is a way to create proper IAM role with only necessary policies to allow stack creation, but I don't know how that would work.

But good way allow stack creation manually would be to add option (or modify --dry-run) to print the CloudFormation JSON or Yaml template. User can then check the template is fine and create the stack from AWS Console.

Instead of pprint here, https://github.com/confetti-clj/confetti/blob/master/src/confetti/boot_confetti.clj#L193 this could call cheshire/generate-string or similar (with key-fn that converts snake-case to CamelCase). Amazonica probably already has a function to translate clj data to JSON.

@martinklepsch
Copy link
Member

PR to print JSON on --dry-run would be welcome.

Also yeah, a policy that allows exactly whats needed would be nice but I haven't really looked into that yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants