Skip to content

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 Answer
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

answered 10 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.