CloudFormation - Aurora Fast Cloning

0

Hi,

I'd like to create a provisioned clone of my serverless Aurora MySql database using CloudFormation. The docs state that this should be possible, and it is when using the AWS CLI. However, when I try to accomplish this using CloudFormation, I always end up with a serverless clone instead of a provisioned clone. Here's my cluster definition:

"Type": "AWS::RDS::DBCluster",
"Properties": {
    "SourceDBClusterIdentifier": {
        "Ref": "SourceDbClusterIdentifier"
    },
    "RestoreType": "copy-on-write",
    "EngineMode": "provisioned",
    "Engine": "aurora-mysql",
    "UseLatestRestorableTime": true,
    "DBClusterIdentifier": "WhyAmIServerless"
}

There's also a AWS::RDS::DBInstance attached to this cluster, but the stack errors out telling me I can't add an instance to a serverless cluster. Fair enough, but why is this cluster serverless in the first place? It seems like the EngineMode property is being ignored. Does anyone know if creating a provisioned clone from a serverless cluster is possible in CloudFormation? Thanks.

1개 답변
1
수락된 답변

I think I may have found an answer. There indeed seems to be an issue with some properties being ignored when creating a clone. DBSubnetGroupName, EngineMode, and VpcSecurityGroupIds included.

https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/336

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인