forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade DCL to v1.38.0 (GoogleCloudPlatform#7753)
* added 'allow_psc_global_access' to 'google_compute_forwarding_rule' resource (beta) * added 'source_ip_ranges' and 'base_forwarding_rule' to 'google_compute_forwarding_rule' resource * added 'dest_fqdns', 'dest_region_codes', 'dest_threat_intelligences', 'src_fqdns', 'src_region_codes', and 'src_threat_intelligences' to 'google_compute_firewall_policy_rule' resource.
- Loading branch information
1 parent
190c945
commit 916c84b
Showing
12 changed files
with
116 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
mmv1/templates/terraform/examples/forwarding_rule_regional_steering.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Forwarding rule for VPC private service connect | ||
resource "google_compute_forwarding_rule" "<%= ctx[:primary_resource_id] %>" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['forwarding_rule_name'] %>" | ||
region = "us-central1" | ||
ip_address = google_compute_address.address.id | ||
backend_service = google_compute_region_backend_service.backend_service.id | ||
network_tier = "PREMIUM" | ||
description = "A test steering forwarding rule" | ||
ip_protocol = "TCP" | ||
load_balancing_scheme = "EXTERNAL" | ||
port_range = "80-81" | ||
source_ip_ranges = ["34.121.88.0/24", "35.187.239.137"] | ||
depends_on = [google_compute_forwarding_rule.external_forwarding_rule] | ||
} | ||
|
||
resource "google_compute_address" "address" { | ||
name = "<%= ctx[:vars]['ip_name'] %>-1" | ||
provider = google-beta | ||
region = "us-central1" | ||
} | ||
|
||
resource "google_compute_forwarding_rule" "external_forwarding_rule" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['external_forwarding_rule_name'] %>" | ||
region = "us-central1" | ||
ip_address = google_compute_address.address.id | ||
backend_service = google_compute_region_backend_service.backend_service.id | ||
network_tier = "PREMIUM" | ||
description = "A test steering forwarding rule" | ||
ip_protocol = "TCP" | ||
load_balancing_scheme = "EXTERNAL" | ||
port_range = "80-81" | ||
} | ||
|
||
resource "google_compute_region_backend_service" "backend_service" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['backend_name'] %>" | ||
region = "us-central1" | ||
|
||
load_balancing_scheme = "EXTERNAL" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters