summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-01 20:15:21 +0300
committerGitHub <noreply@github.com>2026-05-01 18:15:21 +0100
commit3f9bce80871ca4e97ab3af536e70d229ee751660 (patch)
tree5b6b58c52b5747874d106d81be876c9d75a5e31f
parent836f5de1ec10a21b41542b548a3a70bb9e47bcb5 (diff)
downloadvyos-documentation-3f9bce80871ca4e97ab3af536e70d229ee751660.tar.gz
vyos-documentation-3f9bce80871ca4e97ab3af536e70d229ee751660.zip
Add Terraform for VyOS overview page from circinus (#1856)
* Add Terraform for VyOS overview page from circinus Sync terraformvyos.rst from circinus branch and add to toctree. 🤖 Generated by [robots](https://vyos.io) * fix: clean up terraformvyos.rst typos, line length, linter issues Fix typos (Terrafom, terraforms, ip adresses), wrap lines to 80 chars, add stop/start_vyoslinter around long URL targets, fix grammar. 🤖 Generated by [robots](https://vyos.io)
-rw-r--r--docs/automation/terraform/index.rst1
-rw-r--r--docs/automation/terraform/terraformvyos.rst43
2 files changed, 44 insertions, 0 deletions
diff --git a/docs/automation/terraform/index.rst b/docs/automation/terraform/index.rst
index 364a00b7..f81820d2 100644
--- a/docs/automation/terraform/index.rst
+++ b/docs/automation/terraform/index.rst
@@ -20,6 +20,7 @@ official documentation for Terraform_ and Ansible_.
:maxdepth: 1
:caption: Guides
+ terraformvyos
terraformAWS
terraformAZ
terraformGoogle
diff --git a/docs/automation/terraform/terraformvyos.rst b/docs/automation/terraform/terraformvyos.rst
new file mode 100644
index 00000000..a4d54f8a
--- /dev/null
+++ b/docs/automation/terraform/terraformvyos.rst
@@ -0,0 +1,43 @@
+:lastproofread: 2024-03-03
+
+.. _terraformvyos:
+
+Terraform for VyOS
+==================
+
+VyOS supports development infrastructure via Terraform and
+provisioning via Ansible. Terraform allows you to automate the
+process of deploying instances on many cloud and virtual
+platforms. In this article, we will look at using Terraform to
+deploy VyOS on platforms - AWS, Azure, and vSphere. For more
+details about Terraform please have a look at link_.
+
+You will need to install_ Terraform before proceeding.
+
+Structure of files in the standard Terraform project:
+
+.. code-block:: none
+
+ .
+ ├── main.tf # The main script
+ ├── version.tf # File for the changing version of Terraform.
+ ├── variables.tf # The file of all variables in "main.tf"
+ └── terraform.tfvars # The value of all variables (passwords, login, IP addresses and so on)
+
+
+General commands that we will use for running Terraform scripts
+
+
+.. code-block:: none
+
+ cd /<your folder> # go to the Terraform project
+ terraform init # install all add-ons and providers (AWS, Azure, and so on)
+ terraform plan # show what is changing
+ terraform apply # run script
+ yes # apply running
+
+
+.. stop_vyoslinter
+.. _link: https://developer.hashicorp.com/terraform/intro
+.. _install: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli
+.. start_vyoslinter