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

DSL for Policies #64

Open
MichaelXavier opened this issue Dec 9, 2017 · 1 comment
Open

DSL for Policies #64

MichaelXavier opened this issue Dec 9, 2017 · 1 comment

Comments

@MichaelXavier
Copy link
Contributor

I was wondering if it would make sense for stratosphere to have another DSL for generating stack policies. It seems like a simpler and more stable API than templates and they are uploaded together.

@jdreaver
Copy link
Contributor

jdreaver commented Dec 9, 2017

Hmm, stack policies seem very similar to IAM policies. I wonder if it would make sense to make an entirely separate package from stratosphere to generate IAM policies in general, and then CloudFormation stack policies can be a specific instance of that.

I'm thinking this should be a separate package from stratosphere, but it would be a very welcome addition to the current suite of Haskell AWS tooling. I am personally fine with just writing policies in JSON via aeson-qq, but my policies are all pretty simple. I'll keep this issue open in case either myself or someone else has complex enough policies that typing them in Haskell would be worth the investment into making a new package.

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

No branches or pull requests

2 participants