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

Generate google_vpn_gateway using Magic Module #1409

Merged
merged 1 commit into from
May 1, 2018
Merged
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
1 change: 1 addition & 0 deletions google/provider_compute_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ var GeneratedComputeResourcesMap = map[string]*schema.Resource{
"google_compute_https_health_check": resourceComputeHttpsHealthCheck(),
"google_compute_target_http_proxy": resourceComputeTargetHttpProxy(),
"google_compute_target_ssl_proxy": resourceComputeTargetSslProxy(),
"google_compute_vpn_gateway": resourceComputeVpnGateway(),
}
2 changes: 1 addition & 1 deletion google/resource_compute_backend_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func resourceComputeBackendBucketCreate(d *schema.ResourceData, meta interface{}
if waitErr != nil {
// The resource didn't actually create
d.SetId("")
return waitErr
return fmt.Errorf("Error waiting to create BackendBucket: %s", waitErr)
}

return resourceComputeBackendBucketRead(d, meta)
Expand Down
2 changes: 1 addition & 1 deletion google/resource_compute_global_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func resourceComputeGlobalAddressCreate(d *schema.ResourceData, meta interface{}
if waitErr != nil {
// The resource didn't actually create
d.SetId("")
return waitErr
return fmt.Errorf("Error waiting to create GlobalAddress: %s", waitErr)
}

return resourceComputeGlobalAddressRead(d, meta)
Expand Down
2 changes: 1 addition & 1 deletion google/resource_compute_http_health_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func resourceComputeHttpHealthCheckCreate(d *schema.ResourceData, meta interface
if waitErr != nil {
// The resource didn't actually create
d.SetId("")
return waitErr
return fmt.Errorf("Error waiting to create HttpHealthCheck: %s", waitErr)
}

return resourceComputeHttpHealthCheckRead(d, meta)
Expand Down
2 changes: 1 addition & 1 deletion google/resource_compute_https_health_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func resourceComputeHttpsHealthCheckCreate(d *schema.ResourceData, meta interfac
if waitErr != nil {
// The resource didn't actually create
d.SetId("")
return waitErr
return fmt.Errorf("Error waiting to create HttpsHealthCheck: %s", waitErr)
}

return resourceComputeHttpsHealthCheckRead(d, meta)
Expand Down
2 changes: 1 addition & 1 deletion google/resource_compute_target_http_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func resourceComputeTargetHttpProxyCreate(d *schema.ResourceData, meta interface
if waitErr != nil {
// The resource didn't actually create
d.SetId("")
return waitErr
return fmt.Errorf("Error waiting to create TargetHttpProxy: %s", waitErr)
}

return resourceComputeTargetHttpProxyRead(d, meta)
Expand Down
2 changes: 1 addition & 1 deletion google/resource_compute_target_ssl_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func resourceComputeTargetSslProxyCreate(d *schema.ResourceData, meta interface{
if waitErr != nil {
// The resource didn't actually create
d.SetId("")
return waitErr
return fmt.Errorf("Error waiting to create TargetSslProxy: %s", waitErr)
}

return resourceComputeTargetSslProxyRead(d, meta)
Expand Down
Loading