跳至内容

Goblal Cluster in Documentdb. Add another region using Cloudformation

0

Hello Support team

I have an DocumentDB global cluster in us-east-1, now I would like to add another region in my cluster using Cloudformation.

I created global cluster , instance using Cloudformation, now I want to add another region in cloudformation code, I see in the documentation examples using CLI or AWS console but I want to use Cloudformation to automate my "Infrastructure as a Code ".

Is it possible with CloudFormation ?

Thank you Mauricio

已提问 1 年前143 查看次数
1 回答
0

Yes, it’s possible to update existing resource by CFN. What you need is to import that resource first and then update by CFN -> https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-existing-stack.html

已回答 1 年前
  • Hello, Above information is to import AWS resources, but in this case I have the cloudformation code that creates: Global documentdb cluster (AWS::DocDB::DBCluster), instance db (AWS::DocDB::DBInstance ) , now I want to add the code to "add another region" in my cluster. Cloudformation documentation does not have information about add regions in documentdb clusters.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。