Feature: Warning on substitions without !Sub
See original GitHub issuecfn-lint version: 0.3.2
It’s pretty annoying if you add a substition and forget the !Sub
:
- Effect: "Allow"
Action:
- "s3:ReplicateObject"
- "s3:ReplicateDelete"
Resource:
- "arn:aws:s3:::mycompany-${Environment}-mybucketname/*"
I’m not 100% sure if a ${value}
always must be a substitution, since Cfn accepts this as valid string. But this could be a valid rule to give you a warning about this. Either you’re missing the !Sub
or you picked a real annoying string to be used…
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Using myst_parser's new "substitutions" feature #1157 - GitHub
Describe the bug I'm trying to get the new "substitution" directive from myst_parser v0.13 and running into some trouble translating the ...
Read more >Partial subs and test spies - NSubstitute
WARNING: Partial substitutes will be calling your class' real code by default, so if you are not careful it is possible for this...
Read more >Solved: Warning, error, frame substitution??? - 10425018
I've the computer asleep in between editing. And this project has two 4K and 1 360 video track (just showing it flat though...
Read more >Is there a way to check if a SUBSTITUTION was performed in ...
What I would like to happen is that if there was no SUBSTITUION performed, place a warning in the new cell that SUSBSTITUTION...
Read more >FAQ's for Substitutes Q: Why am I not seeing any jobs online ...
A: With the “Preferred Substitutes” feature, a teacher will be able to choose a list of subs who are allowed to see absences...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This one is released now.
I wonder if it makes sense to build a contextual for things like UserData where all bets are off – I mean, there’s nothing to stop you from injecting another CloudFormation template into a file via cfn-init in the EC2 metadata. What would THAT do to our linter?