AWS prd-agent-db master password erorr

hi i try to deploy my api app into aws, following the documentation and using prd_db_secrets.yml from secret even using the example and change multiple time the username and password, example :

workspace/secrets/prd_db_secrets.yml

# Secrets used by prd RDS database
MASTER_USERNAME: api
MASTER_USER_PASSWORD: "api9999!!"

and run

phi ws up --env prd --infra aws

it always erorr :

-==+==- DbInstance: prd-agent-db
Creating DbInstance: prd-agent-db
ERROR DbInstance could not be created.
ERROR An error occurred (InvalidParameterValue) when calling the CreateDBInstance operation: Invalid master password
ERROR Failed to create DbInstance: prd-agent-db

–**-- ResourceGroups deployed: 1/1

ERROR Some resources failed to create, please check logs

i have try multiple password combination still erorr

Hi @isikepala
Thank you for reaching out and using Phidata! I’ve tagged the relevant engineers to assist you with your query. We aim to respond within 24 hours.
If this is urgent, please feel free to let us know, and we’ll do our best to prioritize it.
Thanks for your patience!

1 Like

Hello @isikepala can you please check if your prd_db_secret is configured properly:

    name=f"{ws_settings.prd_key}-db-secret",
    group="db",
    # Create secret from workspace/secrets/prd_db_secrets.yml
    secret_files=[ws_settings.ws_root.joinpath("workspace/secrets/prd_db_secrets.yml")],
    skip_delete=skip_delete,
    save_output=save_output,
)
# -*- Secrets for production database
prd_db_secret = SecretsManager(
    name=f"{ws_settings.prd_key}-db-secret",
    enabled=ws_settings.prd_db_enabled,
    group="db",
    # Create secret from workspace/secrets/prd_db_secrets.yml
    secret_files=[ws_settings.ws_root.joinpath("workspace/secrets/prd_db_secrets.yml")],
    skip_delete=skip_delete,
    save_output=save_output,
)

Hey @isikepala! Sorry for the delayed response. I just wanted to check in if you are still running into this error. Let me know, and I’d be happy to help!