Merge pull request #4231 from phy1729/cfn-iam-capabilities
Support CAPABILITY_NAMED_IAM in AWS CloudFormation module
This commit is contained in:
commit
95c67dc72a
1 changed files with 2 additions and 2 deletions
|
@ -319,7 +319,7 @@ def main():
|
|||
stack_policy_body=stack_policy_body,
|
||||
template_url=template_url,
|
||||
disable_rollback=disable_rollback,
|
||||
capabilities=['CAPABILITY_IAM'],
|
||||
capabilities=['CAPABILITY_IAM', 'CAPABILITY_NAMED_IAM'],
|
||||
**kwargs)
|
||||
operation = 'CREATE'
|
||||
except Exception as err:
|
||||
|
@ -342,7 +342,7 @@ def main():
|
|||
stack_policy_body=stack_policy_body,
|
||||
disable_rollback=disable_rollback,
|
||||
template_url=template_url,
|
||||
capabilities=['CAPABILITY_IAM'])
|
||||
capabilities=['CAPABILITY_IAM', 'CAPABILITY_NAMED_IAM'])
|
||||
operation = 'UPDATE'
|
||||
except Exception as err:
|
||||
error_msg = boto_exception(err)
|
||||
|
|
Loading…
Reference in a new issue