feat: Support auto-scaling per shard for cluster tier in `advanced_cl… #3796
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
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version-file: 'go.mod' | |
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd | |
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version-file: 'go.mod' | |
- name: tflint | |
run: | | |
echo "::add-matcher::.github/tflint-matcher.json" | |
make tools tflint |