Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
AWS::RDS::DBCluster (enable HTTP endpoint for data API) #71
Add an attribute to enable/disable the HTTP endpoint for an Aurora Serverless RDS cluster.
Scope of request
Aurora Serverless is now production ready and is supported within CloudFormation, see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-scalingconfiguration
In order to enable the Data API (that is generally available), the HTTP endpoint must be explicitly enabled as described here: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
Enabling the HTTP endpoint is possible via AWS CLI
aws rds modify-db-cluster \ --db-cluster-identifier sample-cluster \ --enable-http-endpoint
It would be nice to enable this via CloudFormation with something like
DBCluster: Type: AWS::RDS::DBCluster Properties: Engine: aurora EngineMode: serverless EngineVersion: 5.6.10a HttpEndpointEnabled: true # <------ HERE!
Related StackOverflow question: https://stackoverflow.com/questions/54931548/enable-aurora-data-api-from-cloudformation