Manage Gandi DNS with Terraform - sandbox only #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to continuously integrate Terraform plan for Tahoe-LAFS | |
# The deployment is not covered (yet), as it will require to auto commit | |
# both the `terraform.state` and `.terraform/terraform.state` files when | |
# apply_on_branch is enabled. | |
name: Terraform Core | |
concurrency: terraform_core_state | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/_terraform.yml' | |
- '.github/workflows/terraform_core.yml' | |
- 'terraform/core/**' | |
pull_request: | |
paths: | |
- '.github/workflows/_terraform.yml' | |
- '.github/workflows/terraform_core.yml' | |
- 'terraform/core/**' | |
workflow_dispatch: | |
jobs: | |
call-workflow-passing-data: | |
# Call the re-usable Terraform workflow | |
uses: ./.github/workflows/_terraform.yml | |
with: | |
tf_dir: terraform/core | |
gandi_url: 'https://api.sandbox.gandi.net' | |
secrets: | |
gandi_token: ${{ secrets.GANDI_TOKEN }} |