Skip to content

Commit bf0c1ab

Browse files
authored
Merge pull request #105263 from yucwan/patch-18
fixing wrong command in deploy from source doc
2 parents 7283992 + 7c38311 commit bf0c1ab

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

articles/spring-cloud/spring-cloud-launch-from-source.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,16 @@ az account list -o table
5757
az account set --subscription
5858
```
5959

60-
Open an Azure CLI window and run the following commands to provision an instance of Azure Spring Cloud. Note that we also tell Azure Spring Cloud to assign a public domain here.
60+
Create a resource group to contain your Azure Spring Cloud service. You can learn more about [Azure Resource Groups](../azure-resource-manager/management/overview.md).
6161

6262
```azurecli
63-
az spring-cloud create -n <resource name> -g <resource group name> --is-public true
63+
az group create --location eastus --name <resource group name>
64+
```
65+
66+
Run the following commands to provision an instance of Azure Spring Cloud. Prepare a name for your Azure Spring Cloud service. The name must be between 4 and 32 characters long and can contain only lowercase letters, numbers, and hyphens. The first character of the service name must be a letter and the last character must be either a letter or a number.
67+
68+
```azurecli
69+
az spring-cloud create -n <resource name> -g <resource group name>
6470
```
6571

6672
The service instance will take about five minutes to deploy.

0 commit comments

Comments
 (0)