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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Description
Modifying the machine_type attribute of the google_vpc_access_connector resource currently results in the destroying and re-creation of the VPC access connector. However, the API now supports patching the machine type directly, allowing the connector to be updated without requiring its re-creation.
Actual behaviour (via Terraform v1.10.3 and google provider version 6.14.1):
# google_vpc_access_connector.test_connector must be replaced-/+resource"google_vpc_access_connector""test_connector" {
~ connected_projects=[] -> (known after apply)
~ id="projects/<project-id>/locations/europe-west1/connectors/test-ahn"-> (known after apply)
~ machine_type="e2-micro"->"e2-standard-4"# forces replacement
~ max_throughput=500-> (known after apply)
~ min_throughput=200-> (known after apply)
name="test-ahn"
~ self_link="projects/<project-id>/locations/europe-west1/connectors/test-ahn"-> (known after apply)
~ state="READY"-> (known after apply)
# (6 unchanged attributes hidden)
}
Community Note
Description
Modifying the
machine_type
attribute of thegoogle_vpc_access_connector
resource currently results in the destroying and re-creation of the VPC access connector. However, the API now supports patching the machine type directly, allowing the connector to be updated without requiring its re-creation.Actual behaviour (via Terraform v1.10.3 and google provider version 6.14.1):
Expected behaviour:
Changing the machine type should update the connector via the projects.locations.connectors.patch method:
New or Affected Resource(s)
Potential Terraform Configuration
References
No response
b/388037051
The text was updated successfully, but these errors were encountered: