chore: Implements upgrade from M0 to Flex in mongodbatlas_advanced_cluster
#4577
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 | |
| 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@f111f3307d8850f501ac008e886eec1fd1932a34 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: tflint | |
| run: | | |
| echo "::add-matcher::.github/tflint-matcher.json" | |
| make tools tflint |