From 078b8ca46a504115f7efbeb5c2f8092d4cbcfb62 Mon Sep 17 00:00:00 2001 From: pavelrn <30939390+pavelrn@users.noreply.github.com> Date: Wed, 19 Jul 2023 09:28:11 +0200 Subject: [PATCH] Use US regions for the example --- examples/autoscale/README.md | 4 ++-- examples/autoscale/example.tfvars | 6 +++--- examples/autoscale/variables.tf | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/autoscale/README.md b/examples/autoscale/README.md index 2502f4f4..cdc3181c 100644 --- a/examples/autoscale/README.md +++ b/examples/autoscale/README.md @@ -223,7 +223,7 @@ hping3 -1 -i u10000 | [cidr\_mgmt](#input\_cidr\_mgmt) | The CIDR range of the management subnetwork. | `string` | `"10.0.0.0/28"` | no | | [cidr\_trust](#input\_cidr\_trust) | The CIDR range of the trust subnetwork. | `string` | `"10.0.2.0/28"` | no | | [cidr\_untrust](#input\_cidr\_untrust) | The CIDR range of the untrust subnetwork. | `string` | `"10.0.1.0/28"` | no | -| [delicensing\_cloud\_function\_config](#input\_delicensing\_cloud\_function\_config) | Defining `delicensing_cloud_function_config` enables creation of delicesing cloud function and related resources.
The variable contains the following configuration parameters that are related to Cloud Function:
- name\_prefix - Resource name prefix
- function\_name - Cloud Function base name
- region - Cloud Function region
- bucket\_location - Cloud Function source code bucket location
- panorama\_address - Panorama IP address or host name
- vpc\_connector\_network - Panorama VPC network Name
- vpc\_connector\_cidr - VPC connector /28 CIDR.
VPC connector will be user for delicensing CFN to access Panorama VPC network.

Example:
{
name_prefix = "abc-"
function_name = "delicensing-cfn"
region = "europe-central1"
bucket_location = "EU"
panorama_address = "1.1.1.1"
vpc_connector_network = "panorama-vpc"
vpc_connector_cidr = "10.10.190.0/28"
}
| `any` | `null` | no | +| [delicensing\_cloud\_function\_config](#input\_delicensing\_cloud\_function\_config) | Defining `delicensing_cloud_function_config` enables creation of delicesing cloud function and related resources.
The variable contains the following configuration parameters that are related to Cloud Function:
- name\_prefix - Resource name prefix
- function\_name - Cloud Function base name
- region - Cloud Function region
- bucket\_location - Cloud Function source code bucket location
- panorama\_address - Panorama IP address or host name
- vpc\_connector\_network - Panorama VPC network Name
- vpc\_connector\_cidr - VPC connector /28 CIDR.
VPC connector will be user for delicensing CFN to access Panorama VPC network.

Example:
{
name_prefix = "abc-"
function_name = "delicensing-cfn"
region = "us-central1"
bucket_location = "US"
panorama_address = "1.1.1.1"
vpc_connector_network = "panorama-vpc"
vpc_connector_cidr = "10.10.190.0/28"
}
| `any` | `null` | no | | [name\_prefix](#input\_name\_prefix) | Prefix to prepend the resource names. This is useful for identifing the created resources. | `string` | `""` | no | | [panorama\_address](#input\_panorama\_address) | The Panorama IP address/FQDN. The Panorama must be reachable from the management VPC. This build assumes Panorama is reachable via the internet. The management VPC network uses a NAT gateway to communicate to Panorama's external IP addresses. | `string` | n/a | yes | | [panorama\_auth\_key](#input\_panorama\_auth\_key) | Panorama authorization key. To generate, follow this guide https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/license-the-vm-series-firewall/use-panorama-based-software-firewall-license-management | `string` | `null` | no | @@ -233,7 +233,7 @@ hping3 -1 -i u10000 | [project\_id](#input\_project\_id) | GCP Project ID to contain the created cloud resources. | `string` | n/a | yes | | [region](#input\_region) | GCP region | `string` | n/a | yes | | [ssh\_keys](#input\_ssh\_keys) | VM-Series SSH keys. Format: 'admin:' | `string` | `""` | no | -| [test\_vms](#input\_test\_vms) | Test VMs

Example:
{
"vm1" = {
"zone" : "europe-north1-a"
}
}
| `map` | `{}` | no | +| [test\_vms](#input\_test\_vms) | Test VMs

Example:
{
"vm1" = {
"zone" : "us-central1-a"
}
}
| `map` | `{}` | no | | [vmseries\_image\_name](#input\_vmseries\_image\_name) | Link to VM-Series PAN-OS image. Can be either a full self\_link, or one of the shortened forms per the [provider doc](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance#image). | `string` | n/a | yes | | [vmseries\_instances\_max](#input\_vmseries\_instances\_max) | The maximum number of VM-Series that the autoscaler can scale up to. This is required when creating or updating an autoscaler. The maximum number of VM-Series should not be lower than minimal number of VM-Series. | `number` | `5` | no | | [vmseries\_instances\_min](#input\_vmseries\_instances\_min) | The minimum number of VM-Series that the autoscaler can scale down to. This cannot be less than 0. | `number` | `2` | no | diff --git a/examples/autoscale/example.tfvars b/examples/autoscale/example.tfvars index 705dc450..d40e85fe 100644 --- a/examples/autoscale/example.tfvars +++ b/examples/autoscale/example.tfvars @@ -27,8 +27,8 @@ panorama_vm_auth_key = "01234567890123456789" # delicensing_cloud_function_config = { # name_prefix = "abc-" # function_name = "delicensing-cfn" -# region = "europe-central1" -# bucket_location = "EU" +# region = "us-central1" +# bucket_location = "US" # panorama_address = "1.1.1.1" # vpc_connector_network = "panorama-vpc" # vpc_connector_cidr = "10.10.190.0/28" @@ -39,7 +39,7 @@ panorama_vm_auth_key = "01234567890123456789" # test_vms = { # "vm1" = { -# "zone" : "europe-north1-a" +# "zone" : "us-central1-a" # } # } diff --git a/examples/autoscale/variables.tf b/examples/autoscale/variables.tf index 258f8c2b..e704e96a 100644 --- a/examples/autoscale/variables.tf +++ b/examples/autoscale/variables.tf @@ -132,8 +132,8 @@ variable "delicensing_cloud_function_config" { { name_prefix = "abc-" function_name = "delicensing-cfn" - region = "europe-central1" - bucket_location = "EU" + region = "us-central1" + bucket_location = "US" panorama_address = "1.1.1.1" vpc_connector_network = "panorama-vpc" vpc_connector_cidr = "10.10.190.0/28" @@ -155,7 +155,7 @@ variable "test_vms" { ``` { "vm1" = { - "zone" : "europe-north1-a" + "zone" : "us-central1-a" } } ```