chore: Creates TF models & interfaces for new mongodbatlas_encryption_at_rest_private_endpoint
resource
#2047
Workflow file for this run
This file contains hidden or 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
name: Examples Checks | |
# Runs terraform linting and validation commands when examples are modified. Triggered in pull requests and merged commits to master. | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
env: | |
AWS_DEFAULT_REGION: us-west-2 | |
MONGODB_ATLAS_ENABLE_PREVIEW: "true" | |
jobs: | |
tf-validate: | |
runs-on: ubuntu-latest | |
permissions: {} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 | |
with: | |
go-version-file: 'go.mod' | |
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 | |
with: | |
terraform_version: ${{ vars.TF_VERSION_LATEST }} | |
terraform_wrapper: false | |
- name: tf-validate | |
run: make tools tf-validate | |
tflint: | |
runs-on: ubuntu-latest | |
permissions: {} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 | |
with: | |
go-version-file: 'go.mod' | |
- name: tflint | |
run: | | |
echo "::add-matcher::.github/tflint-matcher.json" | |
make tools tflint |