Closed jleeboyd closed 3 years ago
Installed Boto3, changed to the directory, having a bit of an issue running the script I get this
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the CreateStack operation: Parameter DBPassword failed to satisfy constraint: must contain only alphanumeric characters.
Assuming aws-rds-username and aws-rds-password are the correct credentials for DB?
@ahmadafrasiyab You've got the right idea but I think you need to remove the dashes '-' from your username and password. Also to clarify you are setting your own credentials for the RDS you are creating, and not accessing with an existing username and password.
I couldn't get it to recognize boto3 after I did a pip install, so I was unable to test this, but it looks good and you've got the approvals!
Description
Resolves #239
This PR adds a script to deploy a basic RDS with CloudFormation. See branch 239 for original commit history.
To Test:
Note: For this script you must use your personal AWS credentials (key id and secret) given at the start of last quarter, and not the secrets in our Azure key vault.
This script requires boto3, you may need to pip install if you do not have it.
Automation/RDS
python3 deploy.py aws_access_key aws_access_secret stack_name DBUser DBPassword
python3 deploy.py ABCDEFG A1B2C3 jbTestStack jbTestAdmin 12345678
Total time: ~9hr