-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lena Sadowska
authored and
Lena Sadowska
committed
Oct 19, 2023
1 parent
8d2cce3
commit 109ae31
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Terraform Plan Generic Modules | ||
on: | ||
push: | ||
branches: | ||
- monorepo | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
modules: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: theappnest/terraform-monorepo-action@master | ||
id: modules | ||
with: | ||
monitored: 'main.tf' | ||
outputs: | ||
modules: ${{ steps.modules.outputs.modules }} | ||
|
||
terraform: | ||
needs: modules | ||
strategy: | ||
matrix: | ||
module: ${{ fromJson(needs.modules.outputs.modules) }} | ||
uses: appvia/appvia-cicd-workflows/.github/workflows/terraform-plan.yml@main | ||
name: Terraform | ||
secrets: | ||
infracost-api-key: ${{ secrets.ORG_INFRACOST_API_KEY }} | ||
with: | ||
aws-account-id: 536471746696 | ||
enable-infracost: true | ||
terraform-version: 1.5.7 | ||
terraform-values-file: '${{ fromJson(needs.modules.outputs.modules) }}/values/production.tfvars' | ||
working-directory: ${{ matrix.module }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.DS_Store | ||
._.DS_Store | ||
**/.DS_Store | ||
**/._.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hello |