Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(modules/lb_external): network_tier support #59

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .pre-commit-config.yaml

This file was deleted.

20 changes: 10 additions & 10 deletions examples/multi_nic_common/README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/panorama_standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ No resources.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix) | A string to prefix resource namings | `string` | `""` | no |
| <a name="input_networks"></a> [networks](#input\_networks) | A map containing each network setting.<br><br>Example of variable deployment :<pre>networks = {<br> "panorama-vpc" = {<br> vpc_name = "firewall-vpc"<br> create_network = true<br> delete_default_routes_on_create = "false"<br> mtu = "1460"<br> routing_mode = "REGIONAL"<br> subnetworks = {<br> "panorama-sub" = {<br> name = "panorama-subnet"<br> create_subnetwork = true<br> ip_cidr_range = "172.21.21.0/24"<br> region = "us-central1"<br> }<br> }<br> firewall_rules = {<br> "allow-panorama-ingress" = {<br> name = "panorama-mgmt"<br> source_ranges = ["1.1.1.1/32", "2.2.2.2/32"]<br> priority = "1000"<br> allowed_protocol = "all"<br> allowed_ports = []<br> }<br> }<br> }</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/vpc#input_networks)<br><br>Multiple keys can be added and will be deployed by the code | `any` | n/a | yes |
| <a name="input_panoramas"></a> [panoramas](#input\_panoramas) | A map containing each panorama setting.<br><br>Example of variable deployment :<pre>panoramas = {<br> "panorama-01" = {<br> panorama_name = "panorama-01"<br> panorama_vpc = "panorama-vpc"<br> panorama_subnet = "panorama-subnet"<br> panorama_version = "panorama-byol-1000"<br> ssh_keys = "admin:PUBLIC-KEY"<br> attach_public_ip = true<br> private_static_ip = "172.21.21.2"<br> }<br>}</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/panorama#inputs)<br><br>Multiple keys can be added and will be deployed by the code | `any` | n/a | yes |
| <a name="input_networks"></a> [networks](#input\_networks) | A map containing each network setting.<br/><br/>Example of variable deployment :<pre>networks = {<br/> "panorama-vpc" = {<br/> vpc_name = "firewall-vpc"<br/> create_network = true<br/> delete_default_routes_on_create = "false"<br/> mtu = "1460"<br/> routing_mode = "REGIONAL"<br/> subnetworks = {<br/> "panorama-sub" = {<br/> name = "panorama-subnet"<br/> create_subnetwork = true<br/> ip_cidr_range = "172.21.21.0/24"<br/> region = "us-central1"<br/> }<br/> }<br/> firewall_rules = {<br/> "allow-panorama-ingress" = {<br/> name = "panorama-mgmt"<br/> source_ranges = ["1.1.1.1/32", "2.2.2.2/32"]<br/> priority = "1000"<br/> allowed_protocol = "all"<br/> allowed_ports = []<br/> }<br/> }<br/> }</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/vpc#input_networks)<br/><br/>Multiple keys can be added and will be deployed by the code | `any` | n/a | yes |
| <a name="input_panoramas"></a> [panoramas](#input\_panoramas) | A map containing each panorama setting.<br/><br/>Example of variable deployment :<pre>panoramas = {<br/> "panorama-01" = {<br/> panorama_name = "panorama-01"<br/> panorama_vpc = "panorama-vpc"<br/> panorama_subnet = "panorama-subnet"<br/> panorama_version = "panorama-byol-1000"<br/> ssh_keys = "admin:PUBLIC-KEY"<br/> attach_public_ip = true<br/> private_static_ip = "172.21.21.2"<br/> }<br/>}</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/panorama#inputs)<br/><br/>Multiple keys can be added and will be deployed by the code | `any` | n/a | yes |
| <a name="input_project"></a> [project](#input\_project) | The project name to deploy the infrastructure in to. | `string` | `null` | no |
| <a name="input_region"></a> [region](#input\_region) | The region into which to deploy the infrastructure in to | `string` | `"us-central1"` | no |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ No resources.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix) | A string to prefix resource namings | `string` | `""` | no |
| <a name="input_networks"></a> [networks](#input\_networks) | A map containing each network setting.<br><br>Example of variable deployment :<pre>networks = {<br> "vmseries-vpc" = {<br> vpc_name = "firewall-vpc"<br> create_network = true<br> delete_default_routes_on_create = "false"<br> mtu = "1460"<br> routing_mode = "REGIONAL"<br> subnetworks = {<br> "vmseries-sub" = {<br> name = "vmseries-subnet"<br> create_subnetwork = true<br> ip_cidr_range = "172.21.21.0/24"<br> region = "us-central1"<br> }<br> }<br> firewall_rules = {<br> "allow-vmseries-ingress" = {<br> name = "vmseries-mgmt"<br> source_ranges = ["1.1.1.1/32", "2.2.2.2/32"]<br> priority = "1000"<br> allowed_protocol = "all"<br> allowed_ports = []<br> }<br> }<br> }</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/vpc#input_networks)<br><br>Multiple keys can be added and will be deployed by the code | `any` | n/a | yes |
| <a name="input_networks"></a> [networks](#input\_networks) | A map containing each network setting.<br/><br/>Example of variable deployment :<pre>networks = {<br/> "vmseries-vpc" = {<br/> vpc_name = "firewall-vpc"<br/> create_network = true<br/> delete_default_routes_on_create = "false"<br/> mtu = "1460"<br/> routing_mode = "REGIONAL"<br/> subnetworks = {<br/> "vmseries-sub" = {<br/> name = "vmseries-subnet"<br/> create_subnetwork = true<br/> ip_cidr_range = "172.21.21.0/24"<br/> region = "us-central1"<br/> }<br/> }<br/> firewall_rules = {<br/> "allow-vmseries-ingress" = {<br/> name = "vmseries-mgmt"<br/> source_ranges = ["1.1.1.1/32", "2.2.2.2/32"]<br/> priority = "1000"<br/> allowed_protocol = "all"<br/> allowed_ports = []<br/> }<br/> }<br/> }</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/vpc#input_networks)<br/><br/>Multiple keys can be added and will be deployed by the code | `any` | n/a | yes |
| <a name="input_project"></a> [project](#input\_project) | The project name to deploy the infrastructure in to. | `string` | `null` | no |
| <a name="input_vmseries"></a> [vmseries](#input\_vmseries) | A map containing each individual vmseries setting.<br><br>Example of variable deployment :<pre>vmseries = {<br> "fw-vmseries-01" = {<br> name = "fw-vmseries-01"<br> zone = "us-central1-b"<br> vmseries_image = "vmseries-flex-byol-10210h9"<br> ssh_keys = "admin:<YOUR_SSH_KEY>"<br> machine_type = "n2-standard-4"<br> min_cpu_platform = "Intel Cascade Lake"<br> tags = ["vmseries"]<br> scopes = [<br> "https://www.googleapis.com/auth/compute.readonly",<br> "https://www.googleapis.com/auth/cloud.useraccounts.readonly",<br> "https://www.googleapis.com/auth/devstorage.read_only",<br> "https://www.googleapis.com/auth/logging.write",<br> "https://www.googleapis.com/auth/monitoring.write",<br> ]<br> bootstrap_options = {<br> panorama-server = "1.1.1.1" # Modify this value as per deployment requirements<br> dns-primary = "8.8.8.8" # Modify this value as per deployment requirements<br> dns-secondary = "8.8.4.4" # Modify this value as per deployment requirements<br> }<br> named_ports = [<br> {<br> name = "http"<br> port = 80<br> },<br> {<br> name = "https"<br> port = 443<br> }<br> ]<br> network_interfaces = [<br> {<br> vpc_network_key = "vmseries-vpc"<br> subnetwork_key = "fw-mgmt-sub"<br> private_ip = "10.10.10.2"<br> create_public_ip = true<br> }<br> ]<br> }<br> }</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/vmseries#inputs)<br><br>The bootstrap\_template\_map contains variables that will be applied to the bootstrap template. Each firewall Day 0 bootstrap will be parametrised based on these inputs.<br>Multiple keys can be added and will be deployed by the code. | `any` | n/a | yes |
| <a name="input_vmseries_common"></a> [vmseries\_common](#input\_vmseries\_common) | A map containing common vmseries setting.<br><br>Example of variable deployment :<pre>vmseries_common = {<br> ssh_keys = "admin:AAAABBBB..."<br> vmseries_image = "vmseries-flex-byol-10210h9"<br> machine_type = "n2-standard-4"<br> min_cpu_platform = "Intel Cascade Lake"<br> service_account_key = "sa-vmseries-01"<br> bootstrap_options = {<br> type = "dhcp-client"<br> mgmt-interface-swap = "enable"<br> }<br>}</pre>Bootstrap options can be moved between vmseries individual instance variable (`vmseries`) and this common vmserie variable (`vmseries_common`). | `map` | `{}` | no |
| <a name="input_vmseries"></a> [vmseries](#input\_vmseries) | A map containing each individual vmseries setting.<br/><br/>Example of variable deployment :<pre>vmseries = {<br/> "fw-vmseries-01" = {<br/> name = "fw-vmseries-01"<br/> zone = "us-central1-b"<br/> vmseries_image = "vmseries-flex-byol-10210h9"<br/> ssh_keys = "admin:<YOUR_SSH_KEY>"<br/> machine_type = "n2-standard-4"<br/> min_cpu_platform = "Intel Cascade Lake"<br/> tags = ["vmseries"]<br/> scopes = [<br/> "https://www.googleapis.com/auth/compute.readonly",<br/> "https://www.googleapis.com/auth/cloud.useraccounts.readonly",<br/> "https://www.googleapis.com/auth/devstorage.read_only",<br/> "https://www.googleapis.com/auth/logging.write",<br/> "https://www.googleapis.com/auth/monitoring.write",<br/> ]<br/> bootstrap_options = {<br/> panorama-server = "1.1.1.1" # Modify this value as per deployment requirements<br/> dns-primary = "8.8.8.8" # Modify this value as per deployment requirements<br/> dns-secondary = "8.8.4.4" # Modify this value as per deployment requirements<br/> }<br/> named_ports = [<br/> {<br/> name = "http"<br/> port = 80<br/> },<br/> {<br/> name = "https"<br/> port = 443<br/> }<br/> ]<br/> network_interfaces = [<br/> {<br/> vpc_network_key = "vmseries-vpc"<br/> subnetwork_key = "fw-mgmt-sub"<br/> private_ip = "10.10.10.2"<br/> create_public_ip = true<br/> }<br/> ]<br/> }<br/> }</pre>For a full list of available configuration items - please refer to [module documentation](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/tree/main/modules/vmseries#inputs)<br/><br/>The bootstrap\_template\_map contains variables that will be applied to the bootstrap template. Each firewall Day 0 bootstrap will be parametrised based on these inputs.<br/>Multiple keys can be added and will be deployed by the code. | `any` | n/a | yes |
| <a name="input_vmseries_common"></a> [vmseries\_common](#input\_vmseries\_common) | A map containing common vmseries setting.<br/><br/>Example of variable deployment :<pre>vmseries_common = {<br/> ssh_keys = "admin:AAAABBBB..."<br/> vmseries_image = "vmseries-flex-byol-10210h9"<br/> machine_type = "n2-standard-4"<br/> min_cpu_platform = "Intel Cascade Lake"<br/> service_account_key = "sa-vmseries-01"<br/> bootstrap_options = {<br/> type = "dhcp-client"<br/> mgmt-interface-swap = "enable"<br/> }<br/>}</pre>Bootstrap options can be moved between vmseries individual instance variable (`vmseries`) and this common vmserie variable (`vmseries_common`). | `map` | `{}` | no |

### Outputs

Expand Down
Loading
Loading