Skip to content

Commit 79b0932

Browse files
committed
restore deleted yaml files
1 parent dd07e6e commit 79b0932

8 files changed

+183
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
title: Open the Settings View.
2+
level: 4
3+
ref: open-settings
4+
content: |
5+
.. list-table::
6+
:header-rows: 1
7+
8+
* - Operating System
9+
- Method
10+
- Actions
11+
* - Any
12+
- Visual Studio Code Menu
13+
- :guilabel:`File` / :guilabel:`Code` >
14+
:guilabel:`Preferences` >
15+
:guilabel:`Settings`
16+
* - MacOS
17+
- Keyboard Shortcut
18+
- Press ``Command`` + ``,``
19+
* - Windows and Linux
20+
- Keyboard Shortcut
21+
- Press ``Ctrl`` + ``,``
22+
---
23+
title: Search "MongoDB" in the :guilabel:`Settings` search bar.
24+
level: 4
25+
ref: search-mongodb-in-settings
26+
content: |
27+
|vsce| extension settings are displayed. Changes you
28+
make are saved automatically.
29+
...
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
---
3+
title: "Navigate to the directory in which you saved your ``main.tf`` file."
4+
level: 4
5+
ref: nav-to-tf-file
6+
---
7+
title: "Run the ``terraform init`` command to install the required providers."
8+
level: 4
9+
ref: terraform-init
10+
content: |
11+
.. code-block:: sh
12+
terraform init
13+
The following output indicates that the MongoDB Atlas
14+
Terraform Provider is installed and ready for use:
15+
.. literalinclude:: /includes/terraform-init-output.sh
16+
:linenos:
17+
:language: sh
18+
---
19+
title: "Run the ``terraform plan`` command to view what happens when you apply the configuration."
20+
level: 4
21+
ref: terraform-plan
22+
content: |
23+
.. code-block:: sh
24+
25+
terraform plan
26+
The following output shows what happens when you apply the Terraform configuration:
27+
.. literalinclude:: /includes/terraform-plan-output.sh
28+
:linenos:
29+
:language: sh
30+
Proceed to the next step if the information is correct.
31+
---
32+
title: "Run the ``terraform apply`` command to create an |service| cluster from the Terraform configuration."
33+
level: 4
34+
ref: terraform-apply
35+
content: |
36+
.. code-block:: sh
37+
terraform apply
38+
Type ``yes`` when prompted to confirm that you want to apply the
39+
configuration.
40+
.. note::
41+
The ``terraform apply`` command might take several minutes to
42+
complete.
43+
The following output indicates that your |service| cluster is created.
44+
You can :ref:`create a connection <vsce-connect-task>` to this
45+
deployment using the |vsce| with the displayed connection strings:
46+
.. literalinclude:: /includes/terraform-apply-output.sh
47+
:linenos:
48+
:language: sh
49+
...
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Navigate to the directory in which you saved your ``main.tf`` file."
3+
level: 4
4+
ref: nav-to-tf-file
5+
---
6+
title: "Run the ``terraform destroy`` command to install the required providers."
7+
level: 4
8+
ref: terraform-destroy
9+
content: |
10+
.. code-block:: sh
11+
terraform destroy
12+
Type ``yes`` when prompted to confirm that you want to destroy the
13+
resources defined in the configuration.
14+
.. note::
15+
The ``terraform destroy`` command might take several minutes to
16+
complete.
17+
The following output indicates that the |service| cluster and all
18+
associated resources are deleted:
19+
.. code-block:: sh
20+
:copyable: false
21+
Destroy complete! Resources: 4 destroyed.
22+
...
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
source:
3+
file: steps-open-mongodb-view.yaml
4+
ref: open-mongodb-view
5+
ref: disconnect-open-mongodb-view
6+
---
7+
title: "Right-click the deployment from which you want to disconnect, then click :guilabel:`Disconnect`."
8+
level: 4
9+
ref: vsce-disconnect
10+
11+
...
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
title: Open the Extensions View.
2+
level: 4
3+
ref: open-extensions
4+
content: |
5+
In Visual Studio Code, click the :guilabel:`Extensions` icon
6+
in the left navigation.
7+
Alternatively, you can open the :guilabel:`Extensions` view by
8+
pressing:
9+
- :guilabel:`Control + Shift + X` or
10+
- :guilabel:`Command + Shift + X`.
11+
---
12+
title: Search "MongoDB for VS Code" in the extension marketplace.
13+
level: 4
14+
ref: search-mongodb-for-vscode
15+
---
16+
title: Click :guilabel:`Install` on the "MongoDB for VS Code" extension.
17+
level: 4
18+
ref: click-install
19+
content: |
20+
Once the installation is complete, the :guilabel:`Install` button
21+
changes to the :guilabel:`Manage` gear button.
22+
...
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
source:
3+
file: steps-source-command-palette.yaml
4+
ref: vsce-command-palette
5+
ref: vsce-remove-command-palette
6+
---
7+
title: "From the Command Palette, select
8+
:guilabel:`MongoDB: Remove Connection...`."
9+
level: 4
10+
ref: vsce-remove-remove
11+
content: |
12+
.. include:: /includes/admonitions/tip-mongodb-command-palette.rst
13+
If you have more than one connection, select the connection you want
14+
to remove from the Command Palette.
15+
---
16+
title: "Click :guilabel:`Yes` to remove the connection."
17+
ref: confirm-connection-remove
18+
level: 4
19+
...
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
source:
3+
file: steps-open-mongodb-view.yaml
4+
ref: open-mongodb-view
5+
ref: disconnect-open-mongodb-view
6+
---
7+
title: "Right-click the connection you want to remove, then click :guilabel:`Remove Connection`."
8+
level: 4
9+
ref: remove-connection-mdb-view
10+
---
11+
title: "Click :guilabel:`Yes` to remove the connection."
12+
level: 4
13+
ref: remove-connection-confirm
14+
...
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
ref: nav-to-mdb-view
3+
source:
4+
file: steps-open-mongodb-view.yaml
5+
ref: open-mongodb-view
6+
---
7+
title: "Right-click the connection you want to activate, then click :guilabel:`Rename Connection`."
8+
level: 4
9+
ref: click-rename-connection
10+
---
11+
title: "Rename the connection."
12+
level: 4
13+
ref: rename-collection.
14+
content: |
15+
a. In the Command Palette, type a new name for the connection.
16+
#. Press the **Enter** or **Return** key to rename the connection.
17+
...

0 commit comments

Comments
 (0)