summaryrefslogtreecommitdiff
path: root/docs/automation/terraform
diff options
context:
space:
mode:
Diffstat (limited to 'docs/automation/terraform')
-rw-r--r--docs/automation/terraform/md-terraformAWS.md3
-rw-r--r--docs/automation/terraform/md-terraformAZ.md5
-rw-r--r--docs/automation/terraform/md-terraformGoogle.md10
-rw-r--r--docs/automation/terraform/md-terraformvSphere.md3
4 files changed, 9 insertions, 12 deletions
diff --git a/docs/automation/terraform/md-terraformAWS.md b/docs/automation/terraform/md-terraformAWS.md
index b0c06bb1..488e7926 100644
--- a/docs/automation/terraform/md-terraformAWS.md
+++ b/docs/automation/terraform/md-terraformAWS.md
@@ -544,8 +544,5 @@ All files related to deploying VyOS on AWS with Terraform and Ansible
can be found in the [vyos-automation] repository.
[group]: https://docs.aws.amazon.com/cli/latest/userguide/cli-services-ec2-sg.html
-[image]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html
-[install]: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli
-[link]: https://developer.hashicorp.com/terraform/intro
[pair]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
[vyos-automation]: <https://github.com/vyos/vyos-automation/tree/main/TerraformCloud/AWS_terraform_ansible_single_vyos_instance-main>
diff --git a/docs/automation/terraform/md-terraformAZ.md b/docs/automation/terraform/md-terraformAZ.md
index 05856824..b1b8fac0 100644
--- a/docs/automation/terraform/md-terraformAZ.md
+++ b/docs/automation/terraform/md-terraformAZ.md
@@ -400,7 +400,8 @@ variable "admin_username" {
variable "admin_password" {
description = "Administrator password"
- default = "Vyos0!"
+ type = string
+ sensitive = true
}
variable "source_network" {
@@ -488,7 +489,7 @@ ansible_network_os: vyos.vyos.vyos
# user and password gets from terraform variables "admin_username" and "admin_password" in the file /root/azvyos/var.tf
ansible_user: vyos
-ansible_ssh_pass: Vyos0!
+ansible_ssh_pass: "{{ vault_vyos_ssh_pass }}"
```
diff --git a/docs/automation/terraform/md-terraformGoogle.md b/docs/automation/terraform/md-terraformGoogle.md
index 7236b045..f9c002a7 100644
--- a/docs/automation/terraform/md-terraformGoogle.md
+++ b/docs/automation/terraform/md-terraformGoogle.md
@@ -466,12 +466,12 @@ resource "google_compute_firewall" "udp_500_4500" {
name = "${var.goog_cm_deployment_name}-udp-500-4500"
network = element(var.networks, 0)
-allow {
- ports = ["500", "4500"]
- protocol = "udp"
-}
+ allow {
+ ports = ["500", "4500"]
+ protocol = "udp"
+ }
-source_ranges = ["0.0.0.0/0"]
+ source_ranges = ["0.0.0.0/0"]
target_tags = ["${var.goog_cm_deployment_name}-deployment"]
}
diff --git a/docs/automation/terraform/md-terraformvSphere.md b/docs/automation/terraform/md-terraformvSphere.md
index 8bbb91e9..abcef5fa 100644
--- a/docs/automation/terraform/md-terraformvSphere.md
+++ b/docs/automation/terraform/md-terraformvSphere.md
@@ -345,7 +345,7 @@ remote_user=vyos
# About tasks:
# "Wait 300 seconds, but only start checking after 60 seconds" - try to make ssh connection every 60 seconds until 300 seconds
# "Configure general settings for the VyOS hosts group" - make provisioning into vSphere VyOS node
-# You have to add all necessary cammans of VyOS under the block "lines:"
+# You have to add all necessary commands of VyOS under the block "lines:"
##############################################################################
@@ -363,7 +363,6 @@ remote_user=vyos
vyos_config:
lines:
- set system name-server 192.0.2.1
- - set system name-server 192.0.2.1
save:
true
```