Skip to content

Commit 97d3e3b

Browse files
CLOUDP-293595: add flex cluster example to the atlas cluster create command (#3526)
1 parent 3d4c00d commit 97d3e3b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/command/atlas-clusters-create.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ Examples
187187
atlas cluster create myCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier M0
188188

189189

190+
.. code-block::
191+
:copyable: false
192+
193+
# Deploy a Flex cluster named myFlexCluster for the project with the ID 5e2211c17a3e5a48f5497de3 and tag "env=dev":
194+
atlas cluster create myFlexCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier FLEX --tag env=dev
195+
196+
190197
.. code-block::
191198
:copyable: false
192199

internal/cli/clusters/create.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,9 @@ For full control of your deployment, or to create multi-cloud clusters, provide
362362
Example: ` # Deploy a free cluster named myCluster for the project with the ID 5e2211c17a3e5a48f5497de3:
363363
atlas cluster create myCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier M0
364364
365+
# Deploy a Flex cluster named myFlexCluster for the project with the ID 5e2211c17a3e5a48f5497de3 and tag "env=dev":
366+
atlas cluster create myFlexCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier FLEX --tag env=dev
367+
365368
# Deploy a free cluster named myCluster for the project with the ID 5e2211c17a3e5a48f5497de3 and tag "env=dev":
366369
atlas cluster create myCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier M0 --tag env=dev
367370

0 commit comments

Comments
 (0)