Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS::RDS::DBCluster (enable HTTP endpoint for data API) #71

Closed
yvele opened this issue Aug 1, 2019 · 1 comment
Closed

AWS::RDS::DBCluster (enable HTTP endpoint for data API) #71

yvele opened this issue Aug 1, 2019 · 1 comment

Comments

@yvele
Copy link

@yvele yvele commented Aug 1, 2019

Title

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

Expected behavior

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!

Other links

See also the RDS API that supports this parameter: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/RDS.html#modifyDBCluster-property

Related StackOverflow question: https://stackoverflow.com/questions/54931548/enable-aurora-data-api-from-cloudformation

@luiseduardocolon luiseduardocolon added this to Researching in coverage-roadmap Aug 30, 2019
@Jaakkonen

This comment has been minimized.

Copy link

@Jaakkonen Jaakkonen commented Sep 21, 2019

There's even things that depend on Data API to be enabled that can be created with CFN. For example AppSync RDS resources. Are there any other workarounds than returning DBCluster id and running the cli command with parameter parsed from that?

@luiseduardocolon luiseduardocolon moved this from Researching to Coming Soon in coverage-roadmap Oct 18, 2019
@luiseduardocolon luiseduardocolon moved this from Coming Soon to Shipped in coverage-roadmap Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
coverage-roadmap
  
Shipped
4 participants
You can’t perform that action at this time.