awslabs / aws-servicebroker

AWS Service Broker
Apache License 2.0
468 stars 131 forks source link

Not able to create Amazon RDS for MySQL with Engine Version: V8.0.11 in PCF env #206

Open fiona8953 opened 4 years ago

fiona8953 commented 4 years ago

Describe the bug Creating Amazon RDS for MySQL Engine Version: V8.0.11, reported below error message: Service broker error: Failed to create the CloudFormation stack: ValidationError: Template error: Unable to get mapping for Version2Family::8.0.11::Family status code: 400, request id: 577e70c5-8e2b-483d-8965-8afbf6e9b1c6

To Reproduce From AppsManager Web UI - Step1. Install the AWS Service Broker V1.0.2 in the PCF env. Step2. Login to the AppsManager, Navigate to Org: aws-service-broker-org and Space: aws-service-broker-space, Click "Add Service". Step3. Create a new service - Amazon RDS for MySQL, select Custom template. Step4. Fill in the requested info AccessCidr":"10.xxx.xxx.xxx/25" and "VpcId":"vpc-xxxx" and choose "EngineVersion": "8.0.11". Click Create button, reported error message:

Service broker error: Failed to create the CloudFormation stack: ValidationError: Template error: Unable to get mapping for Version2Family::8.0.11::Family status code: 400, request id: 577e70c5-8e2b-483d-8965-8afbf6e9b1c6

From CF CLI terminal - Step1. CF login: cf target -o aws-service-broker-org -s aws-service-broker-space Step2. cf create-service rdsmysql dev mysql-8011 -c '{"AccessCidr":"10.xxx.xxx.xxx/25","VpcId":"vpc-xxxx","EngineVersion": "8.0.11"}'

Creating service instance mysql-8011 in org aws-service-broker-org / space aws-service-broker-space as admin...
Service broker error: Failed to create the CloudFormation stack: ValidationError: Template error: Unable to get mapping for Version2Family::8.0.11::Family
    status code: 400, request id: 744d3d60-a94f-42f9-97f4-cb6ab1a43bef

Expected behavior Creating Amazon RDS for MySQL Engine Version: V8.x instance with broker.

Environment (please complete the following information):

Additional context I am able to create the Amazon RDS for MySQL with Engine Version: V5.7.x, so no issue on the configuration.

rmauge commented 4 years ago

Hi Fiona, here are the allowed values for MySQL versions https://github.com/awslabs/aws-servicebroker/tree/master/templates/rdsmysql.

It does not look like 8.x is currently supported.