-
Notifications
You must be signed in to change notification settings - Fork 0
Datastore modules fix - Master credentials and connection_string #38
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
base: main
Are you sure you want to change the base?
Conversation
…oss datastore modules.
| # 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Fix: Correct Password Reference & Standardize
connection_stringOutput Across Datastore ModulesThis PR applies a targeted fix to ensure consistency and correctness across all datastore modules:
Updates Included
passwordoutput references.connection_stringoutput format across MySQL, Postgres, Mongo, and Redis modules.Purpose:
Improve reliability of module outputs and ensure downstream consumers receive consistent and correctly formatted connection values.