Skip to content

removing a table

removing a table #118

# Deploy infrastructure on staging environment
name: on-push-to-master
concurrency:
group: on-push-to-master
cancel-in-progress: true
on:
push:
branches:
- master
jobs:
validate-tf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
terraform_version: ~1.10.0
- uses: terraform-linters/setup-tflint@v4
- run: terraform init --backend=false && tflint --init
- run: tflint
- run: terraform validate
deploy:
needs: validate-tf
uses: davidleonm/cicd-pipelines/.github/workflows/deploy-infrastructure.yml@master
with:
terraform-version: ~1.10.0
env-name: staging
secrets:
kubernetes-config-base64: ${{ secrets.KUBERNETES_CONFIG_BASE64 }}
vars-list: "TF_VAR_database_admin_password=${{ secrets.DB_ADMIN_PASSWORD }}"