Skip to content

Commit

Permalink
chore: Merges master to use the new SDK without dev-preview (#2554)
Browse files Browse the repository at this point in the history
* TEMPORARY: adding SDK preview version in client (#2362)

* chore: Update with latest changes in master (including test adjustments in advanced cluster) (#2369)

* test: Refactors `mongodb_advanced_cluster` tests  (#2361)

* refactor common logic in checks

* fix copyChecks

* checkTenant

* use ComposeAggregateTestCheckFunc

* checkSingleProvider

* checkAggr

* leftovers

* fix checkSingleProvider

* checkTags

* checkMultiCloud

* checkMultiCloudSharded and checkSingleProviderPaused

* checkAdvanced

* checkAdvancedDefaultWrite

* checkMultiZoneWithShards

* regionConfigs in checkMultiCloud

* fix tests

* fix TestAccClusterAdvancedCluster_multicloudSharded

* chore: Bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0 (#2368)

Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.20.1 to 2.21.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.20.1...v2.21.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/aws/aws-sdk-go from 1.54.4 to 1.54.8 (#2367)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.4 to 1.54.8.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.4...v1.54.8)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/hashicorp/go-getter from 1.7.4 to 1.7.5 (#2364)

Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump tj-actions/verify-changed-files (#2365)

Bumps [tj-actions/verify-changed-files](https://github.com/tj-actions/verify-changed-files) from 3db0da1f9e3afd57302597a8a2777b1e673de1fa to 11ea2b36f98609331b8dc9c5ad9071ee317c6d28.
- [Release notes](https://github.com/tj-actions/verify-changed-files/releases)
- [Changelog](https://github.com/tj-actions/verify-changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/verify-changed-files/compare/3db0da1f9e3afd57302597a8a2777b1e673de1fa...11ea2b36f98609331b8dc9c5ad9071ee317c6d28)

---
updated-dependencies:
- dependency-name: tj-actions/verify-changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/go-test/deep from 1.1.0 to 1.1.1 (#2366)

Bumps [github.com/go-test/deep](https://github.com/go-test/deep) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/go-test/deep/releases)
- [Changelog](https://github.com/go-test/deep/blob/master/CHANGES.md)
- [Commits](https://github.com/go-test/deep/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/go-test/deep
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Leo Antoli <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: Calling new API version when creating clusters (#2363)

* wip - calling new API for create operation

* update sdk preview version and support global cluster config

* propagate disk size gb to inner level when making request

* add logic for defining multiple replication specs

* add small comment

* fix typo in comment

* explicit TODO prefix for actionable comments

* small adjustment to avoid pointer to empty slice

* feat: Updates singular `mongodbatlas_advanced_cluster` data source to support independent shard scaling & updates relevant flattener methods (#2373)

* upgrade atlas SDK dev (#2374)

* feat: Support new API version for read operation in advanced cluster resource (#2381)

* initial changes still making use of ds function for replication specs

* wip

* small comments

* adjust symmetric shard cluster test

* adjusting tests

* remove comment

* add disk size gb at root level if calling old api

* include generic function

* adjust test check

* refactor function for making checks and adding data source

* remove comments

* use latest api for retry function that verifies state of cluster

* use preview of get operations that check transition of state of a cluster

* extract setResourceRootFields into common code

* add associated ticket to existing TODO comments

* chore: Merge with latest master changes updating SDK to v20240530002 (#2390)

* doc: Updates `mongodbatlas_global_cluster_config` doc about self-managed sharding clusters (#2372)

* update doc

* add link

* test: Unifies Azure and GCP networking tests (#2371)

* unify Azure and GCP tests

* TEMPORARY no update

* Revert "TEMPORARY no update"

This reverts commit ab60d67dece8f53272b2fad4a68b60b890e7636c.

* run in parallel

* chore: Updates examples link in index.html.markdown for v1.17.3 release

* chore: Updates CHANGELOG.md header for v1.17.3 release

* doc: Updates Terraform Compatibility Matrix documentation (#2370)

Co-authored-by: maastha <[email protected]>

* use ComposeAggregateTestCheckFunc (#2375)

* chore: Updates asdf to TF 1.9.0 and compatibility matrix body (#2376)

* update asdf to TF 1.9.0

* update compatibility message

* Update .github/workflows/update_tf_compatibility_matrix.yml

Co-authored-by: maastha <[email protected]>

* Fix actionlint

---------

Co-authored-by: maastha <[email protected]>

* fix: stale.yaml gh action (#2379)

* doc: Updates alert-config examples (#2378)

* doc: Update alert-config examples

* doc: Removes other references to GROUP_CHARTS_ADMIN

* chore: align table

* chore: Updates Atlas Go SDK (#2380)

* build(deps): bump go.mongodb.org/atlas-sdk

* rename DiskBackupSnapshotAWSExportBucket to DiskBackupSnapshotExportBucket

* add param to DeleteAtlasSearchDeployment

* add LatestDefinition

* more LatestDefinition and start using SearchIndexCreateRequest

* HasElementsSliceOrMap

* update

* ToAnySlicePointer

* fix update

---------

Co-authored-by: lantoli <[email protected]>

* chore: Bump github.com/aws/aws-sdk-go from 1.54.8 to 1.54.13 (#2383)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.8 to 1.54.13.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.8...v1.54.13)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#2382)

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/cfb60706e18bc85e8aec535e3c577abe8f70378e...0723387faaf9b38adef4775cd42cfd5155ed6017)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: Improves tests for mongodbatlas_search_index (#2384)

* checkVector

* checkBasic

* checkWithMapping

* checkWithSynonyms

* checkAdditional

* checkAdditionalAnalyzers and checkAdditionalMappingsFields

* remove addAttrChecks and addAttrSetChecks

* use commonChecks in all checks

* test checks cleanup

* chore: Updates nightly tests to TF 1.9.x (#2386)

* update nightly tests to TF 1.9.x

* use TF var

* keep until 1.3.x

* Update .github/workflows/update_tf_compatibility_matrix.yml

Co-authored-by: maastha <[email protected]>

---------

Co-authored-by: maastha <[email protected]>

* fix: Emptying cloud_back_schedule "copy_settings" (#2387)

* test: add test to reproduce Github Issue

* fix: update copy_settings on changes (even when empty)

* docs: Add changelog entry

* chore: fix changelog entry

* apply review comments

* chore: Updates CHANGELOG.md for #2387

* fixing merge conflicts and adopting preview version

* chore: Updates delete logic for `mongodbatlas_search_deployment` (#2389)

* update delete logic

* update unit test

* add test for symmetric sharded cluster using old schema and skip related tests referencing ticket

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Leo Antoli <[email protected]>
Co-authored-by: svc-apix-bot <[email protected]>
Co-authored-by: svc-apix-Bot <[email protected]>
Co-authored-by: maastha <[email protected]>
Co-authored-by: Andrea Angiolillo <[email protected]>
Co-authored-by: Espen Albert <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update dev preview to take latest version of cluster API (#2406)

* chore: Adds validation in update operation when schema compatible with new API transitions to old schema (#2407)

* feat: Support `disk_size_gb` at region config level while also preserving backwards compatibility with root level value (#2405)

* wip

* define function for setting root disk_size_gb when calling new api in read

* add test with old shard schema and disk size gb at inner level

* adjust check which was searching for readOnly spec

* define root size gb at root level of data source when using new API

* add unit testing and adjust acceptance test

* fix float comparison

* fix merge conflicts

* include structs defined in test case

* chore: Fix compilation and refactor test names to be more explicit in advanced_cluster (#2416)

* fix test name

* rename specific test names for clarity

* add migration test for check correct adoption of external_id (#2420)

* chore: Groups common code in data source and resource for populating root fields (#2419)

* chore: Deprecates attributes associated to old `mongodbatlas_advanced_cluster` resource & data source schemas (#2421)

* doc: Defining migration guide for Independent Shard Scaling feature (#2434)

* define 1.18.0 migration guide

* small fixes

* Update website/docs/guides/1.18.0-upgrade-guide.html.markdown

Co-authored-by: maastha <[email protected]>

* Update website/docs/guides/1.18.0-upgrade-guide.html.markdown

Co-authored-by: maastha <[email protected]>

* addressing comments and suggestions

* rename and move files anticipating to new structure

---------

Co-authored-by: maastha <[email protected]>

* chore: Merges master into dev (#2443)

* doc: Updates `mongodbatlas_global_cluster_config` doc about self-managed sharding clusters (#2372)

* update doc

* add link

* test: Unifies Azure and GCP networking tests (#2371)

* unify Azure and GCP tests

* TEMPORARY no update

* Revert "TEMPORARY no update"

This reverts commit ab60d67dece8f53272b2fad4a68b60b890e7636c.

* run in parallel

* chore: Updates examples link in index.html.markdown for v1.17.3 release

* chore: Updates CHANGELOG.md header for v1.17.3 release

* doc: Updates Terraform Compatibility Matrix documentation (#2370)

Co-authored-by: maastha <[email protected]>

* use ComposeAggregateTestCheckFunc (#2375)

* chore: Updates asdf to TF 1.9.0 and compatibility matrix body (#2376)

* update asdf to TF 1.9.0

* update compatibility message

* Update .github/workflows/update_tf_compatibility_matrix.yml

Co-authored-by: maastha <[email protected]>

* Fix actionlint

---------

Co-authored-by: maastha <[email protected]>

* fix: stale.yaml gh action (#2379)

* doc: Updates alert-config examples (#2378)

* doc: Update alert-config examples

* doc: Removes other references to GROUP_CHARTS_ADMIN

* chore: align table

* chore: Updates Atlas Go SDK (#2380)

* build(deps): bump go.mongodb.org/atlas-sdk

* rename DiskBackupSnapshotAWSExportBucket to DiskBackupSnapshotExportBucket

* add param to DeleteAtlasSearchDeployment

* add LatestDefinition

* more LatestDefinition and start using SearchIndexCreateRequest

* HasElementsSliceOrMap

* update

* ToAnySlicePointer

* fix update

---------

Co-authored-by: lantoli <[email protected]>

* chore: Bump github.com/aws/aws-sdk-go from 1.54.8 to 1.54.13 (#2383)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.8 to 1.54.13.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.8...v1.54.13)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#2382)

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/cfb60706e18bc85e8aec535e3c577abe8f70378e...0723387faaf9b38adef4775cd42cfd5155ed6017)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: Improves tests for mongodbatlas_search_index (#2384)

* checkVector

* checkBasic

* checkWithMapping

* checkWithSynonyms

* checkAdditional

* checkAdditionalAnalyzers and checkAdditionalMappingsFields

* remove addAttrChecks and addAttrSetChecks

* use commonChecks in all checks

* test checks cleanup

* chore: Updates nightly tests to TF 1.9.x (#2386)

* update nightly tests to TF 1.9.x

* use TF var

* keep until 1.3.x

* Update .github/workflows/update_tf_compatibility_matrix.yml

Co-authored-by: maastha <[email protected]>

---------

Co-authored-by: maastha <[email protected]>

* fix: Emptying cloud_back_schedule "copy_settings" (#2387)

* test: add test to reproduce Github Issue

* fix: update copy_settings on changes (even when empty)

* docs: Add changelog entry

* chore: fix changelog entry

* apply review comments

* chore: Updates CHANGELOG.md for #2387

* chore: Updates delete logic for `mongodbatlas_search_deployment` (#2389)

* update delete logic

* update unit test

* refactor: use advanced_cluster instead of cluster (#2392)

* fix: Returns error if the analyzers attribute contains unknown fields. (#2394)

* fix: Returns error if the analyzers attribute contains unknown fields.

* adds changelog file.

* Update .changelog/2394.txt

Co-authored-by: Leo Antoli <[email protected]>

---------

Co-authored-by: Leo Antoli <[email protected]>

* chore: Updates CHANGELOG.md for #2394

* chore: Bump github.com/aws/aws-sdk-go from 1.54.13 to 1.54.17 (#2401)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.13 to 1.54.17.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.13...v1.54.17)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/hashicorp/terraform-plugin-testing (#2400)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-testing/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/hashicorp/terraform-plugin-framework (#2398)

Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/hashicorp/terraform-plugin-framework-validators (#2399)

Bumps [github.com/hashicorp/terraform-plugin-framework-validators](https://github.com/hashicorp/terraform-plugin-framework-validators) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework-validators/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework-validators/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-framework-validators/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework-validators
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: Uses hclwrite to generate the cluster for GetClusterInfo (#2404)

* test: Use hclwrite to generate the cluster for GetClusterInfo

* test: fix unit test

* refactor: minor improvements

* refactor: use Zone 1 as the default ZoneName to make tests pass

* refactor: remove num_shards in request and add more tests

* fix: use same default region as before

* test: Support disk_size_gb for ClusterInfo and add test case for multiple dependencies

* refactor: move replication specs to ClusterRequest

* test: add support for CloudRegionConfig

* add: suggestions from PR comments

* refactor: use acc.ReplicationSpecRequest instead of admin.ReplicationSpec

* fix: Fixes `disk_iops` attribute for Azure cloud provider in `mongodbatlas_advanced_cluster` resource (#2396)

* fix disk_iops in Azure

* expand

* tests for disk_iops

* chore: Updates CHANGELOG.md for #2396

* test: Refactors `mongodbatlas_private_endpoint_regional_mode` to use cluster info (#2403)

* test: refactor to use cluster info

* test: enable test in CI and fix duplicate zone name

* test: use AWS_REGION_UPPERCASE and add pre-checks

* fix: use clusterResourceName

* test: fix GetClusterInfo call

* fix: pre check call

* fix: add UPPERCASE/LOWERCASE to network test suite

* test: Skip in ci since it is slow and use new GetClusterInfo api

* test: Fix the broken test and simpify assert statements

* test: enable in CI, after refactorings ~1230s

* test: Refactors resource tests to use GetClusterInfo `online_archive` (#2409)

* feat: adds support for Tags & AutoScalingDiskGbEnabled

* feat: refactor tests to use GetClusterInfo & new SDK

* chore: fomatting fix

* test: make unit test deterministic

* test: onlinearchive force us_east_1

* spelling in comment

* test: fix migration test to use package clusterRequest (with correct region)

* update .tool-versions (#2417)

* feat: Adds `stored_source` attribute to `mongodbatlas_search_index` resource and corresponding data sources (#2388)

* fix ds schemas

* add changelog

* add storedSource to configBasic and checkBasic

* update doc about index_id

* update boolean test

* first implementation of stored_source as string

* create model file

* marshal

* don't allow update

* test for objects in stored_source

* TestAccSearchIndex_withStoredSourceUpdate

* update StoredSource

* fix merge

* tests for storedSource updates

* swap test names

* doc

* chore: Updates CHANGELOG.md for #2388

* doc: Improves Guides menu (#2408)

* add 0.8.2 metadata

* update old category and remove unneeded headers

* update page_title

* fix titles

* remove old guide

* test: Refactors resource tests to use GetClusterInfo `ldap_configuration` (#2411)

* test:  Refactors resource tests to use GetClusterInfo ldap_configuration

* test: Fix depends_on clause

* test: remove unused clusterName and align fields

* test: Refactors resource tests to use GetClusterInfo `cloud_backup_snapshot_restore_job` (#2413)

* test: Refactors resource tests to use GetClusterInfo `cloud_backup_snapshot_restore_job`

* test: fix reference to clusterResourceName

* doc: Clarify usage of maintenance window resource (#2418)

* test: Refactors resource tests to use GetClusterInfo `cloud_backup_schedule` (#2414)

* test: Cluster support PitEnabled

* test: Refactors resource tests to use GetClusterInfo `mongodbatlas_cloud_backup_schedule`

* apply PR suggestions

* test: fix broken test after merging

* test: Refactors resource tests to use GetClusterInfo `federated_database_instance` (#2412)

* test: Support getting cluster info with project

* test: Refactors resource tests to use GetClusterInfo `federated_database_instance`

* test: refactor, use a single GetClusterInfo and support AddDefaults

* test: use renamed argument in test

* doc: Removes docs headers as they are not needed (#2422)

* remove unneeded YAML frontmatter headers

* small adjustements

* change root files

* remove from templates

* use Deprecated category

* apply feedback

* test: Refactors resource tests to use GetClusterInfo `backup_compliance_policy` (#2415)

* test: Support AdvancedConfiguration, MongoDBMajorVersion, RetainBackupsEnabled, EbsVolumeType in cluster

* test: refactor test to use GetClusterInfo

* test: Refactors resource tests to use GetClusterInfo `cluster_outage_simulation` (#2423)

* test: support Priority and NodeCountReadOnly

* test: Refactors resource tests to use GetClusterInfo `cluster_outage_simulation`

* test: reuse test case in migration test

* chore: increase timeout to ensure test is passing

* test: avoid global variables to ensure no duplicate cluster names

* revert delete timeout change

* test: Fixes DUPLICATE_CLUSTER_NAME failures (#2424)

* test: fix DUPLICATE_CLUSTER_NAME online_archive

* test: fix DUPLICATE_CLUSTER_NAME backup_snapshot_restore_job

* test: Refactors GetClusterInfo (#2426)

* test: support creating a datasource when using GetClusterInfo

* test: Add documentation for cluster methods

* refactor: move out config_cluster to its own file

* refactor: move configClusterGlobal to the only usage file

* refactor: remove ProjectIDStr field

* test: update references for cluster_info fields

* chore: missing whitespace

* test: fix missing quotes around projectID

* Update internal/testutil/acc/cluster.go

Co-authored-by: Leo Antoli <[email protected]>

---------

Co-authored-by: Leo Antoli <[email protected]>

* doc: Updates to new Terraform doc structure (#2425)

* move to root doc folder

* rename ds and resource folders

* change file extension to .md

* update doc links

* gitignore

* releasing instructions

* git hook

* codeowners

* workflow template

* gha workflows

* scripts

* remove website-lint

* update references to html.markdown

* fix compatibility script matrix

* rename rest of files

* fix generate doc script using docs-out folder to temporary generate all files and copying only to docs folder the specified resource files

* fix typo

* chore: Bump github.com/zclconf/go-cty from 1.14.4 to 1.15.0 (#2433)

Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.14.4 to 1.15.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.14.4...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/aws/aws-sdk-go from 1.54.17 to 1.54.19 (#2432)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.17 to 1.54.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.17...v1.54.19)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump actions/setup-go from 5.0.1 to 5.0.2 (#2431)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/cdcb36043654635271a94b9a6d1392de5bb323a7...0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump tj-actions/verify-changed-files (#2430)

Bumps [tj-actions/verify-changed-files](https://github.com/tj-actions/verify-changed-files) from 11ea2b36f98609331b8dc9c5ad9071ee317c6d28 to 79f398ac63ab46f7f820470c821d830e5c340ef9.
- [Release notes](https://github.com/tj-actions/verify-changed-files/releases)
- [Changelog](https://github.com/tj-actions/verify-changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/verify-changed-files/compare/11ea2b36f98609331b8dc9c5ad9071ee317c6d28...79f398ac63ab46f7f820470c821d830e5c340ef9)

---
updated-dependencies:
- dependency-name: tj-actions/verify-changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* refactor: avoid usage of github.com/go-test/deep (use `reflect.DeepEqual instead`) (#2427)

* chore: Deletes modules folder (#2435)

* remove modules folder

* gitignore

* chore: Makes sure doc generation is up-to-date (#2441)

* generate doc

* split in runs

* detect changes

* TEMPORARY: change 3 files to trigger doc failures

* rename

* Revert "TEMPORARY: change 3 files to trigger doc failures"

This reverts commit cc36481d9682f46792203662db610806d6593d89.

* chore: Enables GitHub Action linter errors in GitHub (#2440)

* TEMPORARY: make action linter fail

* problem matcher

* Revert "TEMPORARY: make action linter fail"

This reverts commit 2ea3cd5fee4836f9275f59d5daaf72213e78aabe.

* update version (#2439)

* doc: Updates examples & docs that use replicaSet clusters (#2428)

* update basic examples

* fix linter

* fix tf-validate

* update tflint version

* fix validate

* remove tf linter exceptions

* make linter fail

* simplify and show linter errors in GH

* tlint problem matcher

* problem matcher

* minimum severity warning

* fix linter

* make tf-validate logic easier to be run in local

* less verbose tf init

* fix /mongodbatlas_network_peering/aws

* doc for backup_compliance_policy

* fix container_id reference

* fix mongodbatlas_network_peering/azure

* use temp fodler

* fix examples/mongodbatlas_network_peering/gcp

* remaining examples

* fix mongodbatlas_clusters

* fix adv_cluster doc

* remaining doc changes

* fix typo

* fix examples with deprecated arguments

* get the first value for containter_id

* container_id in doc

* address feedback

* test: fix cluster config generation without num_shards

* test: fix usage of replication_spec.id -> replication_spec.external_id

* test: attempt fixing TestAccClusterAdvancedCluster_singleShardedMultiCloud

* Revert "test: attempt fixing TestAccClusterAdvancedCluster_singleShardedMultiCloud"

This reverts commit 7006935409521c6ed4bac80750331921f91f7943.

* Revert "test: fix usage of replication_spec.id -> replication_spec.external_id"

.id and .external_id are actually different and won't work, more context in: CLOUDP-262014

This reverts commit 2b730dbf667d5e52484c3ca3a8798d8d9a2b80c8.

* test: add extra checks missed by merge conflict for checkSingleShardedMultiCloud

* test: skip failing tests with a reference to the ticket

* test: avoid deprecation warning to fail the test

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Leo Antoli <[email protected]>
Co-authored-by: svc-apix-bot <[email protected]>
Co-authored-by: svc-apix-Bot <[email protected]>
Co-authored-by: maastha <[email protected]>
Co-authored-by: Andrea Angiolillo <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Suma <[email protected]>
Co-authored-by: Agustin Bettati <[email protected]>

* doc: Adds new example defining an asymmetric sharded cluster (#2444)

* chore: Updates examples and documentation in resource and data source with new ISS attributes and structure (#2438)

* feat: Updates plural `mongodbatlas_advanced_clusters` data source to support independent shard scaling (#2447)

* doc: Adds deprecation banner to `mongodbatlas_cluster` resource and data sources (#2450)

* update docs

* update guide

* update examples

* link to migration guide

* changelog

* apply feedback

* feedback

* doc: Updates examples and docs to use `mongodbatlas_advanced_cluster` resource (#2453)

* examples

* doc

* fix identation

* apply feedback

* change cluster-atlas to cluster_atlas in TF name

* apply feedback

* chore: Continue populating `replications_specs.*.id` value even when calling new API (#2448)

* uncomment backup tests that are relying on replicationSpecs.id

* initial implementation

* small change in comment

* slight adjust to tenant test

* remove info log

* fix boolean value of asymmetric cluster which is now inverted

* adjust check to handle case where id is empty string

* test: Moves disk_size_gb to replication spec for GetClusterInfo (#2452)

* doc: Cluster to advanced cluster migration guide (#2451)

* doc: Early draft of cluster to advanced cluster migration guide

* chore: outline steps of the how-to-changes

* first draft of how-to-change section

* address PR comments and suggestions

* address PR comments

* docs: Address PR suggestions

* docs: Address PR suggestions 2

* docs: Address PR suggestions 3

* update links

* How-To Guide was old and doesn't exist anymore

* terraform formatting and more details in the step-by-step guide + explanation section

* docs: Update the advanced-cluster-new-sharding-schema

* docs: use consistent page_title and top level header

* docs: use consistent page_title and top level header

* Revert "docs: use consistent page_title and top level header"

This reverts commit 4505eb890611b47f0b2ae045b4bf70c6e6141adc.

* fix: typos

* Update docs/guides/cluster-to-advanced-cluster-migration-guide.md

Co-authored-by: Leo Antoli <[email protected]>

* chore: update heading levels

* address docs review

* addressing comments on sharding schema migration guide

* address docs review part 2

* address docs review part 3

* address docs review part 4

* address docs review part 5

---------

Co-authored-by: Leo Antoli <[email protected]>
Co-authored-by: Agustin Bettati <[email protected]>

* feat: Supporting new API in update operation of advanced cluster (#2460)

* wip separating logic for handling update with new API

* move upgrade logic to use new API

* modify tests for verifying disk_size_gb udpates

* add update for new schema

* adjustment to is asymmetric in checks

* add third replication spec in new schema

* change docs and fix updating root electable when new API is called

* add test for supporting disk_size_gb change in inner spec with new schema

* support update of disk_size_gb at electable level when using old schema structure

* minor docs update

* adjust value of disk size gb in acceptance test

* add check for change in analytics specs as well

* adjusting hardcoded value in check

* address docs comments

* feat: Updates `mongodbatlas_cloud_backup_schedule` resource to support independent shard scaling API changes (#2459)

* feat: Updates `mongodbatlas_cloud_backup_schedule` data source to support independent shard scaling API changes (#2464)

* test: Adjust asymmetric sharded cluster test to change disk_iops value as well (#2467)

* adjust test of asymmetric shard cluster to have different disk_iops

* adjust values to not pass maximum

* fix tests

* doc: Updates `mongodbatlas_cloud_backup_schedule` resource & data source documentation, examples, and migration guide for ISS changes (#2470)

* feat: Support update transitioning from old to new sharding schema (#2466)

* include acceptance and migration tests

* wip

* add unit tests for populating ids

* fix test config definition

* add data source flag when using new schema

* add retry logic in exists test function, fix check of zone

* renaming fix

* small comment change

* feat: Populate replication specs `zone_id` for all cases, even when old API is called due to old schema (#2475)

* populate zone id in cases where old API is being called

* adjust check in acceptance test to verify zone id is always being populated

* fix test check for case of migration test

* test: Supporting old schema structure for defining symmetric sharded/geo-sharded clusters (#2473)

* uncomment old schema structure tests now that they are supported

* add test for sharded

* fix check of instance size and verifying presence of external_id

* add additional retry in backup_snapshot migration test

* doc: Align docs of advanced_cluster attributes with latest clarifications in API docs (#2477)

* adjust disk iops

* adjust instance size

* adjusting description of replication specs

* doc: Define changelog entries for ISS feature and new attributes (#2478)

* include changelog entries

* address review comments

* including test for adding/removing replication specs in the middle for sharded and geosharded cluster (#2479)

* test: Refactor migration tests to use utility function and cover migration scenarios coming from 1.17.5 (#2481)

* refactor migration test and define scenarios for updating and transitioning after upgrade

* fix check of external id in migration tests

* doc: Include mention of Atlas UI limitation in 1.18.0 migration guide (#2485)

* Include mention of UI limitation in migration guide

* Update docs/guides/1.18.0-upgrade-guide.md

Co-authored-by: kyuan-mongodb <[email protected]>

---------

Co-authored-by: kyuan-mongodb <[email protected]>

* fix: Adjusts auto scaling configurations during `mongodbatlas_advanced_cluster` updates (#2476)

* add logic to adjust autoScaling during updates

* add acceptance test

* minor

* adjust documentation of resource, include comment in sync function, add unit testing

* migration test followup adjustments for previous PR

* reduce instance sizes

---------

Co-authored-by: Agustin Bettati <[email protected]>

* chore: Bring latest changes from master into dev branch (includes adopting latest stable SDK version) (#2491)

* doc: Updates `mongodbatlas_global_cluster_config` doc about self-managed sharding clusters (#2372)

* update doc

* add link

* test: Unifies Azure and GCP networking tests (#2371)

* unify Azure and GCP tests

* TEMPORARY no update

* Revert "TEMPORARY no update"

This reverts commit ab60d67dece8f53272b2fad4a68b60b890e7636c.

* run in parallel

* chore: Updates examples link in index.html.markdown for v1.17.3 release

* chore: Updates CHANGELOG.md header for v1.17.3 release

* doc: Updates Terraform Compatibility Matrix documentation (#2370)

Co-authored-by: maastha <[email protected]>

* use ComposeAggregateTestCheckFunc (#2375)

* chore: Updates asdf to TF 1.9.0 and compatibility matrix body (#2376)

* update asdf to TF 1.9.0

* update compatibility message

* Update .github/workflows/update_tf_compatibility_matrix.yml

Co-authored-by: maastha <[email protected]>

* Fix actionlint

---------

Co-authored-by: maastha <[email protected]>

* fix: stale.yaml gh action (#2379)

* doc: Updates alert-config examples (#2378)

* doc: Update alert-config examples

* doc: Removes other references to GROUP_CHARTS_ADMIN

* chore: align table

* chore: Updates Atlas Go SDK (#2380)

* build(deps): bump go.mongodb.org/atlas-sdk

* rename DiskBackupSnapshotAWSExportBucket to DiskBackupSnapshotExportBucket

* add param to DeleteAtlasSearchDeployment

* add LatestDefinition

* more LatestDefinition and start using SearchIndexCreateRequest

* HasElementsSliceOrMap

* update

* ToAnySlicePointer

* fix update

---------

Co-authored-by: lantoli <[email protected]>

* chore: Bump github.com/aws/aws-sdk-go from 1.54.8 to 1.54.13 (#2383)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.8 to 1.54.13.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.8...v1.54.13)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#2382)

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/cfb60706e18bc85e8aec535e3c577abe8f70378e...0723387faaf9b38adef4775cd42cfd5155ed6017)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: Improves tests for mongodbatlas_search_index (#2384)

* checkVector

* checkBasic

* checkWithMapping

* checkWithSynonyms

* checkAdditional

* checkAdditionalAnalyzers and checkAdditionalMappingsFields

* remove addAttrChecks and addAttrSetChecks

* use commonChecks in all checks

* test checks cleanup

* chore: Updates nightly tests to TF 1.9.x (#2386)

* update nightly tests to TF 1.9.x

* use TF var

* keep until 1.3.x

* Update .github/workflows/update_tf_compatibility_matrix.yml

Co-authored-by: maastha <[email protected]>

---------

Co-authored-by: maastha <[email protected]>

* fix: Emptying cloud_back_schedule "copy_settings" (#2387)

* test: add test to reproduce Github Issue

* fix: update copy_settings on changes (even when empty)

* docs: Add changelog entry

* chore: fix changelog entry

* apply review comments

* chore: Updates CHANGELOG.md for #2387

* chore: Updates delete logic for `mongodbatlas_search_deployment` (#2389)

* update delete logic

* update unit test

* refactor: use advanced_cluster instead of cluster (#2392)

* fix: Returns error if the analyzers attribute contains unknown fields. (#2394)

* fix: Returns error if the analyzers attribute contains unknown fields.

* adds changelog file.

* Update .changelog/2394.txt

Co-authored-by: Leo Antoli <[email protected]>

---------

Co-authored-by: Leo Antoli <[email protected]>

* chore: Updates CHANGELOG.md for #2394

* chore: Bump github.com/aws/aws-sdk-go from 1.54.13 to 1.54.17 (#2401)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.13 to 1.54.17.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.13...v1.54.17)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/hashicorp/terraform-plugin-testing (#2400)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-testing/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/hashicorp/terraform-plugin-framework (#2398)

Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/hashicorp/terraform-plugin-framework-validators (#2399)

Bumps [github.com/hashicorp/terraform-plugin-framework-validators](https://github.com/hashicorp/terraform-plugin-framework-validators) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework-validators/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework-validators/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-framework-validators/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework-validators
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: Uses hclwrite to generate the cluster for GetClusterInfo (#2404)

* test: Use hclwrite to generate the cluster for GetClusterInfo

* test: fix unit test

* refactor: minor improvements

* refactor: use Zone 1 as the default ZoneName to make tests pass

* refactor: remove num_shards in request and add more tests

* fix: use same default region as before

* test: Support disk_size_gb for ClusterInfo and add test case for multiple dependencies

* refactor: move replication specs to ClusterRequest

* test: add support for CloudRegionConfig

* add: suggestions from PR comments

* refactor: use acc.ReplicationSpecRequest instead of admin.ReplicationSpec

* fix: Fixes `disk_iops` attribute for Azure cloud provider in `mongodbatlas_advanced_cluster` resource (#2396)

* fix disk_iops in Azure

* expand

* tests for disk_iops

* chore: Updates CHANGELOG.md for #2396

* test: Refactors `mongodbatlas_private_endpoint_regional_mode` to use cluster info (#2403)

* test: refactor to use cluster info

* test: enable test in CI and fix duplicate zone name

* test: use AWS_REGION_UPPERCASE and add pre-checks

* fix: use clusterResourceName

* test: fix GetClusterInfo call

* fix: pre check call

* fix: add UPPERCASE/LOWERCASE to network test suite

* test: Skip in ci since it is slow and use new GetClusterInfo api

* test: Fix the broken test and simpify assert statements

* test: enable in CI, after refactorings ~1230s

* test: Refactors resource tests to use GetClusterInfo `online_archive` (#2409)

* feat: adds support for Tags & AutoScalingDiskGbEnabled

* feat: refactor tests to use GetClusterInfo & new SDK

* chore: fomatting fix

* test: make unit test deterministic

* test: onlinearchive force us_east_1

* spelling in comment

* test: fix migration test to use package clusterRequest (with correct region)

* update .tool-versions (#2417)

* feat: Adds `stored_source` attribute to `mongodbatlas_search_index` resource and corresponding data sources (#2388)

* fix ds schemas

* add changelog

* add storedSource to configBasic and checkBasic

* update doc about index_id

* update boolean test

* first implementation of stored_source as string

* create model file

* marshal

* don't allow update

* test for objects in stored_source

* TestAccSearchIndex_withStoredSourceUpdate

* update StoredSource

* fix merge

* tests for storedSource updates

* swap test names

* doc

* chore: Updates CHANGELOG.md for #2388

* doc: Improves Guides menu (#2408)

* add 0.8.2 metadata

* update old category and remove unneeded headers

* update page_title

* fix titles

* remove old guide

* test: Refactors resource tests to use GetClusterInfo `ldap_configuration` (#2411)

* test:  Refactors resource tests to use GetClusterInfo ldap_configuration

* test: Fix depends_on clause

* test: remove unused clusterName and align fields

* test: Refactors resource tests to use GetClusterInfo `cloud_backup_snapshot_restore_job` (#2413)

* test: Refactors resource tests to use GetClusterInfo `cloud_backup_snapshot_restore_job`

* test: fix reference to clusterResourceName

* doc: Clarify usage of maintenance window resource (#2418)

* test: Refactors resource tests to use GetClusterInfo `cloud_backup_schedule` (#2414)

* test: Cluster support PitEnabled

* test: Refactors resource tests to use GetClusterInfo `mongodbatlas_cloud_backup_schedule`

* apply PR suggestions

* test: fix broken test after merging

* test: Refactors resource tests to use GetClusterInfo `federated_database_instance` (#2412)

* test: Support getting cluster info with project

* test: Refactors resource tests to use GetClusterInfo `federated_database_instance`

* test: refactor, use a single GetClusterInfo and support AddDefaults

* test: use renamed argument in test

* doc: Removes docs headers as they are not needed (#2422)

* remove unneeded YAML frontmatter headers

* small adjustements

* change root files

* remove from templates

* use Deprecated category

* apply feedback

* test: Refactors resource tests to use GetClusterInfo `backup_compliance_policy` (#2415)

* test: Support AdvancedConfiguration, MongoDBMajorVersion, RetainBackupsEnabled, EbsVolumeType in cluster

* test: refactor test to use GetClusterInfo

* test: Refactors resource tests to use GetClusterInfo `cluster_outage_simulation` (#2423)

* test: support Priority and NodeCountReadOnly

* test: Refactors resource tests to use GetClusterInfo `cluster_outage_simulation`

* test: reuse test case in migration test

* chore: increase timeout to ensure test is passing

* test: avoid global variables to ensure no duplicate cluster names

* revert delete timeout change

* test: Fixes DUPLICATE_CLUSTER_NAME failures (#2424)

* test: fix DUPLICATE_CLUSTER_NAME online_archive

* test: fix DUPLICATE_CLUSTER_NAME backup_snapshot_restore_job

* test: Refactors GetClusterInfo (#2426)

* test: support creating a datasource when using GetClusterInfo

* test: Add documentation for cluster methods

* refactor: move out config_cluster to its own file

* refactor: move configClusterGlobal to the only usage file

* refactor: remove ProjectIDStr field

* test: update references for cluster_info fields

* chore: missing whitespace

* test: fix missing quotes around projectID

* Update internal/testutil/acc/cluster.go

Co-authored-by: Leo Antoli <[email protected]>

---------

Co-authored-by: Leo Antoli <[email protected]>

* doc: Updates to new Terraform doc structure (#2425)

* move to root doc folder

* rename ds and resource folders

* change file extension to .md

* update doc links

* gitignore

* releasing instructions

* git hook

* codeowners

* workflow template

* gha workflows

* scripts

* remove website-lint

* update references to html.markdown

* fix compatibility script matrix

* rename rest of files

* fix generate doc script using docs-out folder to temporary generate all files and copying only to docs folder the specified resource files

* fix typo

* chore: Bump github.com/zclconf/go-cty from 1.14.4 to 1.15.0 (#2433)

Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.14.4 to 1.15.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.14.4...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/aws/aws-sdk-go from 1.54.17 to 1.54.19 (#2432)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.17 to 1.54.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.17...v1.54.19)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump actions/setup-go from 5.0.1 to 5.0.2 (#2431)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/cdcb36043654635271a94b9a6d1392de5bb323a7...0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump tj-actions/verify-changed-files (#2430)

Bumps [tj-actions/verify-changed-files](https://github.com/tj-actions/verify-changed-files) from 11ea2b36f98609331b8dc9c5ad9071ee317c6d28 to 79f398ac63ab46f7f820470c821d830e5c340ef9.
- [Release notes](https://github.com/tj-actions/verify-changed-files/releases)
- [Changelog](https://github.com/tj-actions/verify-changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/verify-changed-files/compare/11ea2b36f98609331b8dc9c5ad9071ee317c6d28...79f398ac63ab46f7f820470c821d830e5c340ef9)

---
updated-dependencies:
- dependency-name: tj-actions/verify-changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* refactor: avoid usage of github.com/go-test/deep (use `reflect.DeepEqual instead`) (#2427)

* chore: Deletes modules folder (#2435)

* remove modules folder

* gitignore

* chore: Makes sure doc generation is up-to-date (#2441)

* generate doc

* split in runs

* detect changes

* TEMPORARY: change 3 files to trigger doc failures

* rename

* Revert "TEMPORARY: change 3 files to trigger doc failures"

This reverts commit cc36481d9682f46792203662db610806d6593d89.

* chore: Enables GitHub Action linter errors in GitHub (#2440)

* TEMPORARY: make action linter fail

* problem matcher

* Revert "TEMPORARY: make action linter fail"

This reverts commit 2ea3cd5fee4836f9275f59d5daaf72213e78aabe.

* update version (#2439)

* doc: Updates examples & docs that use replicaSet clusters (#2428)

* update basic examples

* fix linter

* fix tf-validate

* update tflint version

* fix validate

* remove tf linter exceptions

* make linter fail

* simplify and show linter errors in GH

* tlint problem matcher

* problem matcher

* minimum severity warning

* fix linter

* make tf-validate logic easier to be run in local

* less verbose tf init

* fix /mongodbatlas_network_peering/aws

* doc for backup_compliance_policy

* fix container_id reference

* fix mongodbatlas_network_peering/azure

* use temp fodler

* fix examples/mongodbatlas_network_peering/gcp

* remaining examples

* fix mongodbatlas_clusters

* fix adv_cluster doc

* remaining doc changes

* fix typo

* fix examples with deprecated arguments

* get the first value for containter_id

* container_id in doc

* address feedback

* fix MongoDB_Atlas (#2445)

* chore: Updates examples link in index.md for v1.17.4 release

* chore: Updates CHANGELOG.md header for v1.17.4 release

* chore: Migrates `mongodbatlas_cloud_backup_snapshot_export_job` to new auto-generated SDK (#2436)

* migrate to new auto-generated SDK

* refactor and deprecate err_msg field

* add changelog entry

* docs

* change deprecation version to 1.20

* reduce changelog explanation

* chore: Migrates `mongodbatlas_project_api_key` to new auto-generated SDK (#2437)

* resource create

* migrate update read and delete of resource

* data sources migrated to new sdk

* remove apiUserId from create and update in payload(is read only)

* PR comments

* chore: Removes usage of old Admin SDK in tests (#2442)

* remove matlas from alert_configuration test

* remove matlas from custom_db_role test

* chore: Updates CHANGELOG.md for #2436

* chore: Clean up usages of old SDK (#2449)

* remove usages of old SDK

* add az2 to vpc endpoint

* Revert "add az2 to vpc endpoint"

This reverts commit ce6f7cc09d4d31292479cc58dd3c5d9e92dd7738.

* skip flaky test

* allow 0 (#2456)

* fix: Fixes creation of organization  (#2462)

* fix TerraformVersion interface conversion

* refactor organization resource

* add changelog entry

* PR comment

* chore: Updates CHANGELOG.md for #2462

* fix: Fixes nil pointer dereference in `mongodbatlas_alert_configuration` (#2463)

* fix nil pointer dereference

* avoid nil pointer dereference in metric_threshold_config

* changelog entry

* changelog suggestion

* Update .changelog/2463.txt

Co-authored-by: Leo Antoli <[email protected]>

* remove periods at the end of changelog entries to make it consistent

---------

Co-authored-by: Leo Antoli <[email protected]>

* chore: Updates CHANGELOG.md for #2463

* chore: Updates examples link in index.md for v1.17.5 release

* chore: Updates CHANGELOG.md header for v1.17.5 release

* chore: Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#2469)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/a4f60bb28d35aeee14e6880718e0c85ff1882e64...aaa42aa0628b4ae2578232a66b541047968fac86)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump github.com/aws/aws-sdk-go from 1.54.19 to 1.55.5 (#2468)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.19 to 1.55.5.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.19...v1.55.5)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Handles update of `mongodbatlas_backup_compliance_policy` as a create operation (#2480)

* handle update as a create

* add test to make sure no plan changes appear when reapplying config with non default values

* add changelog

* fix projectId

* fix name of resource in test

* Update .changelog/2480.txt

Co-authored-by: kyuan-mongodb <[email protected]>

---------

Co-authored-by: kyuan-mongodb <[email protected]>

* chore: Updates CHANGELOG.md for #2480

* chore: Updates examples link in index.md for v1.17.6 release

* chore: Updates CHANGELOG.md header for v1.17.6 release

* feat: Adds azure support for backup snapshot export bucket (#2486)

* feat: add azure support for backup snapshot export bucket

* fix: add acceptance test configuration

* fix changelog entry number

* upgrade azuread to 2.53.1 in example

* fix checks

* fix checks for mongodbatlas_access_list_api_key

* fix docs check

* fix docs check for data source

* add readme.md in examples

* use acc.AddAttrChecks in tests

* remove importstateverifyignore

---------

Co-authored-by: Luiz Viana <[email protected]>

* chore: Updates CHANGELOG.md for #2486

* chore: Improves backup_compliance_policy test(#2484)

* chore: Updates Atlas Go SDK to version 2024-08-05 (#2487)

* automatic changes with renaming

* fix trivial compilation errors

* include 2024-05-30 version and adjust cloud-backup-schedule to use old SDK

* adjust global-cluster-config to use old API

* adjust advanced-cluster to use old API

* fix hcl config generation remove num_shards attribute

* manual fixes of versions in advanced cluster, cloud backup schedule, and other small compilations

* fix incorrect merging in cloud backup schedule tests

* using connV2 for import in advanced cluster

* use lastest sdk model for tests that require autoscaling model

* avoid using old SDK for delete operation

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Leo Antoli <[email protected]>
Co-authored-by: svc-apix-bot <[email protected]>
Co-authored-by: svc-apix-Bot <[email protected]>
Co-authored-by: maastha <[email protected]>
Co-authored-by: Andrea Angiolillo <[email protected]>
Co-authored-by: Espen Albert <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Suma <[email protected]>
Co-authored-by: Oriol <[email protected]>
Co-authored-by: kyuan-mongodb <[email protected]>
Co-authored-by: Luiz Viana <[email protected]>

* remove duplicate checks, adjust version constraint in example, fix typo in migration guide

* revert version constraint change in example

* chore: Updates CHANGELOG.md for #2492

* chore: revert cluster deprecatin but include migration guide (#2498)

* remove!: Removes deprecated attributes targeting 1.18.0 (#2499)

* removing scheme from third_party_integration

* remove page_num and items_per_page in federated_settings_identity_providers

* changes in id of mongodbatlas_cloud_backupsnapshot_export_bucket

* changes in id of mongodbatlas_cloud_backupsnapshot_export_job

* created_at attribute in cloud_backup_snapshot_restore_job

* remove job_id attribute from cloud_backup_snapshot_restore data source

* service attachment name removal in privatelink endpoint service

* adjust test of federated settings identity provider

* remove id argument in cloud backup snapshot export bucket

* Rephrase to positive statement

* chore: Updates CHANGELOG.md fo…
  • Loading branch information
17 people authored Sep 4, 2024
1 parent d47bf09 commit 2756caf
Show file tree
Hide file tree
Showing 255 changed files with 5,414 additions and 1,377 deletions.
11 changes: 11 additions & 0 deletions .changelog/2420.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
```release-note:note
resource/mongodbatlas_advanced_cluster: Deprecates `replication_specs.#.id`, `replication_specs.#.num_shards`, `disk_size_gb`, `advanced_configuration.0.default_read_concern`, and `advanced_configuration.0.fail_index_key_too_long`. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide).
```

```release-note:note
data-source/mongodbatlas_advanced_cluster: Deprecates `replication_specs.#.id`, `replication_specs.#.num_shards`, `disk_size_gb`, `advanced_configuration.0.default_read_concern`, and `advanced_configuration.0.fail_index_key_too_long`. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide).
```

```release-note:note
data-source/mongodbatlas_advanced_clusters: Deprecates `replication_specs.#.id`, `replication_specs.#.num_shards`, `disk_size_gb`, `advanced_configuration.0.default_read_concern`, and `advanced_configuration.0.fail_index_key_too_long`. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide).
```
3 changes: 3 additions & 0 deletions .changelog/2459.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/mongodbatlas_cloud_backup_schedule: Adds `copy_settings.#.zone_id` and deprecates `copy_settings.#.replication_spec_id` for referencing zones of a cluster. This enables referencing zones of clusters using independent shard scaling which no longer support `replication_spec.*.id`.
```
4 changes: 4 additions & 0 deletions .changelog/2464.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

```release-note:enhancement
data-source/mongodbatlas_cloud_backup_schedule: Adds new `use_zone_id_for_copy_settings` and `copy_settings.#.zone_id` attributes and deprecates `copy_settings.#.replication_spec_id`. These new attributes enable you to reference cluster zones using independent shard scaling, which no longer supports `replication_spec.*.id`
```
19 changes: 19 additions & 0 deletions .changelog/2478.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
```release-note:enhancement
resource/mongodbatlas_advanced_cluster: Supports defining cluster shards with independent `replication_specs` objects. This feature enables defining independent scaled shards. To learn more, see the [Advanced Cluster New Sharding Schema Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/advanced-cluster-new-sharding-schema).
```

```release-note:note
resource/mongodbatlas_advanced_cluster: Using this new version impacts the possibility of editing the definition of multi shard clusters in the Atlas UI. This impact is limited to the first weeks of September.
```

```release-note:enhancement
resource/mongodbatlas_advanced_cluster: Adds `replication_specs.*.zone_id` and `replication_specs.*.region_configs.*.(electable_specs|analytics_specs|read_only_specs).disk_size_gb` attributes. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide) and resource documentation.
```

```release-note:enhancement
data-source/mongodbatlas_advanced_cluster: Adds `use_replication_spec_per_shard`, `replication_specs.*.zone_id`, and `replication_specs.*.region_configs.*.(electable_specs|analytics_specs|read_only_specs).disk_size_gb` attributes. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide) and data source documentation.
```

```release-note:enhancement
data-source/mongodbatlas_advanced_clusters: Adds `use_replication_spec_per_shard`, `replication_specs.*.zone_id`, and `replication_specs.*.region_configs.*.(electable_specs|analytics_specs|read_only_specs).disk_size_gb` attributes. To learn more, see the [1.18.0 Migration Guide](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide) and data source documentation.
```
47 changes: 47 additions & 0 deletions .changelog/2499.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
```release-note:breaking-change
resource/mongodbatlas_third_party_integration: Removes `scheme` attribute
```

```release-note:breaking-change
data-source/mongodbatlas_third_party_integration: Removes `scheme` attribute
```

```release-note:breaking-change
data-source/mongodbatlas_third_party_integrations: Removes `scheme` attribute
```

```release-note:breaking-change
data-source/mongodbatlas_federated_settings_identity_providers: Removes `page_num` and `items_per_page` attributes
```

```release-note:breaking-change
data-source/mongodbatlas_cloud_backup_snapshot_export_bucket: Changes `id` attribute from optional to computed only
```

```release-note:breaking-change
data-source/mongodbatlas_cloud_backup_snapshot_export_job: Changes `id` attribute from optional to computed only
```

```release-note:breaking-change
resource/mongodbatlas_cloud_backup_snapshot_restore_job: Removes `created_at` attribute
```

```release-note:breaking-change
data-source/mongodbatlas_cloud_backup_snapshot_restore_job: Removes `created_at` attribute
```

```release-note:breaking-change
data-source/mongodbatlas_cloud_backup_snapshot_restore_jobs: Removes `created_at` attribute
```

```release-note:breaking-change
data-source/mongodbatlas_cloud_backup_snapshot_restore_job: Removes `job_id` attribute and defines `snapshot_restore_job_id` attribute as required
```

```release-note:breaking-change
data-source/mongodbatlas_privatelink_endpoint_service: Removes `endpoints.*.service_attachment_name` attribute
```

```release-note:breaking-change
resource/mongodbatlas_privatelink_endpoint_service: Removes `endpoints.*.service_attachment_name` attribute
```
8 changes: 6 additions & 2 deletions .changelog/2505.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
```release-note:new-datasource
data-source/mongodbatlas_stream_processors
```release-note:new-guide
[Migration Guide: Advanced Cluster New Sharding Schema](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/advanced-cluster-new-sharding-schema). This enables Independent Shard Scaling.
```

```release-note:new-guide
[Migration Guide: Cluster to Advanced Cluster](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/cluster-to-advanced-cluster-migration-guide)
```
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Link to any related issue(s):
- [ ] I have added tests that prove my fix is effective or that my feature works per HashiCorp requirements
- [ ] I have added any necessary documentation (if appropriate)
- [ ] I have run make fmt and formatted my code
- [ ] If changes include deprecations or removals, I defined an isolated PR with a relevant title as it will be used in the auto-generated changelog.
- [ ] If changes include deprecations or removals I have added appropriate changelog entries.
- [ ] If changes include removal or addition of 3rd party GitHub actions, I updated our internal document. Reach out to the APIx Integration slack channel to get access to the internal document.

## Further comments
40 changes: 20 additions & 20 deletions .github/workflows/acceptance-tests-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -317,7 +317,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down Expand Up @@ -357,7 +357,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -419,7 +419,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -441,7 +441,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down Expand Up @@ -486,7 +486,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -508,7 +508,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -530,7 +530,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -552,7 +552,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down Expand Up @@ -590,7 +590,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -617,7 +617,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down Expand Up @@ -646,7 +646,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down Expand Up @@ -691,7 +691,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down Expand Up @@ -728,7 +728,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -753,7 +753,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -775,7 +775,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -797,7 +797,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -824,7 +824,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand All @@ -849,7 +849,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ inputs.terraform_version }}
terraform_wrapper: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86
with:
version: v1.59.1 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version
version: v1.60.3 # Also update GOLANGCI_VERSION variable in GNUmakefile when updating this version
- name: actionlint
run: |
make tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
with:
terraform_version: ${{ vars.TF_VERSION_LATEST }}
terraform_wrapper: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- name: Send Slack message
id: slack
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0
with:
payload: |
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-docs-team.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
permissions:
pull-requests: write # Needed by sticky-pull-request-comment
steps:
- uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e
- uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DOCS }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-compatibility-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
echo "slack_payload=${slack_message}" >> "${GITHUB_OUTPUT}"
- name: Send Slack message
id: slack
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0
with:
payload: ${{ steps.slack-payload.outputs.slack_payload }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
steps:
- name: Send Slack message
id: slack
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0
with:
payload: |
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: tj-actions/verify-changed-files@79f398ac63ab46f7f820470c821d830e5c340ef9
id: verify-changed-files
- name: Create PR
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79
if: steps.verify-changed-files.outputs.files_changed == 'true'
with:
token: ${{ secrets.APIX_BOT_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_tf_compatibility_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: tj-actions/verify-changed-files@79f398ac63ab46f7f820470c821d830e5c340ef9
id: verify-changed-files
- name: Create PR
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79
if: steps.verify-changed-files.outputs.files_changed == 'true'
with:
token: ${{ secrets.APIX_BOT_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ linters:
- nakedret
- nolintlint
- rowserrcheck
- exportloopref
- copyloopvar
- staticcheck
- stylecheck
- typecheck
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang 1.22.5
terraform 1.9.2
golang 1.23.0
terraform 1.9.5
Loading

0 comments on commit 2756caf

Please sign in to comment.