Skip to content

Commit 186612c

Browse files
Added support for regional target TCP proxy and removed some unused fields from target regional HTTP/HTTPS proxy. (#6622) (#4749)
Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent b52039d commit 186612c

9 files changed

+992
-4
lines changed

.changelog/6622.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:new-resource
2+
`google_compute_region_target_tcp_proxy`
3+
```

google-beta/provider.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,9 +964,9 @@ func Provider() *schema.Provider {
964964
return provider
965965
}
966966

967-
// Generated resources: 266
967+
// Generated resources: 267
968968
// Generated IAM resources: 171
969-
// Total generated resources: 437
969+
// Total generated resources: 438
970970
func ResourceMap() map[string]*schema.Resource {
971971
resourceMap, _ := ResourceMapWithErrors()
972972
return resourceMap
@@ -1170,6 +1170,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
11701170
"google_compute_target_https_proxy": resourceComputeTargetHttpsProxy(),
11711171
"google_compute_region_target_http_proxy": resourceComputeRegionTargetHttpProxy(),
11721172
"google_compute_region_target_https_proxy": resourceComputeRegionTargetHttpsProxy(),
1173+
"google_compute_region_target_tcp_proxy": resourceComputeRegionTargetTcpProxy(),
11731174
"google_compute_target_instance": resourceComputeTargetInstance(),
11741175
"google_compute_target_ssl_proxy": resourceComputeTargetSslProxy(),
11751176
"google_compute_target_tcp_proxy": resourceComputeTargetTcpProxy(),

google-beta/resource_compute_region_target_http_proxy_sweeper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func testSweepComputeRegionTargetHttpProxy(region string) error {
7474
return nil
7575
}
7676

77-
resourceList, ok := res["items"]
77+
resourceList, ok := res["regionTargetHttpProxies"]
7878
if !ok {
7979
log.Printf("[INFO][SWEEPER_LOG] Nothing found in response.")
8080
return nil

google-beta/resource_compute_region_target_https_proxy_sweeper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func testSweepComputeRegionTargetHttpsProxy(region string) error {
7474
return nil
7575
}
7676

77-
resourceList, ok := res["items"]
77+
resourceList, ok := res["regionTargetHttpsProxies"]
7878
if !ok {
7979
log.Printf("[INFO][SWEEPER_LOG] Nothing found in response.")
8080
return nil

0 commit comments

Comments
 (0)