diff --git a/.github/workflows/terraform-docs.yml b/.github/workflows/terraform-docs.yml index fe21799..4f24027 100644 --- a/.github/workflows/terraform-docs.yml +++ b/.github/workflows/terraform-docs.yml @@ -6,7 +6,12 @@ name: "Documentation: terraform-docs" on: pull_request: paths: - - "Terraform/*" + - 'Terraform/**' + push: + paths: + - 'Terraform/**' + branches: + - main jobs: docs: diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 5745c3d..b509d4e 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -6,10 +6,10 @@ name: "Code Quality: Terraform" on: pull_request: paths: - - "Terraform/*" + - 'Terraform/**' push: paths: - - "Terraform/*" + - 'Terraform/**' branches: - main diff --git a/Terraform/delpoy-fsx-ontap/main.tf b/Terraform/delpoy-fsx-ontap/main.tf index 9233f0c..67592fc 100644 --- a/Terraform/delpoy-fsx-ontap/main.tf +++ b/Terraform/delpoy-fsx-ontap/main.tf @@ -220,3 +220,5 @@ resource "aws_fsx_ontap_volume" "myvol" { snapshot_policy = "NONE" tags = var.tags } + +