Skip to content

Conversation

@ejholmes
Copy link
Contributor

@ejholmes ejholmes commented Mar 16, 2018

Closes #112

This is something I've wanted for a long time. Stack policies are a great way to add an extra layer of protection around sensitive resources, like databases, VPC subnets, etc.

It's entirely possible to make use of stack policies outside of stacker (we have for some time now), but it ends up being pretty manual. It'd be great to be able to automate it with stacker.

Copy link
Member

@russellballestrini russellballestrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

args["TemplateBody"] = template.body

if stack_policy:
if stack_policy.url:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for future code, or am I misunderstanding? I don't see any mention of stack_policy.url in this PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, can you throw some a debug statement or two in this block? That way we can see if someone is using a stack policy with -v

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, just for the future, in case we ever support uploading to S3 first. I'll add some debug statements to this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you throw a comment in there, just so that if someone sees this they aren't confused in the future?

@ejholmes ejholmes merged commit a76abe6 into master Mar 21, 2018
@ejholmes ejholmes deleted the stack-policies branch March 21, 2018 04:03
phrohdoh pushed a commit to phrohdoh/stacker that referenced this pull request Dec 18, 2018
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

Successfully merging this pull request may close these issues.

3 participants