Skip to content

Conversation

@srikxcipher
Copy link
Contributor

Fix: Correct Password Reference & Standardize connection_string Output Across Datastore Modules

This PR applies a targeted fix to ensure consistency and correctness across all datastore modules:

Updates Included

  • Corrected incorrect password output references.
  • Standardized connection_string output format across MySQL, Postgres, Mongo, and Redis modules.
  • Ensured consistent output naming and structure across all datastore providers.

Purpose:
Improve reliability of module outputs and ensure downstream consumers receive consistent and correctly formatted connection values.

@srikxcipher srikxcipher changed the base branch from master to main November 28, 2025 12:10
This reverts commit 459a5cc.

Reverting to previous commit for undoing some changes.
This reverts commit 45e37d3.

Re-revert to previous commit.
# Network configuration
db_subnet_group_name = local.is_import ? var.instance.spec.imports.subnet_group_name : aws_docdb_subnet_group.main[0].name
vpc_security_group_ids = local.is_import ? [var.instance.spec.imports.security_group_id] : [aws_security_group.documentdb[0].id]
db_subnet_group_name = local.is_import ? var.instance.spec.imports.subnet_group_name : aws_docdb_subnet_group.main.name
Copy link
Contributor

Choose a reason for hiding this comment

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

try to import it to tf state

Copy link
Contributor

Choose a reason for hiding this comment

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

deploy the resource initially through facets, state rm it, then add the import attributes, and do the release to import the resource back.

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.

3 participants