Skip to content

Commit

Permalink
Adding temp test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lena Sadowska authored and Lena Sadowska committed Oct 19, 2023
1 parent 8d2cce3 commit 109ae31
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
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 }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
._.DS_Store
**/.DS_Store
**/._.DS_Store
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello

0 comments on commit 109ae31

Please sign in to comment.