Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using path and resource names for directives #3035

Merged
merged 1 commit into from Jan 24, 2024

Conversation

kddejong
Copy link
Contributor

Issue #, if available:
#3028
Description of changes:

  • Switch to using path and resource names for directives

During SAM translation line numbers can be confused. This method relies on the path of a Match and using directives to look at the resource names to determine if a directive should be applied. This should remove the need to have to worry about line numbers and path should be a more reliable source since that is determined by the metadata which as part of recent charges is transferred to all the applicable resources.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kddejong kddejong force-pushed the fix/issue/3028-1 branch 3 times, most recently from 1ef7b56 to 151c221 Compare January 24, 2024 17:10
@kddejong kddejong merged commit fea7b4c into aws-cloudformation:main Jan 24, 2024
20 of 21 checks passed
@kddejong kddejong deleted the fix/issue/3028-1 branch January 24, 2024 17:33
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.

None yet

1 participant