Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwd9000-ML committed Aug 11, 2023
2 parents 8d425f1 + 89ce2c4 commit 647b247
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 35 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/04_App_Acr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
environment: null
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3

- name: Dev TF Plan Deploy
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
path: 04_App_Acr
plan_mode: deploy
Expand All @@ -38,7 +38,7 @@ jobs:
steps:
- name: Dev TF Deploy
if: ${{ github.actor != 'dependabot[bot]' }}
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
plan_mode: deploy
tf_version: latest
Expand All @@ -59,10 +59,10 @@ jobs:
# environment: null
# steps:
# - name: Checkout
# uses: actions/checkout@v3.1.0
# uses: actions/checkout@v3.5.3

# - name: Dev TF Plan Destroy
# uses: Pwd9000-ML/[email protected].5
# uses: Pwd9000-ML/[email protected].6
# with:
# path: 04_App_Acr
# plan_mode: destroy
Expand All @@ -87,7 +87,7 @@ jobs:
# steps:
# - name: Dev TF Destroy
# if: ${{ github.actor != 'dependabot[bot]' }}
# uses: Pwd9000-ML/[email protected].5
# uses: Pwd9000-ML/[email protected].6
# with:
# plan_mode: destroy
# tf_version: latest
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/05_lookup_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
environment: null
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3

- name: Dev TF Plan Deploy
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
path: 05_lookup_demo
plan_mode: deploy
Expand All @@ -38,7 +38,7 @@ jobs:
steps:
- name: Dev TF Deploy
if: ${{ github.actor != 'dependabot[bot]' }}
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
plan_mode: deploy
tf_version: latest
Expand All @@ -59,10 +59,10 @@ jobs:
# environment: null
# steps:
# - name: Checkout
# uses: actions/checkout@v3.1.0
# uses: actions/checkout@v3.5.3

# - name: Dev TF Plan Destroy
# uses: Pwd9000-ML/[email protected].5
# uses: Pwd9000-ML/[email protected].6
# with:
# path: 05_lookup_demo
# plan_mode: destroy
Expand All @@ -87,7 +87,7 @@ jobs:
# steps:
# - name: Dev TF Destroy
# if: ${{ github.actor != 'dependabot[bot]' }}
# uses: Pwd9000-ML/[email protected].5
# uses: Pwd9000-ML/[email protected].6
# with:
# plan_mode: destroy
# tf_version: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Auto_Generate_Module_Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3.5.3
with:
ref: ${{ github.event.pull_request.head.ref }}

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/Marketplace_Example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
environment: null #(Optional) If using GitHub Environments
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3

- name: Dev TF Plan Deploy
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
path: 01_Foundation ## (Optional) Specify path TF module relevant to repo root. Default="."
plan_mode: deploy ## (Optional) Specify plan mode. Valid options are "deploy" or "destroy". Default="deploy"
Expand All @@ -45,7 +45,7 @@ jobs:
steps:
- name: Dev TF Deploy
if: ${{ github.actor != 'dependabot[bot]' }}
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
plan_mode: deploy ## (Optional) Specify plan mode. Valid options are "deploy" or "destroy". Default="deploy"
tf_version: latest ## (Optional) Specifies version of Terraform to use. e.g: 1.1.0 Default="latest"
Expand All @@ -66,10 +66,10 @@ jobs:
environment: null #(Optional) If using GitHub Environments
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3

- name: Dev TF Plan Destroy
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
path: 01_Foundation ## (Optional) Specify path TF module relevant to repo root. Default="."
plan_mode: destroy ## (Optional) Specify plan mode. Valid options are "deploy" or "destroy". Default="deploy"
Expand All @@ -94,7 +94,7 @@ jobs:
steps:
- name: Dev TF Destroy
if: ${{ github.actor != 'dependabot[bot]' }}
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
plan_mode: destroy ## (Optional) Specify plan mode. Valid options are "deploy" or "destroy". Default="deploy"
tf_version: latest ## (Optional) Specifies version of Terraform to use. e.g: 1.1.0 Default="latest"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Marketplace_Example_Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3

- name: Run Dependency Tests - Plan AND Apply AND Destroy
uses: Pwd9000-ML/[email protected].5
uses: Pwd9000-ML/[email protected].6
with:
test_type: plan-apply-destroy ## (Required) Valid options are "plan", "plan-apply", "plan-apply-destroy". Default="plan"
path: 01_Foundation ## (Optional) Specify path TF module relevant to repo root. Default="."
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/az_tf_apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

steps:
- name: Download Artifact
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
name: ${{ inputs.tf_key }}
path: ${{ inputs.path }}
Expand All @@ -77,7 +77,7 @@ jobs:
run: unzip ${{ inputs.tf_key }}.zip

- name: Setup Terraform
uses: hashicorp/[email protected].2
uses: hashicorp/[email protected].3
with:
terraform_version: ${{ inputs.tf_version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/az_tf_plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.5.3

- name: Scan IaC - tfsec
if: ${{ inputs.ENABLE_TFSEC == 'true' }}
uses: aquasecurity/[email protected].3
uses: aquasecurity/[email protected].4
with:
sarif_file: tfsec.sarif

Expand All @@ -93,7 +93,7 @@ jobs:
sarif_file: tfsec.sarif

- name: Setup Terraform
uses: hashicorp/[email protected].2
uses: hashicorp/[email protected].3
with:
terraform_version: ${{ inputs.tf_version }}

Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
run: zip -r ${{ inputs.tf_key }}.zip ./*

- name: Upload Artifact
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
name: "${{ inputs.tf_key }}"
path: "${{ inputs.path }}/${{ inputs.tf_key }}.zip"
Expand Down
4 changes: 2 additions & 2 deletions 01_Foundation/main.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = "~> 1.3.0"
required_version = ">= 1.5.0"
backend "azurerm" {}
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.27.0"
version = "~> 3.68.0"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions 02_Storage/main.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = "~> 1.3.0"
required_version = ">= 1.5.0"
backend "azurerm" {}
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.27.0"
version = "~> 3.68.0"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions 03_etc_etc/another_terraform_module.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = "~> 1.3.0"
required_version = ">= 1.5.0"
backend "azurerm" {}
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.27.0"
version = "~> 3.68.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion 04_App_Acr/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3.0"
required_version = ">= 1.5.0"
backend "azurerm" {}
required_providers {
azurerm = {
Expand Down
2 changes: 1 addition & 1 deletion 05_lookup_demo/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.3.0"
required_version = ">= 1.5.0"
backend "azurerm" {}
required_providers {
azurerm = {
Expand Down

0 comments on commit 647b247

Please sign in to comment.