Currently, the password specified during terraform apply is used.
Instead, generate a random password during terraform apply and store it in Parameter Store.
(If it already exists, prevent it from being regenerated.)
Then set it as the Basic authentication password.
This allows any user with access to SecretsManager to view the password.
And Set default basic auth user to ${var.project_name}.
Currently, the password specified during
terraform applyis used.Instead, generate a random password during
terraform applyand store it in Parameter Store.(If it already exists, prevent it from being regenerated.)
Then set it as the Basic authentication password.
This allows any user with access to SecretsManager to view the password.
And Set default basic auth user to
${var.project_name}.