add half done self managed version

This commit is contained in:
2024-03-03 12:39:01 +01:00
parent 42fc446cc7
commit 49b182878b
22 changed files with 1951 additions and 0 deletions

40
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: Terraform CI
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./example
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Run a Terraform init
uses: docker://hashicorp/terraform:light
with:
entrypoint: terraform
args: init
- name: Run a Terraform validate
uses: docker://hashicorp/terraform:light
with:
entrypoint: terraform
args: validate
- name: Run a Terraform fmt
uses: docker://hashicorp/terraform:light
with:
entrypoint: terraform
args: fmt --recursive -check=true --diff ../