Skip to content

"template-deps-to-dot" doesn't recognize "Fn::Sub" tags #6956

@miparnisari

Description

@miparnisari

if keys == ['Ref']:
return (obj[keys[0]], 'Ref')
if keys == ['Fn::GetAtt']:
return (obj[keys[0]][0], obj[keys[0]][1])

The code should also take into account Fn::Sub tags.

BTW: In cfn-lint we're working towards exposing a --build-graph option that would create a DOT file like this script is doing :)

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.package/toolsRelated to AWS CDK Tools or CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions