lulo stack properties is a plugin for lulo. Given a CloudFormation StackName or StackID it responds with the Parameters, Outputs and Resources of the Stack.
$ npm install lulo-plugin-stack-properties --save
StackName
: Name or ID of the Stack you want to describe. Required
The resource will return every Parameter, Output and Resource of the stack.
Each return value can be access using the intrinsic function "Fn::GetAtt"
.
{ "Fn::GetAtt: ["ResourceName", "Parameter.{ParameterKey}] }"
Gives PropertyValue
{ "Fn::GetAtt: ["ResourceName", "Output.{OutputKey}] }"
Gives OutputValue
{ "Fn::GetAtt: ["ResourceName", "Resources.{ResourceLogicalId}] }"
Gives ResourcePhysicalId
The Custom Resource Lambda requires the following permissions for this plugin to work:
Sid: 'LuloPluginStackProperties'
Action:
- 'cloudformation:DescribeStacks'
- 'cloudformation:DescribeStackResources'
Effect: 'Allow'
Resource: '*'