-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #12 - Added support for AWS's new Capabilities parameter.…
… Added FAQ to document some unexpected consequences of this AWS API change.
- Loading branch information
1 parent
869b02e
commit cae1609
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## FAQ | ||
### Why do I get an "Requires capabilities : [CAPABILITY_IAM]" error when creating a stack? | ||
On 11/8/2013, Amazon updated the CreateStack operation to take an optional `Capabilities` parameter which should be set to `CAPABILITY_IAM` if the given template creates any IAM resources. However, it appears that even when a template does not contain any IAM resources that it is sometimes necessary to set the `Capabilities` parameter to `CAPABILITY_IAM` anyways. To do so, add the following configuration for the plugin to the POM.xml: | ||
|
||
``` | ||
<capabilities> | ||
<capability>CAPABILITY_IAM</capability> | ||
</capabilities> | ||
``` | ||
|
||
This should work even if the AWS account used by the plugin does not have any IAM permissions, so long as the template does not actually specify any IAM resources. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters