forked from coralogix/coralogix-aws-serverless
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 801 Bytes
/
infra.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# name: Infrastructure
# on:
# push:
# branches: [master]
# paths:
# - 'infra/**'
# pull_request:
# types: [closed]
# branches: [master]
# paths:
# - 'infra/**'
# env:
# AWS_DEFAULT_REGION: eu-central-1
# jobs:
# infrastructure:
# name: Infrastructure
# runs-on: aws-sam
# env:
# AWS_SERVERLESS_BUCKET: coralogix-serverless-repo
# steps:
# - name: Init
# working-directory: infra/
# run: terragrunt init
# - name: Validate
# working-directory: infra/
# run: terragrunt validate
# - name: Apply
# working-directory: infra/
# run: |
# terragrunt apply \
# -var="s3_bucket_name_prefix=${{ env.AWS_SERVERLESS_BUCKET }}" \
# -auto-approve