Linter: Add acceptance test hardcoded instance type lint #23101
Labels
linter
Pertains to changes to or issues with the various linters.
service/ec2
Issues and PRs that pertain to the ec2 service.
service/rds
Issues and PRs that pertain to the rds service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Description
Hardcoding instance types in tests often leads to failed tests due to lack of availability of a given type in either GovCloud/AWS Commercial. This should be doable with semgrep.
This is good (for instance types) and should pass:
This is good (for instance types) and should pass:
This is bad and should fail linting:
This is also bad and should fail linting:
References
The text was updated successfully, but these errors were encountered: