-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unintended forces replacement in google_vpc_access_connector #12411
Unintended forces replacement in google_vpc_access_connector #12411
Comments
Looks like the defaults are updated on API
b/244156777 https://cloud.google.com/vpc/docs/reference/vpcaccess/rest/v1/projects.locations.connectors |
@edwardmedia Thank you for your response. resource "google_vpc_access_connector" "connector" {
provider = google-beta
name = "vpc-access-connector"
region = google_compute_subnetwork.main.region
subnet {
name = google_compute_subnetwork.main.name
}
machine_type = "e2-micro"
min_instances = 2
max_instances = 3
} I guess the API is also changing the Regards |
previous PR caused test failures that represent real user issues - see GoogleCloudPlatform/magic-modules#6541 for revert PR. |
It looks to me like this issue has been fixed in version 6.0.0. https://github.com/hashicorp/terraform-provider-google/releases/tag/v6.0.0
Thanks, |
great to hear, thanks for catching that! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
No difference occurs in google_vpc_access_connector when executing
terraform plan/apply
.Actual Behavior
Forces replacements occur in google_vpc_access_connector when executing
terraform plan/apply
.Steps to Reproduce
terraform apply
.terraform plan
orterraform apply
.Important Factoids
The default values are set in the google-beta provider for
max_throughput
andmin_throughput
.It seems that these default values unintentionally conflict with the
max_instances
andmin_instances
.References
The text was updated successfully, but these errors were encountered: