Skip to content

Terraform Cloud: cleanup resources setup #213

Terraform Cloud: cleanup resources setup

Terraform Cloud: cleanup resources setup #213

Workflow file for this run

# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
---
name: Azure / Security
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on: # yamllint disable-line rule:truthy
# push:
# branches:
# - main
# paths:
# - "terraform/azure/**"
pull_request:
branches:
- main
paths:
- "terraform/azure/**"
jobs:
azure_aks:
name: azure-aks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/aks/modules/aks
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/aks/dev
azure_application-gateway:
name: azure-application-gateway
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/application-gateway/modules/application-gateway
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/application-gateway/dev
azure_bastion:
name: azure-bastion
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/bastion/modules/bastion
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/bastion/dev
azure_firewall:
name: azure-firewall
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/firewall/modules/firewall
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/firewall/dev
azure_hub:
name: azure-hub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/hub/modules/hub
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/hub/dev
azure_nat-gateway:
name: azure-nat-gateway
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/nat-gateway/modules/nat-gateway
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/nat-gateway/dev
azure_observability:
name: azure-observability
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan main
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/observability/modules/observability
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/observability/dev
azure_peering:
name: azure-peering
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/peering/modules/peering
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/peering/dev
azure_sops:
name: azure-sops
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan main
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/sops/terraform
azure_terraform-cloud:
name: azure-terraform-cloud
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan main
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/terraform-cloud/terraform
azure_traffic-manager:
name: azure-traffic-manager
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/traffic-manager/modules/traffic-manager
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/traffic-manager/dev
azure_velero:
name: azure-velero
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/velero/modules/velero
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/velero/dev
azure_vnet:
name: azure-vnet
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Terraform security scan modules
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/vnet/modules/vnet
- name: Terraform security scan usage
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
working_dir: terraform/azure/vnet/dev