Summary
Update the db_credentials deployment task to handle cases where the database username and database name are different.
Details
Normally, the database username and database name are the same. However, there are cases where they might differ. The task should be updated to check if the database username and database name are different. If they are, both values should be returned instead of returning just the database username.
Acceptance Criteria
- The task checks if database username and database name are different.
- If they are different, both values are returned.
- If they are the same, only the database username is returned.
- Add or update documentation if needed.
Additional Context
This will help ensure deployments that rely on db_credentials receive complete information in all cases.
Summary
Update the
db_credentialsdeployment task to handle cases where the database username and database name are different.Details
Normally, the database username and database name are the same. However, there are cases where they might differ. The task should be updated to check if the database username and database name are different. If they are, both values should be returned instead of returning just the database username.
Acceptance Criteria
Additional Context
This will help ensure deployments that rely on db_credentials receive complete information in all cases.