내용으로 건너뛰기

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개 답변
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

답변함 일 년 전
  • 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.

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

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