Skip to content

feat: upgrade provider - #156

Open
fernandezcuesta wants to merge 2 commits into
mainfrom
155-upgrade-provider-to-2140-1
Open

feat: upgrade provider#156
fernandezcuesta wants to merge 2 commits into
mainfrom
155-upgrade-provider-to-2140-1

Conversation

@fernandezcuesta

@fernandezcuesta fernandezcuesta commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator
  • Upgrade upstream Terraform provider to 2.14.0

  • Configure new mongodbatlas_stream_connection_failover resource

  • Refactor external_name methods to be less redundant (+more explicit) and remove the slice ordering

  • Add a safe fallback to encodedStateGetExternalNameFn which might poison GetIDFn: when externalNameKey wasn't found in decoded state, it returned the full encoded state ID as the external name. This poisoned downstream GetIDFn (double-encoded garbage in state) and GetImportIDFn (base64 key:value pairs in plain import string). Before, this could lead to the Atlas API receiving base64 fragments instead of real IDs.

Fixes: #123

…ailover resource. Refactor external_name and fixed cluster_outage_simulation external name configuration, as well as add a safe fallback to encodedStateGetExternalNameFn

Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com>
@fernandezcuesta fernandezcuesta linked an issue Jul 27, 2026 that may be closed by this pull request
@fernandezcuesta fernandezcuesta changed the title feat: upgrade provider and configure mongodbatlas_stream_connection_failover resource. Refactor external_name and fixed cluster_outage_simulation external name configuration, as well as add a safe fallback to encodedStateGetExternalNameFn feat: upgrade provider Jul 27, 2026
Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade provider to 2.15.0 Error on modifying ManagementPolicies - Project get lot on Observer state

1 participant