realestate-com-au / stackup

a simple CLI and Ruby API for AWS CloudFormation
MIT License
97 stars 34 forks source link

Named IAM role capabilities #28

Closed aidansteele closed 8 years ago

aidansteele commented 8 years ago

lib/stackup/stack.rb#L129 has the line:

options[:capabilities] ||= ["CAPABILITY_IAM"]

There's a new capability named CAPABILITY_NAMED_IAM, but there appears to be no way to use it with stackup. It would be great if this was added to the defaults (as above) or some way to specify capabilities was provided.

mdub commented 8 years ago

To clarify, are you talking about the stackup CLI?

For programmatic usage, you can try specifying a :capabilities option.

But yeah, it does sound worth adding this to the default set of capabilities.

mdub commented 8 years ago

My reading (of the CloudFormation documentation) suggests that CAPABILITY_NAMED_IAM is a superset of CAPABILITY_IAM, and therefore:

options[:capabilities] ||= ["CAPABILITY_NAMED_IAM"]

should suffice. Do you concur, @aidansteele?