require-aws-amplify-artifacts-files-non-empty
Require artifacts.files lists in Amplify config to contain at least one entry.
Targeted pattern scopeâ
artifacts.filesinamplify.yml/amplify.yaml.
What this rule reportsâ
This rule reports empty or missing list entries under artifacts.files.
Why this rule existsâ
An empty artifacts list often means no deployable output is produced, which is usually accidental and hard to spot during review.
â Incorrectâ
frontend:
artifacts:
files:
â Correctâ
frontend:
artifacts:
files:
- "**/*"
When not to use itâ
Disable this rule if artifact inclusion is intentionally injected by external build tooling.
Rule catalog ID: R109