hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.28k stars 1.72k forks source link

google_compute_address: expected purpose to be one of [GCE_ENDPOINT ], got SHARED_LOADBALANCER_VIP #6743

Closed mattbowes closed 4 years ago

mattbowes commented 4 years ago

Community Note

Terraform Version

 terraform -v
Terraform v0.12.13
+ provider.google v3.28.0
+ provider.google-beta v3.28.0
+ provider.random v2.2.1

Affected Resource(s)

Terraform Configuration Files

resource "google_compute_address" "default" {
  provider     = google
  count        = var.create_address ? 1 : 0
  project      = var.project
  subnetwork   = var.subnetwork
  name         = "${var.name}-static-ip"
  address_type = "INTERNAL"
  region       = var.region
  purpose      = "SHARED_LOADBALANCER_VIP"
}

Debug Output

Panic Output

Expected Behavior

compute address gets created with SHARED_LOADBALANCER_VIP configuration

Actual Behavior

Error: expected purpose to be one of [GCE_ENDPOINT ], got SHARED_LOADBALANCER_VIP

Steps to Reproduce

  1. terraform plan

Important Factoids

This works with google-beta provider 3.28

References

edwardmedia commented 4 years ago

@mattbowes can you share your debug log?

mattbowes commented 4 years ago

@edwardmedia, debug log is below. Since 3.29 was released yesterday it pulled that version down and still has the same error

2020/07/07 11:05:29 [INFO] Terraform version: 0.12.13  
2020/07/07 11:05:29 [INFO] Go runtime version: go1.12.9
2020/07/07 11:05:29 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2020/07/07 11:05:29 [DEBUG] Attempting to open CLI config file: /home/<removed>/.terraformrc
2020/07/07 11:05:29 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/07/07 11:05:29 [INFO] CLI command args: []string{"plan"}
2020/07/07 11:05:29 [DEBUG] New state was assigned lineage "ab332ecb-5f75-e97a-4cd4-2405105496f8"
2020/07/07 11:05:29 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2020/07/07 11:05:29 [TRACE] Meta.Backend: instantiated backend of type <nil>
2020/07/07 11:05:29 [DEBUG] checking for provider in "."
2020/07/07 11:05:29 [DEBUG] checking for provider in "/usr/local/bin"
2020/07/07 11:05:29 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2020/07/07 11:05:29 [DEBUG] found provider "terraform-provider-google_v3.29.0_x5"
2020/07/07 11:05:29 [DEBUG] found valid plugin: "google", "3.29.0", "/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5"
2020/07/07 11:05:29 [DEBUG] checking for provisioner in "."
2020/07/07 11:05:29 [DEBUG] checking for provisioner in "/usr/local/bin"
2020/07/07 11:05:29 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2020/07/07 11:05:29 [INFO] backend/local: starting Plan operation
2020-07-07T11:05:29.659-0700 [INFO]  plugin: configuring client automatic mTLS
2020-07-07T11:05:29.685-0700 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 args=[/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5]
2020-07-07T11:05:30.138-0700 [DEBUG] plugin: plugin started: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 pid=30460
2020-07-07T11:05:30.138-0700 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5
2020-07-07T11:05:30.162-0700 [INFO]  plugin.terraform-provider-google_v3.29.0_x5: configuring server automatic mTLS: timestamp=2020-07-07T11:05:30.162-0700
2020-07-07T11:05:30.191-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: plugin address: address=/tmp/plugin742970107 network=unix timestamp=2020-07-07T11:05:30.191-0700
2020-07-07T11:05:30.191-0700 [DEBUG] plugin: using plugin: version=5
2020-07-07T11:05:30.282-0700 [DEBUG] plugin: plugin process exited: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 pid=30460
2020-07-07T11:05:30.282-0700 [DEBUG] plugin: plugin exited
2020/07/07 11:05:30 [TRACE] terraform.NewContext: complete
2020/07/07 11:05:30 [TRACE] backend/local: finished building terraform.Context
2020/07/07 11:05:30 [INFO] terraform: building graph: GraphTypeValidate
2020/07/07 11:05:30 [DEBUG] adding implicit provider configuration provider.google, implied first by google_compute_address.default
2020/07/07 11:05:30 [DEBUG] ProviderTransformer: "google_compute_address.default" (*terraform.NodeValidatableResource) needs provider.google
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "google_compute_address.default" references: [var.create_address var.region var.subnetwork var.project var.address_purpose]
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.region" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.address_purpose" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.create_address" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.project" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.subnetwork" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "provider.google" references: []
2020-07-07T11:05:30.284-0700 [INFO]  plugin: configuring client automatic mTLS
2020-07-07T11:05:30.308-0700 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 args=[/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5]
2020-07-07T11:05:30.767-0700 [DEBUG] plugin: plugin started: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 pid=30476
2020-07-07T11:05:30.767-0700 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5
2020-07-07T11:05:30.791-0700 [INFO]  plugin.terraform-provider-google_v3.29.0_x5: configuring server automatic mTLS: timestamp=2020-07-07T11:05:30.791-0700
2020-07-07T11:05:30.819-0700 [DEBUG] plugin: using plugin: version=5
2020-07-07T11:05:30.819-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: plugin address: address=/tmp/plugin792982751 network=unix timestamp=2020-07-07T11:05:30.819-0700
2020-07-07T11:05:30.936-0700 [DEBUG] plugin: plugin process exited: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 pid=30476
2020-07-07T11:05:30.936-0700 [DEBUG] plugin: plugin exited
2020/07/07 11:05:30 [TRACE] [walkValidate] Exiting eval tree: provider.google (close)
2020/07/07 11:05:30 [TRACE] vertex "provider.google (close)": visit complete
2020/07/07 11:05:30 [INFO] backend/local: plan calling Refresh
2020/07/07 11:05:30 [INFO] terraform: building graph: GraphTypeRefresh
2020/07/07 11:05:30 [TRACE] No managed resources in state during refresh; skipping managed resource transformer
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.address_purpose" references: []
2020/07/07 11:05:30 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2020/07/07 11:05:30 [TRACE] Executing graph transform *terraform.TargetsTransformer
2020/07/07 11:05:30 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2020/07/07 11:05:30 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2020/07/07 11:05:30 [TRACE] Completed graph transform *terraform.CloseProviderTransformer (no changes)
2020/07/07 11:05:30 [TRACE] Executing graph transform *terraform.RootTransformer
2020/07/07 11:05:30 [INFO] backend/local: plan calling Plan
2020/07/07 11:05:30 [INFO] terraform: building graph: GraphTypePlan
2020/07/07 11:05:30 [TRACE] Executing graph transform *terraform.ConfigTransformer
2020/07/07 11:05:30 [TRACE] ConfigTransformer: Starting for path: 
2020/07/07 11:05:30 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
google_compute_address.default - *terraform.NodePlannableResource
------
2020/07/07 11:05:30 [TRACE] Executing graph transform *terraform.LocalTransformer
2020/07/07 11:05:30 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2020/07/07 11:05:30 [TRACE] Executing graph transform *terraform.OutputTransformer
2020/07/07 11:05:30 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2020/07/07 11:05:30 [DEBUG] adding implicit provider configuration provider.google, implied first by google_compute_address.default
2020/07/07 11:05:30 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer with new graph:
google_compute_address.default - *terraform.NodePlannableResource
provider.google - *terraform.NodeApplyableProvider
var.address_purpose - *terraform.NodeRootVariable
var.create_address - *terraform.NodeRootVariable
var.project - *terraform.NodeRootVariable
var.region - *terraform.NodeRootVariable
var.subnetwork - *terraform.NodeRootVariable
------
2020/07/07 11:05:30 [DEBUG] ProviderTransformer: "google_compute_address.default" (*terraform.NodePlannableResource) needs provider.google
2020/07/07 11:05:30 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
google_compute_address.default - *terraform.NodePlannableResource
  provider.google - *terraform.NodeApplyableProvider
provider.google - *terraform.NodeApplyableProvider
var.address_purpose - *terraform.NodeRootVariable
var.create_address - *terraform.NodeRootVariable
var.project - *terraform.NodeRootVariable
var.region - *terraform.NodeRootVariable
var.subnetwork - *terraform.NodeRootVariable
------
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "provider.google" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "google_compute_address.default" references: [var.create_address var.subnetwork var.region var.address_purpose var.project]
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.project" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.subnetwork" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.region" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.address_purpose" references: []
2020/07/07 11:05:30 [DEBUG] ReferenceTransformer: "var.create_address" references: []
2020/07/07 11:05:30 [DEBUG] Starting graph walk: walkPlan
2020/07/07 11:05:30 [TRACE] dag/walk: updating graph
2020-07-07T11:05:30.940-0700 [INFO]  plugin: configuring client automatic mTLS
2020-07-07T11:05:30.965-0700 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 args=[/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5]
2020-07-07T11:05:31.417-0700 [DEBUG] plugin: plugin started: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 pid=30494
2020-07-07T11:05:31.417-0700 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5
2020-07-07T11:05:31.442-0700 [INFO]  plugin.terraform-provider-google_v3.29.0_x5: configuring server automatic mTLS: timestamp=2020-07-07T11:05:31.441-0700
2020-07-07T11:05:31.470-0700 [DEBUG] plugin: using plugin: version=5
2020-07-07T11:05:31.470-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: plugin address: address=/tmp/plugin025019233 network=unix timestamp=2020-07-07T11:05:31.470-0700
2020-07-07T11:05:31.553-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Authenticating using DefaultClient...
2020-07-07T11:05:31.553-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO]   -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating GCE client for path https://www.googleapis.com/compute/v1/projects/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating GCE Beta client for path https://www.googleapis.com/compute/beta/projects/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating GKE client for path https://container.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating GKE Beta client for path https://container.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud DNS client for path https://www.googleapis.com/dns/v1/projects/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud DNS Beta client for path https://www.googleapis.com/dns/v1beta2/projects/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Stackdriver Logging client for path https://logging.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Storage client for path https://www.googleapis.com/storage/v1/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google SqlAdmin client for path https://sqladmin.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Pubsub client for path https://pubsub.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Dataflow client for path https://dataflow.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud ResourceManager client for path https://cloudresourcemanager.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud ResourceManager V client for path https://cloudresourcemanager.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Runtimeconfig client for path https://runtimeconfig.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud IAM client for path https://iam.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud IAMCredentials client for path https://iamcredentials.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Service Management client for path https://servicemanagement.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Service Usage client for path https://serviceusage.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Billing client for path https://cloudbilling.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Build client for path https://cloudbuild.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud BigQuery client for path https://www.googleapis.com/bigquery/v2/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud CloudFunctions Client for path https://cloudfunctions.googleapis.com/
2020-07-07T11:05:31.554-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud BigtableAdmin for path https://bigtableadmin.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Source Repo client for path https://sourcerepo.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Spanner client for path https://spanner.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Dataproc client for path https://dataproc.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Dataproc Beta client for path https://dataproc.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Filestore client for path https://file.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud IoT Core client for path 
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating App Engine client for path https://appengine.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Cloud Composer client for path https://composer.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Service Networking client for path https://servicenetworking.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Storage Transfer client for path https://storagetransfer.googleapis.com/
2020-07-07T11:05:31.555-0700 [DEBUG] plugin.terraform-provider-google_v3.29.0_x5: 2020/07/07 11:05:31 [INFO] Instantiating Google Cloud Healthcare client for path https://healthcare.googleapis.com/
2020/07/07 11:05:31 [DEBUG] Resource instance state not found for node "google_compute_address.default[0]", instance google_compute_address.default[0]
2020/07/07 11:05:31 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2020/07/07 11:05:31 [TRACE] Executing graph transform *terraform.TargetsTransformer
2020/07/07 11:05:31 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2020/07/07 11:05:31 [DEBUG] ReferenceTransformer: "google_compute_address.default[0]" references: []
2020/07/07 11:05:31 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2020/07/07 11:05:31 [TRACE] Executing graph transform *terraform.RootTransformer
2020/07/07 11:05:31 [TRACE] Completed graph transform *terraform.RootTransformer (no changes)
2020/07/07 11:05:31 [TRACE] vertex "google_compute_address.default": entering dynamic subgraph
2020/07/07 11:05:31 [TRACE] dag/walk: updating graph
2020/07/07 11:05:31 [TRACE] dag/walk: added new vertex: "google_compute_address.default[0]"
2020/07/07 11:05:31 [ERROR] <root>: eval: *terraform.EvalDiff, err: expected purpose to be one of [GCE_ENDPOINT ], got SHARED_LOADBALANCER_VIP
2020/07/07 11:05:31 [ERROR] <root>: eval: *terraform.EvalSequence, err: expected purpose to be one of [GCE_ENDPOINT ], got SHARED_LOADBALANCER_VIP
2020/07/07 11:05:31 [TRACE] [walkPlan] Exiting eval tree: google_compute_address.default[0]
2020/07/07 11:05:31 [TRACE] vertex "google_compute_address.default[0]": visit complete
2020/07/07 11:05:31 [TRACE] vertex "google_compute_address.default": dynamic subgraph encountered errors
2020/07/07 11:05:31 [TRACE] vertex "google_compute_address.default": visit complete
2020-07-07T11:05:31.563-0700 [DEBUG] plugin: plugin process exited: path=/mnt/c/Users/<removed>/Desktop/testnet/.terraform/plugins/linux_amd64/terraform-provider-google_v3.29.0_x5 pid=30494
2020-07-07T11:05:31.563-0700 [DEBUG] plugin: plugin exited
mattbowes commented 4 years ago

Looks like it was added to the beta provide: https://github.com/terraform-providers/terraform-provider-google-beta/pull/2204/files

but it was never added to the standard one: https://github.com/terraform-providers/terraform-provider-google/blob/master/google/resource_compute_address.go#L93

edwardmedia commented 4 years ago

@mattbowes currentlySHARED_LOADBALANCER_VIP is supported only google-beta. Closing this issue then. Feel free to reopen it if you see this problem in google-beta

ghost commented 4 years ago

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.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!