Skip to content

Commit

Permalink
Update serverless.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pennyZZZZ committed Sep 12, 2023
1 parent 70c028b commit 2adbc0a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ frameworkVersion: ">=2.0.0 <3.0.0"
provider:
name: aws
runtime: nodejs18.x
stage: dev
stage: "${env:STAGE}"
region: ap-southeast-2
iamRoleStatements:
- Effect: "Allow"
Action:
- "ecr:*"
Resource: "*"
environment:
REPO_NAMES: ${env:REPO_NAMES}
AWS_ACCOUNT_ID: ${env:AWS_ACCOUNT_ID}
DRY_RUN: ${env:DRY_RUN, 'true'}
ECR_REGION: ${env:ECR_REGION, 'us-east-1'}
SLACK_WEBHOOK: ${env:SLACK_WEBHOOK}
REPO_NAMES: ${env:REPO_NAMES}
AWS_ACCOUNT_ID: ${env:AWS_ACCOUNT_ID}
DRY_RUN: ${env:DRY_RUN, 'true'}
ECR_REGION: ${env:ECR_REGION, 'us-east-1'}
SLACK_WEBHOOK: ${env:SLACK_WEBHOOK}

functions:
cleanupImages:
Expand Down

0 comments on commit 2adbc0a

Please sign in to comment.