Skip to content

Commit

Permalink
CLOUDP-293595: add flex cluster example to the atlas cluster create
Browse files Browse the repository at this point in the history
… command (#3526)
  • Loading branch information
andreaangiolillo authored Jan 8, 2025
1 parent 3d4c00d commit 97d3e3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/command/atlas-clusters-create.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,13 @@ Examples
atlas cluster create myCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier M0


.. code-block::
:copyable: false

# Deploy a Flex cluster named myFlexCluster for the project with the ID 5e2211c17a3e5a48f5497de3 and tag "env=dev":
atlas cluster create myFlexCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier FLEX --tag env=dev


.. code-block::
:copyable: false

Expand Down
3 changes: 3 additions & 0 deletions internal/cli/clusters/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ For full control of your deployment, or to create multi-cloud clusters, provide
Example: ` # Deploy a free cluster named myCluster for the project with the ID 5e2211c17a3e5a48f5497de3:
atlas cluster create myCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier M0
# Deploy a Flex cluster named myFlexCluster for the project with the ID 5e2211c17a3e5a48f5497de3 and tag "env=dev":
atlas cluster create myFlexCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier FLEX --tag env=dev
# Deploy a free cluster named myCluster for the project with the ID 5e2211c17a3e5a48f5497de3 and tag "env=dev":
atlas cluster create myCluster --projectId 5e2211c17a3e5a48f5497de3 --provider AWS --region US_EAST_1 --tier M0 --tag env=dev
Expand Down

0 comments on commit 97d3e3b

Please sign in to comment.