Skip to content

Commit

Permalink
Better description and names
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelrn committed Oct 4, 2024
1 parent 73eb850 commit 1a41bda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/vpc_peering_common_dual_stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ please see https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the
| [google_compute_route.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_route) | resource |
| [local_file.bootstrap_xml](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource |
| [local_sensitive_file.init_cfg](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/sensitive_file) | resource |
| [null_resource.no_policy_route_from_vmseries](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [null_resource.pbr_override_vmseries](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [null_resource.policy_routes](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [google_compute_image.my_image](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/compute_image) | data source |

Expand Down
8 changes: 4 additions & 4 deletions examples/vpc_peering_common_dual_stack/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ resource "null_resource" "policy_routes" {
"--protocol-version=IPv6",
"--network=${module.vpc[each.value.vpc_network_key].network.id}",
"--next-hop-ilb-ip=${split("/", module.lb_internal[each.value.lb_internal_key].address)[0]}",
"--description=Policy-based_route_for_IPv6_outbound_connectivity",
"--description=Policy-based-route-for-IPv6-outbound-connectivity",
"--project ${var.project}"
])
interpreter = ["bash", "-c"]
Expand All @@ -121,10 +121,10 @@ resource "null_resource" "policy_routes" {
}
}

resource "null_resource" "no_policy_route_from_vmseries" {
resource "null_resource" "pbr_override_vmseries" {
triggers = {
project = var.project
name = "${var.name_prefix}no-pbr-from-vmseries"
name = "${var.name_prefix}pbr-override-vmseries"
}
provisioner "local-exec" {
command = join(" ", [
Expand All @@ -135,7 +135,7 @@ resource "null_resource" "no_policy_route_from_vmseries" {
"--protocol-version=IPv6",
"--network=${module.vpc[var.policy_routes_trust_vpc_network_key].network.id}",
"--next-hop-other-routes=DEFAULT_ROUTING",
"--description=Disable_PBR_and_use_DEFAULT_ROUTING_for_packets_from_VM-Series",
"--description=Use-DEFAULT_ROUTING-for-packets-coming-from-VM-Series",
"--project ${var.project}"
])
}
Expand Down

0 comments on commit 1a41bda

Please sign in to comment.