Skip to content

Commit

Permalink
Revert "Adding DeleteBeforeReplace for IAMMember, VPNTunnel, etc, fixes
Browse files Browse the repository at this point in the history
#190"

This reverts commit ffc12a7.
  • Loading branch information
t0yv0 committed Nov 8, 2024
1 parent a349104 commit b935fa1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,6 @@ func Provider() tfbridge.ProviderInfo {
Docs: &tfbridge.DocInfo{
Source: "google_project_iam.html.markdown",
},
DeleteBeforeReplace: true,
},
"google_project_iam_policy": {
Tok: gcpResource(gcpProject, "IAMPolicy"),
Expand Down Expand Up @@ -937,7 +936,6 @@ func Provider() tfbridge.ProviderInfo {
Docs: &tfbridge.DocInfo{
Source: "google_service_account_iam.html.markdown",
},
DeleteBeforeReplace: true,
},
"google_service_account_iam_policy": {
Tok: gcpResource(gcpServiceAccount, "IAMPolicy"),
Expand Down Expand Up @@ -1031,7 +1029,7 @@ func Provider() tfbridge.ProviderInfo {
},
},
"google_compute_external_vpn_gateway": {Tok: gcpResource(gcpCompute, "ExternalVpnGateway")},
"google_compute_global_address": {Tok: gcpResource(gcpCompute, "GlobalAddress"), DeleteBeforeReplace: true},
"google_compute_global_address": {Tok: gcpResource(gcpCompute, "GlobalAddress")},
"google_compute_global_forwarding_rule": {Tok: gcpResource(gcpCompute, "GlobalForwardingRule")},
"google_compute_global_network_endpoint": {Tok: gcpResource(gcpCompute, "GlobalNetworkEndpoint")},
"google_compute_global_network_endpoint_group": {Tok: gcpResource(gcpCompute, "GlobalNetworkEndpointGroup")},
Expand Down Expand Up @@ -1154,7 +1152,7 @@ func Provider() tfbridge.ProviderInfo {
Fields: nameField(lowercaseAutoName()),
},
"google_compute_vpn_gateway": {Tok: gcpResource(gcpCompute, "VPNGateway")},
"google_compute_vpn_tunnel": {Tok: gcpResource(gcpCompute, "VPNTunnel"), DeleteBeforeReplace: true},
"google_compute_vpn_tunnel": {Tok: gcpResource(gcpCompute, "VPNTunnel")},
"google_compute_reservation": {Tok: gcpResource(gcpCompute, "Reservation")},
"google_compute_region_health_check": {Tok: gcpResource(gcpCompute, "RegionHealthCheck")},
"google_compute_region_url_map": {Tok: gcpResource(gcpCompute, "RegionUrlMap")},
Expand Down

0 comments on commit b935fa1

Please sign in to comment.