Skip to content

Commit

Permalink
OLH-1904 Fix CFN-lint errors on template.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aenciso committed Jun 21, 2024
1 parent 358dee1 commit ae01178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-cloudformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python-version: "3.x"

- name: Install cfn-lint
run: python -m pip install cfn-lint
run: python -m pip install cfn-lint -r "eu-west-2"

- name: Run linter
run: cfn-lint template.yaml
4 changes: 1 addition & 3 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1590,8 +1590,6 @@ Resources:

DeleteEmailSubscriptionsFunctionLogGroup:
Type: AWS::Logs::LogGroup
DependsOn:
- DeleteEmailSubscriptionsFunction
Properties:
LogGroupName: !Sub "/aws/lambda/${DeleteEmailSubscriptionsFunction}"
RetentionInDays: 30
Expand Down Expand Up @@ -3765,7 +3763,7 @@ Resources:
Resource: "*"
- Effect: Allow
Principal:
Service: !Sub "secretsmanager.amazonaws.com"
Service: "secretsmanager.amazonaws.com"
Action:
- "kms:Encrypt*"
- "kms:Decrypt*"
Expand Down

0 comments on commit ae01178

Please sign in to comment.