Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 10 commits into from
Jul 12, 2024

Conversation

AgustinBettati
Copy link
Member

@AgustinBettati AgustinBettati commented Jul 10, 2024

Description

Link to any related issue(s): CLOUDP-258270

Includes changes so that disk_size_gb attribute is configurable and populated in both the new location (withing electableSpecs/anayticsSpecs/readOnlySpecs) as well as the existing root location.

Type of change:

  • Bug fix (non-breaking change which fixes an issue). Please, add the "bug" label to the PR.
  • New feature (non-breaking change which adds functionality). Please, add the "enhancement" label to the PR. A migration guide must be created or updated if the new feature will go in a major version.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected). Please, add the "breaking change" label to the PR. A migration guide must be created or updated.
  • This change requires a documentation update
  • Documentation fix/enhancement

Required Checklist:

  • I have signed the MongoDB CLA
  • I have read the contributing guides
  • I have checked that this change does not generate any credentials and that they are NOT accidentally logged anywhere.
  • 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 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

@AgustinBettati AgustinBettati marked this pull request as ready for review July 11, 2024 09:05
@AgustinBettati AgustinBettati requested a review from a team as a code owner July 11, 2024 09:05
Copy link
Collaborator

@EspenAlbert EspenAlbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

if len(configs) < 1 {
return 0
}
return configs[0].ElectableSpecs.GetDiskSizeGB()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there always an electable spec, even if not defined in the TF file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, the API always returns electableSpecs, readOnlySpecs, and analyticsSpecs even if not defined in the request. Example of readOnlySpecs response when not defined:

"readOnlySpecs": {
    "instanceSize": "M30",
    "diskIOPS": 120,
    "diskSizeGB": 32.0,
    "diskThroughput": 25,
    "nodeCount": 0
}

apiObject.DiskSizeGB = rootDiskSizeGB
// disk size gb defined in inner level will take precedence over root level.
if v, ok := tfMap["disk_size_gb"]; ok && v.(float64) != 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a best practice to make sure conversion can be done, e.g. using v.(float64) with ok param

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Synced offline. For resource using sdk v2 this is a common pattern as the schema is already ensuring a certain type for each attribute meaning this can be considered a safe cast.
Main con of handling the error is that is would add significant boilerplate for each time we access a value from the TF model. This was solved in the terraform plugin framework as we parse the TF model into a typed struct.
cc: @EspenAlbert as you were seeing these warning in the new linter.


func configShardedOldSchemaDiskSizeGBElectableLevel(orgID, projectName, name string) string {
return fmt.Sprintf(`
resource "mongodbatlas_project" "cluster_project" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we use ProjectIDExecution?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will adjust in follow up PR, I see we have a mix of both for the advanced_cluster tests

@AgustinBettati AgustinBettati merged commit 3c04d6b into CLOUDP-212932-dev Jul 12, 2024
34 of 35 checks passed
@AgustinBettati AgustinBettati deleted the CLOUDP-258270 branch July 12, 2024 07:56
EspenAlbert added a commit that referenced this pull request Sep 4, 2024
* 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…
oarbusi added a commit that referenced this pull request Sep 10, 2024
…2566)

* chore: dev-branch start

* feat: initial implementation of the StreamProcessor schema (#2489)

* feat: Implements the `mongodbatlas_stream_processor` data source (#2497)

* refactor: move diffSuppressJSON logic to common.schemafunc package

* chore: implement the `streamprocessor` data source schema

* refactor: use string for pipeline in resource_schema

* test: fix broken search index tests

* feat: implement StreamProcessorDS and add acceptance test

* chore: add changelog entry

* feat: Implements `mongodbatlas_stream_processor` resource (#2501)

* feat: initial implementation of the StreamProcessor schema

* implement resource stream processor

* state transition tests

* temp: comment out acc tests

* fix import and add resource

* refactors

* doc check

* start stream after creation if in the plan the state is STARTED

* fixes after merge

* model tests and methods for sdk to tf

* final refactors

* enable tests in CI

* use diff instance name in tests

* use random instance name

* pr comments

* valuestring for pipeline

* add cluster test

* add test for dropped state transition

* adapt test into new format

* remove change_stream_token and add stats to resource

* fix stats and options

* make options optional only and kafka test with options

* pr comments

* refactor test config names and remove unnecessary method

---------

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

* feat: Implements `mongodbatlas_stream_processors` plural data source (#2505)

* feat: Implements `streamprocessor` plural data source

* refactor: support not using `id` in PaginatedDSSchema

* test: add unit tests for plural data source

* docs: add changelog entry

* fix: unsafe totalCount

* fix: rename data-sources

* generic pagination 1

* generic pagination 2

* refactor: move AllPages to common package

* fix: don't use PaginatedDSSchema

* refactor: revert a6aa9b55a45543a36312abe04386d4870c20382c

* refactor: improve naming

* refactor: remove pagination parameters

* fix typo

* fix: add descriptions to schema

* refactor: rename i to currentPage

* test: reuse state names from package

* test: Refactors data_source_test.go to resource_test.go and other test improvements (#2517)

* test: Refactors test configs

* test: refactor checks

* test: refactor data source tests to resource_test.go

* test: suppor testing options

* refactor: shorten names

* test: minor fix and avoid printing

* doc: Adds examples and documentation for `mongodbatlas_stream_processor` resource and data sources (#2516)

* add examples and autogen of docs

* improve state attribute documentation

* add stream processor to generate-doc-check

* fix plural data source and regenerate docs

* exclude stream processor resource doc from generate-doc-check

* change schema description and remove exlude from git diff

* use jsonencode for pipeline

* PR comments and extend example

* specify autostart on creation is possible

* wording

* chore: Improves state transition error handling of 404 case in mongodbatlas_stream_processor (#2518)

* refactor: increases timeout to support larger pipeline to stop (#2522)

* doc: Adds guidance on how to “update” a `mongodbatlas_stream_processor` resource (#2521)

* update when only state has changed

* add test that fails on update

* add guidance on how to update

* adjust doc

* remove changes from other PR

* mention processor has to be running for stats to be available

* Update templates/resources/stream_processor.md.tmpl

Co-authored-by: Espen Albert <[email protected]>

* generate doc

---------

Co-authored-by: Espen Albert <[email protected]>

* test: Adds error and migration tests (#2519)

* test: add migration test

* test: TestAccStreamProcessor_JSONWhiteSpaceFormat

* refactor: remove DiffSuppressJSON (didn't work, still showed diff)

* fix: support nonStandard formatted JSON

* test: fix broken unit test

* test: fix invalid transition from CREATED -> STOPPED

* update when only state has changed

* test: ensure invalid JSON is thrown

* fix: exit when invalid state is set on create

* chore: `checkDestroyStreamProcessor` still useful to verify there is no stream_processor in state and API

* feat: Add support for JsonString

* fix: use CustomType: JSONStringType to support different JSON formats

---------

Co-authored-by: Oriol Arbusi <[email protected]>

* chore: Merges master to use the new SDK without dev-preview (#2554)

* 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…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants