Skip to content

Commit

Permalink
DOCSP-34580: Update --location flag in template app documentation (#633)
Browse files Browse the repository at this point in the history
Get Started
- [All Tutorials]: Remove the --location flag from the App Services CLI procedure in the 'Start with the Template' section.

Develop & Deploy Apps
- Create an App: Update App Services CLI procedure to use the new --provider-region flag instead of --location flag.
- Copy an App: Update App Services CLI example to use the new --provider-region flag instead of --location flag.
  • Loading branch information
cbullinger authored Nov 22, 2023
1 parent 8866b1c commit 46edc3a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 21 deletions.
8 changes: 4 additions & 4 deletions source/apps/copy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Procedure
{+cli-bin+} app create \
--name "myapp-copy" \
--deployment-model "LOCAL" \
--location "US-OR"
--provider-region "aws-us-west-2"

.. step:: Migrate Secrets to the New App

Expand Down Expand Up @@ -126,7 +126,7 @@ Procedure

.. step:: Create a New Configuration Directory

Create a new direcotry to store the copied App's
Create a new directory to store the copied App's
configuration files. You can create a new repository for the
copied App or keep both Apps' configurations in the same
repository using branches or subdirectories.
Expand Down Expand Up @@ -156,11 +156,11 @@ Procedure
# Navigate to the new App's directory
cd myapp-copy
# Create the new App. The create command saves the new
# App's configiration file directory in the current directory
# App's configuration file directory in the current directory
{+cli-bin+} app create \
--name "myapp-copy" \
--deployment-model "LOCAL" \
--location "US-OR"
--provider-region "aws-us-west-2"
cp -r myapp-copy/* .
rm -rf myapp-copy
# Navigate back to the root of the repo
Expand Down
6 changes: 4 additions & 2 deletions source/apps/create.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ Procedure
- ``GLOBAL``
- ``LOCAL``

* - ``--location``
- Defines the App's :ref:`deployment region <deployment-region>`.
* - ``--provider-region``
- Defines the App's deployment region.

For a list of available regions, see :ref:`<deployment-regions>`.

* - ``--environment``
- Sets the App's :ref:`environment tag <app-environment>`.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/dotnet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template maui.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/flutter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template flutter.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/kotlin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template kotlin.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/react-native.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template react-native.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down
5 changes: 2 additions & 3 deletions source/tutorial/swiftui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,8 @@ on it.
{+cli-bin+} app create \
--name MyTutorialApp \
--template swiftui.todo.flex \
--deployment-model global \
--location us-va \
--environment development
--deployment-model global \
--environment development

The command creates a new directory in your current path with the
same name as the value of the ``--name`` flag.
Expand Down

0 comments on commit 46edc3a

Please sign in to comment.