You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added abandon policy
* Fixed linting errors on line 68 and 262
* added test coverage
* Fixed test case to pass if network is destroyed successfully
* Disabled testing for state import. Deletion policy isn't an API attribute so it will never import.
* Added documentation for the additional argument
[upstream:76d03c3ad1652dc12fb5f738a907719aa01e0d8e]
Signed-off-by: Modular Magician <[email protected]>
Description: `Named IP address range(s) of PEERING type reserved for this service provider. Note that invoking this method with a different range when connection is already established will not reallocate already provisioned service producer subnetworks.`,
Description: `When set to ABANDON, terraform will abandon management of the resource instead of deleting it. Prevents terraform apply failures with CloudSQL. Note: The resource will still exist.`,
69
+
},
63
70
"peering": {
64
71
Type: schema.TypeString,
65
72
Computed: true,
@@ -250,6 +257,12 @@ func resourceServiceNetworkingConnectionUpdate(d *schema.ResourceData, meta inte
Copy file name to clipboardExpand all lines: website/docs/r/service_networking_connection.html.markdown
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,8 @@ The following arguments are supported:
59
59
this service provider. Note that invoking this method with a different range when connection
60
60
is already established will not reallocate already provisioned service producer subnetworks.
61
61
62
+
*`deletion_policy` - (Optional) The deletion policy for the service networking connection. Setting to ABANDON allows the resource to be abandoned rather than deleted. This will enable a successful terraform destroy when destroying CloudSQL instances. Use with care as it can lead to dangling resources.
63
+
62
64
## Attributes Reference
63
65
64
66
In addition to the arguments listed above, the following computed attributes are exported:
0 commit comments