Closed jpb closed 5 years ago
I think this could be generalized to a command that will render any import directly: iidy render-import cfn:export:exportName
or iidy render-import cfn:output:lp-webapp-integration-331
or iidy render-import cfn:output:lp-webapp-integration-331/WebElasticLoadBalancer
.
@jpb If you like that approach, I can implement it.
I think that is a good solution 👍 (perhaps get-import
or something of the like – "render" makes me think I could put handlebars in there).
Yeah, that's a better name. I think it should support the same --query
and --format
options as render
.
Add
iidy export get <export name>
(similar toiidy param get
) for fetching CloudFormation export values. This can be done via the AWS CLI, but requires complex jmespath or jq to get export values.Perhaps
iidy output get <stack name> [<output name>]
would be useful as well?