跳至內容

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 年前檢視次數 145 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。