Skip to content

chore(deps): update terraform google to v5.15.0 #253

chore(deps): update terraform google to v5.15.0

chore(deps): update terraform google to v5.15.0 #253

Workflow file for this run

# Copyright (C) Nicolas Lamirault <nicolas.lamirault@gmail.com>
#
# 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: GCP / Validate
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
paths:
- 'terraform/gcp/**'
# push:
# branches:
# - main
# paths:
# - 'terraform/**'
permissions:
contents: 'read'
id-token: 'write'
jobs:
gcp:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup tools
uses: ./.github/actions/tools
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- uses: google-github-actions/auth@v2.0.1
with:
project_id: portefaix-network-8f80
workload_identity_provider: 'projects/${{ secrets.GCP_PRJ_NETWORK_ID }}/locations/global/workloadIdentityPools/portefaix-gha-network/providers/portefaix-gha-network'
service_account: terraform-network@portefaix-network-8f80.iam.gserviceaccount.com
- name: Terraform validate
run: |
./hack/scripts/terraform-validate.sh gcp true