stack#
Exec module for managing Amazon Cloudformation Stacks.
- async idem_aws.exec.aws.cloudformation.stack.get(hub, ctx, name: str, resource_id: str)[source]#
Get a Cloudformation Stack from AWS.
- Parameters:
Examples
Calling this exec module function from the cli with resource_id
idem exec aws.cloudformation.stack.get name="name" resource_id="unmanaged_stack"
Calling this exec module function from within a state module in pure python
my_unmanaged_stack: exec.run: - path: aws.cloudformation.stack.get - kwargs: name: test-stack-name resource_id: ax0li