Skip to content

Conversation

@andrew-glenn
Copy link
Contributor

Depends on: aws/serverless-application-model#2224

In translated SAM templates, metadata is not currently copied to new resources. In addition, line-numbers are not updated to reflect the new template data. As a result of both concerns, it's impossible to add in-template metadata to exclude rules in cfn-lint.

This PR round-trips the transformed template so that the internal loading mechanism can apply proper line numbers. This PR additionally copies parent-resouce-metadata to child-resources that are created in the transform workflow.

Exposing the parent/child relationship is dependent on the referenced PR being merged.

@andrew-glenn
Copy link
Contributor Author

This has been handled via an upstream merge to the SAM CLI. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant