Skip to content
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

DLP - google_data_loss_prevention_stored_info_type - group_indexes (regex) update not working #8329

Closed
brodseba opened this issue Jan 29, 2021 · 12 comments · Fixed by GoogleCloudPlatform/magic-modules#4458, #8439 or hashicorp/terraform-provider-google-beta#2947
Assignees
Labels

Comments

@brodseba
Copy link

brodseba commented Jan 29, 2021

Community Note

  • 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 the 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 to hashibot, a community member has claimed the issue already.

Terraform Version

  • Terraform v0.14.5
    • provider registry.terraform.io/hashicorp/google v3.54.0

Affected Resource(s)

  • google_data_loss_prevention_stored_info_type

Terraform Configuration Files

resource "google_data_loss_prevention_stored_info_type" "MY_CUSTOM_TYPE" {
 display_name = "MY_CUSTOM_TYPE"
 parent       = "projects/some-projects/locations/global"
 regex {
   pattern       = "\\b(?:some=)(thing)\\b"
   group_indexes = [1]
 }

Debug Output

Provider "registry.terraform.io/hashicorp/google" produced an unexpected new value for module.DLP.google_data_loss_prevention_stored_info_type.MY_CUSTOM_TYPE, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
  - .regex[0].group_indexes: element 0 has vanished

Expected Behavior

Update a google_data_loss_prevention_stored_info_type resource to add a group_indexes.

Actual Behavior

Resource not updated.

Steps to Reproduce

  1. Create a google_data_loss_prevention_stored_info_type resource with Regex (but with no group_indexes.)
  2. Apply using Terraform.
  3. Update the resource to add a group_indexes.
  4. Tr to reapply using Terraform.

Important Factoids

Resource creation with group_indexes work, but not update.

References

https://cloud.google.com/dlp/docs/reference/rpc/google.privacy.dlp.v2#google.privacy.dlp.v2.CustomInfoType.Regex

  • #0000
@ghost ghost added the bug label Jan 29, 2021
@venkykuberan venkykuberan self-assigned this Jan 29, 2021
@brodseba
Copy link
Author

Google Cloud SDK Version

Google Cloud SDK 325.0.0
alpha 2021.01.22
beta 2021.01.22
bq 2.0.64
core 2021.01.22
docker-credential-gcr 1.5.0
gsutil 4.58
kubectl 1.17.14
kustomize 3.6.1

@venkykuberan
Copy link
Contributor

@brodseba is the resource creation failed or are you getting warnings ? can you please add a little more detail about the issue you are facing.
Adding full debug output would be helpful

@brodseba
Copy link
Author

@venkykuberan I'm not getting any warning. Terraform tell me the change have been made successfully. But if I check the actual resource in GCP, it's not change. I'm guessing if the resource was not already created, I may see an error but in this case, the resource was already created, I only tried to modify it.

If I reapply the same code, Terraform will detect the resource is out of sync and will plan the same change again (still without success.) It's only when I check using TF_LOG=DEBUG that I saw the error message.

For the complete debug log, this is a production infrastructure, so I don't think I can give it to you. But I will create a test code for you (with complete logs) if you need it.

@ghost ghost removed waiting-response labels Jan 29, 2021
@brodseba
Copy link
Author

brodseba commented Jan 29, 2021

@venkykuberan

Terraform v0.14.5

  • provider registry.terraform.io/hashicorp/google v3.54.0
  • provider registry.terraform.io/hashicorp/random v3.0.1

Here an example:

provider "google" {

}

terraform {
  required_providers {
    google = {
      source  = "hashicorp/google"
      version = ">= 3.5"
    }
    random = {
      source  = "hashicorp/random"
      version = ">= 2.0"
    }
  }
  required_version = ">= 0.13"
}

resource "google_data_loss_prevention_stored_info_type" "MY_CUSTOM_INFO_TYPE" {
  description  = "MY_CUSTOM_INFO_TYPE"
  display_name = "MY_CUSTOM_INFO_TYPE"
  parent       = "projects/test-cyber-metrie/locations/global"
  regex {
    pattern       = "(?:some=)(thing)"
    group_indexes = [1]
  }
}

And here the debug logs:

terraform apply
2021/01/29 15:53:45 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
  Use TF_LOG=TRACE to see Terraform's internal logs.
  ----
2021/01/29 15:53:46 [INFO] Terraform version: 0.14.5
2021/01/29 15:53:46 [INFO] Go runtime version: go1.15.6
2021/01/29 15:53:46 [INFO] CLI args: []string{"C:\\apt\\terraform\\terraform.exe", "apply"}
2021/01/29 15:53:46 [DEBUG] Attempting to open CLI config file: C:\Users\brodseba\AppData\Roaming\terraform.rc
2021/01/29 15:53:46 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/01/29 15:53:46 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/01/29 15:53:46 [DEBUG] ignoring non-existing provider search directory C:\Users\brodseba\AppData\Roaming\terraform.d\plugins
2021/01/29 15:53:46 [DEBUG] ignoring non-existing provider search directory C:\Users\brodseba\AppData\Roaming\HashiCorp\Terraform\plugins
2021/01/29 15:53:46 [INFO] CLI command args: []string{"apply"}
2021/01/29 15:53:46 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
  Use TF_LOG=TRACE to see Terraform's internal logs.
  ----
2021/01/29 15:53:46 [DEBUG] New state was assigned lineage "3c19af68-3690-209d-6793-5188361ef135"
2021/01/29 15:53:46 [DEBUG] checking for provisioner in "."
2021/01/29 15:53:46 [DEBUG] checking for provisioner in "C:\\apt\\terraform"
2021/01/29 15:53:46 [INFO] Failed to read plugin lock file .terraform\plugins\windows_amd64\lock.json: open .terraform\plugins\windows_amd64\lock.json: The system cannot find the path specified.
2021/01/29 15:53:46 [INFO] backend/local: starting Apply operation
2021-01-29T15:53:46.695-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T15:53:46.747-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T15:53:47.971-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=16240
2021-01-29T15:53:47.971-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T15:53:48.141-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T15:53:48.138-0500
2021-01-29T15:53:48.175-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T15:53:48.175-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T15:53:48.174-0500
2021-01-29T15:53:48.331-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T15:53:48.467-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=16240
2021-01-29T15:53:48.467-0500 [DEBUG] plugin: plugin exited
2021-01-29T15:53:48.469-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T15:53:48.507-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe]
2021-01-29T15:53:48.759-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe pid=23092
2021-01-29T15:53:48.759-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe
2021-01-29T15:53:48.898-0500 [INFO]  plugin.terraform-provider-random_v3.0.1_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T15:53:48.896-0500
2021-01-29T15:53:48.947-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T15:53:48.947-0500 [DEBUG] plugin.terraform-provider-random_v3.0.1_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T15:53:48.947-0500
2021-01-29T15:53:49.040-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T15:53:49.182-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe pid=23092
2021-01-29T15:53:49.182-0500 [DEBUG] plugin: plugin exited
2021/01/29 15:53:49 [INFO] terraform: building graph: GraphTypeValidate
2021/01/29 15:53:49 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 15:53:49 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" references: []
2021/01/29 15:53:49 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/01/29 15:53:49 [DEBUG] Starting graph walk: walkValidate
2021-01-29T15:53:49.210-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T15:53:49.248-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T15:53:49.284-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=24152
2021-01-29T15:53:49.285-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T15:53:49.440-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T15:53:49.437-0500
2021-01-29T15:53:49.481-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T15:53:49.481-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T15:53:49.480-0500
2021-01-29T15:53:49.675-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T15:53:49.836-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=24152
2021-01-29T15:53:49.836-0500 [DEBUG] plugin: plugin exited
2021/01/29 15:53:49 [INFO] backend/local: apply calling Plan
2021/01/29 15:53:49 [INFO] terraform: building graph: GraphTypePlan
2021/01/29 15:53:49 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 15:53:49 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" references: []
2021/01/29 15:53:49 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/01/29 15:53:49 [DEBUG] Starting graph walk: walkPlan
2021-01-29T15:53:49.896-0500 [INFO]  plugin: configuring client automatic mTLS
ders/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T15:53:49.999-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=23132
2021-01-29T15:53:49.999-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T15:53:50.122-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T15:53:50.120-0500
2021-01-29T15:53:50.154-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T15:53:50.154-0500
2021-01-29T15:53:50.154-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T15:53:50.293-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:50 [INFO] Authenticating using DefaultClient...: timestamp=2021-01-29T15:53:50.293-0500
2021-01-29T15:53:50.293-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:50 [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]: timestamp=2021-01-29T15:53:50.293-0500
2021/01/29 15:53:50 [DEBUG] Resource instance state not found for node "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE", instance google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
Transformer (no changes)
2021/01/29 15:53:50 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" references: []
2021/01/29 15:53:50 [DEBUG] refresh: google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE: no state, so not refreshing
2021-01-29T15:53:50.322-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T15:53:50.555-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=23132
2021-01-29T15:53:50.555-0500 [DEBUG] plugin: plugin exited

2021/01/29 15:53:50 [DEBUG] command: asking for input: "Do you want to perform these actions?"
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE will be created
  + resource "google_data_loss_prevention_stored_info_type" "MY_CUSTOM_INFO_TYPE" {
      + description  = "MY_CUSTOM_INFO_TYPE"
      + display_name = "MY_CUSTOM_INFO_TYPE"
      + id           = (known after apply)
      + name         = (known after apply)
      + parent       = "projects/test-iuqerghi/locations/global"

      + regex {
          + group_indexes = [
              + 1,
            ]
          + pattern       = "(?:some=)(thing)"
        }
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes
2021/01/29 15:53:55 [INFO] backend/local: apply calling Apply

2021/01/29 15:53:55 [INFO] terraform: building graph: GraphTypeApply
2021/01/29 15:53:55 [DEBUG] Resource state not found for node "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE", instance google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 15:53:55 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 15:53:55 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google"]
:53:55 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 15:53:55 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/01/29 15:53:55 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" references: []
2021/01/29 15:53:55 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" references: []
2021/01/29 15:53:55 [DEBUG] Starting graph walk: walkApply
2021-01-29T15:53:55.985-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T15:53:56.028-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T15:53:56.057-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=23528
2021-01-29T15:53:56.057-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T15:53:56.274-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T15:53:56.272-0500
2021-01-29T15:53:56.310-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T15:53:56.310-0500
2021-01-29T15:53:56.310-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T15:53:56.458-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:56 [INFO] Authenticating using DefaultClient...: timestamp=2021-01-29T15:53:56.458-0500
2021-01-29T15:53:56.458-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:56 [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]: timestamp=2021-01-29T15:53:56.458-0500
2021/01/29 15:53:56 [DEBUG] EvalApply: ProviderMeta config value set
2021/01/29 15:53:56 [DEBUG] google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE: applying the planned Create change
2021-01-29T15:53:56.478-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:56 [DEBUG] Creating new StoredInfoType: map[string]interface {}{"config":map[string]interface {}{"description":"MY_CUSTOM_INFO_TYPE", "displayName":"MY_CUSTOM_INFO_TYPE", "regex":map[string]interface {}{"groupIndexes":[]interface {}{1}, "pattern":"(?:some=)(thing)"}}}: timestamp=2021-01-29T15:53:56.477-0500
2021-01-29T15:53:56.478-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:56 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T15:53:56.478-0500
goo2021-01-29T15:53:56.479-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:56 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-01-29T15:53:56.479-0500
g2021-01-29T15:53:56.479-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:56 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-01-29T15:53:56.479-0500
l2021-01-29T15:53:56.479-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:56 [DEBUG] Google API Request Details:
e-------------------------------------
_POST /v2/projects/test-iuqerghi/locations/global/storedInfoTypes?alt=json HTTP/1.1
Host: dlp.googleapis.com
daUser-Agent: Terraform/0.14.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
tContent-Length: 143
aContent-Type: application/json
_Accept-Encoding: gzip
l
{
o "config": {
s  "description": "MY_CUSTOM_INFO_TYPE",
s  "displayName": "MY_CUSTOM_INFO_TYPE",
_  "regex": {
p   "groupIndexes": [
r    1
e   ],
   "pattern": "(?:some=)(thing)"
  }
 }
ve}
nt
-----------------------------------------------------: timestamp=2021-01-29T15:53:56.479-0500
ion_stored_info_type.MY_CUSTOM_INFO_TYPE: Creating...
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 29 Jan 2021 20:53:59 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

1a0
{
  "name": "projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486",
  "currentVersion": {
    "config": {
      "displayName": "MY_CUSTOM_INFO_TYPE",
      "description": "MY_CUSTOM_INFO_TYPE",
      "regex": {
        "pattern": "(?:some=)(thing)",
        "groupIndexes": [
1
        ]
      }
    },
    "createTime": "2021-01-29T20:53:59.198338Z",
    "state": "READY"
  }
}

0


-----------------------------------------------------: timestamp=2021-01-29T15:53:59.275-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-01-29T15:53:59.275-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Creating StoredInfoType: Polling until expected state is read: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Target occurrences: 1: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.276-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486?alt=json HTTP/1.1
Host: dlp.googleapis.com
User-Agent: Terraform/0.14.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
Content-Type: application/json
Accept-Encoding: gzip


-----------------------------------------------------: timestamp=2021-01-29T15:53:59.276-0500
2021-01-29T15:53:59.856-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 29 Jan 2021 20:53:59 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

1a0
{
  "name": "projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486",
  "currentVersion": {
    "config": {
      "displayName": "MY_CUSTOM_INFO_TYPE",
      "description": "MY_CUSTOM_INFO_TYPE",
      "regex": {
        "pattern": "(?:some=)(thing)",
        "groupIndexes": [
1
        ]
      }
    },
    "createTime": "2021-01-29T20:53:59.198338Z",
    "state": "READY"
  }
}

0


-----------------------------------------------------: timestamp=2021-01-29T15:53:59.856-0500
2021-01-29T15:53:59.856-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-01-29T15:53:59.856-0500
2021-01-29T15:53:59.856-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-01-29T15:53:59.856-0500
2021-01-29T15:53:59.856-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Finished creating StoredInfoType "projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486": map[string]interface {}{"currentVersion":map[string]interface {}{"config":map[string]interface {}{"description":"MY_CUSTOM_INFO_TYPE", "displayName":"MY_CUSTOM_INFO_TYPE", "regex":map[string]interface {}{"groupIndexes":[]interface {}{1}, "pattern":"(?:some=)(thing)"}}, "createTime":"2021-01-29T20:53:59.198338Z", "state":"READY"}, "name":"projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486"}: timestamp=2021-01-29T15:53:59.856-0500
2021-01-29T15:53:59.856-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T15:53:59.856-0500
2021-01-29T15:53:59.857-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-01-29T15:53:59.856-0500
g2021-01-29T15:53:59.857-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-01-29T15:53:59.856-0500
o2021-01-29T15:53:59.857-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:53:59 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
oGET /v2/projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486?alt=json HTTP/1.1
gHost: dlp.googleapis.com
lUser-Agent: Terraform/0.14.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
eContent-Type: application/json
_Accept-Encoding: gzip
d
a
t-----------------------------------------------------: timestamp=2021-01-29T15:53:59.857-0500
a2021-01-29T15:54:00.471-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:54:00 [DEBUG] Google API Response Details:
_---[ RESPONSE ]--------------------------------------
lHTTP/1.1 200 OK
oConnection: close
sTransfer-Encoding: chunked
sAlt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
_Cache-Control: private
pContent-Type: application/json; charset=UTF-8
rDate: Fri, 29 Jan 2021 20:54:00 GMT
eServer: ESF
vVary: Origin
eVary: X-Origin
nVary: Referer
tX-Content-Type-Options: nosniff
iX-Frame-Options: SAMEORIGIN
oX-Xss-Protection: 0
n
_1a0
{
s  "name": "projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486",
t  "currentVersion": {
o    "config": {
r      "displayName": "MY_CUSTOM_INFO_TYPE",
e      "description": "MY_CUSTOM_INFO_TYPE",
d      "regex": {
_        "pattern": "(?:some=)(thing)",
i        "groupIndexes": [
n1
f        ]
o      }
    },
_9.198338Z",
t    "state": "READY"
y  }
}
p
e0
.
M
Y-----------------------------------------------------: timestamp=2021-01-29T15:54:00.470-0500
_2021-01-29T15:54:00.471-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:54:00 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-01-29T15:54:00.470-0500
2021-01-29T15:54:00.471-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 15:54:00 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-01-29T15:54:00.470-0500
C2021-01-29T15:54:00.482-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
U2021-01-29T15:54:00.907-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=23528
S2021-01-29T15:54:00.908-0500 [DEBUG] plugin: plugin exited
TOM_INFO_TYPE: Creation complete after 4s [id=projects/test-iuqerghi/locations/global/storedInfoTypes/8055776720080949486]
```

@brodseba
Copy link
Author

brodseba commented Jan 29, 2021

@venkykuberan
Ok, things are clearer now.

Creating a NEW resource with group_indexes work.
ADDING group_indexes to a existing resource doesn't work.

Maybe a error with the PATCH request from the REST/gRPC?

I create a custom info_type (MY_CUSTOM_INFO_TYPE_2) without an group_indexes. Apply using terraform. Then I added the group_indexes, re-apply with terraform and got the issue.

2021/01/29 16:21:58 [INFO] Terraform version: 0.14.5  
2021/01/29 16:21:58 [INFO] Go runtime version: go1.15.6
2021/01/29 16:21:58 [INFO] CLI args: []string{"C:\\apt\\terraform\\terraform.exe", "apply"}
2021/01/29 16:21:58 [DEBUG] Attempting to open CLI config file: C:\Users\brodseba\AppData\Roaming\terraform.rc
2021/01/29 16:21:58 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/01/29 16:21:58 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/01/29 16:21:58 [DEBUG] ignoring non-existing provider search directory C:\Users\brodseba\AppData\Roaming\terraform.d\plugins
2021/01/29 16:21:58 [DEBUG] ignoring non-existing provider search directory C:\Users\brodseba\AppData\Roaming\HashiCorp\Terraform\plugins
2021/01/29 16:21:58 [INFO] CLI command args: []string{"apply"}
2021/01/29 16:21:58 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/01/29 16:21:58 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/01/29 16:21:58 [DEBUG] New state was assigned lineage "7795c038-ec62-2837-dd56-54fcabd33d15"
2021/01/29 16:21:58 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2021/01/29 16:21:58 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/01/29 16:21:58 [TRACE] providercache.fillMetaCache: scanning directory .terraform\providers
2021/01/29 16:21:58 [TRACE] getproviders.SearchLocalDirectory: .terraform\providers is a symlink to .terraform\providers
2021/01/29 16:21:58 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/google v3.54.0 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\google\3.54.0\windows_amd64
2021/01/29 16:21:58 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.0.1 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\random\3.0.1\windows_amd64
2021/01/29 16:21:58 [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\google\3.54.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/google 3.54.0
2021/01/29 16:21:58 [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\random\3.0.1\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/random 3.0.1
2021/01/29 16:21:59 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers
2021/01/29 16:21:59 [DEBUG] checking for provisioner in "."
2021/01/29 16:21:59 [DEBUG] checking for provisioner in "C:\\apt\\terraform"
2021/01/29 16:21:59 [INFO] Failed to read plugin lock file .terraform\plugins\windows_amd64\lock.json: open .terraform\plugins\windows_amd64\lock.json: The system cannot find the path specified.
2021/01/29 16:21:59 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/01/29 16:21:59 [INFO] backend/local: starting Apply operation
2021/01/29 16:21:59 [TRACE] backend/local: requesting state manager for workspace "default"
2021/01/29 16:21:59 [TRACE] backend/local: state manager for workspace "default" will:
 - read initial snapshot from terraform.tfstate
 - write new snapshots to terraform.tfstate
 - create any backup at terraform.tfstate.backup
2021/01/29 16:21:59 [TRACE] backend/local: requesting state lock for workspace "default"
2021/01/29 16:21:59 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2021/01/29 16:21:59 [TRACE] statemgr.Filesystem: existing snapshot has lineage "d5745af2-4730-a943-8eb9-f5000d7a912f" serial 7
2021/01/29 16:21:59 [TRACE] statemgr.Filesystem: locking terraform.tfstate using LockFileEx
2021/01/29 16:21:59 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2021/01/29 16:21:59 [TRACE] backend/local: reading remote state for workspace "default"
2021/01/29 16:21:59 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/01/29 16:21:59 [TRACE] statemgr.Filesystem: read snapshot with lineage "d5745af2-4730-a943-8eb9-f5000d7a912f" serial 7
2021/01/29 16:21:59 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2021/01/29 16:21:59 [TRACE] backend/local: building context for current working directory
2021/01/29 16:21:59 [TRACE] terraform.NewContext: starting
2021/01/29 16:21:59 [TRACE] terraform.NewContext: loading provider schemas
2021/01/29 16:21:59 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/google"
2021-01-29T16:21:59.222-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T16:21:59.249-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T16:21:59.263-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=18912
2021-01-29T16:21:59.263-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T16:21:59.353-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T16:21:59.351-0500
2021-01-29T16:21:59.380-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T16:21:59.380-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T16:21:59.380-0500
2021/01/29 16:21:59 [TRACE] GRPCProvider: GetSchema
2021-01-29T16:21:59.436-0500 [TRACE] plugin.stdio: waiting for stdio data
2021/01/29 16:21:59 [TRACE] GRPCProvider: Close
2021-01-29T16:21:59.484-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T16:21:59.603-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=18912
2021-01-29T16:21:59.603-0500 [DEBUG] plugin: plugin exited
2021/01/29 16:21:59 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/random"
2021-01-29T16:21:59.604-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T16:21:59.628-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe]
2021-01-29T16:21:59.639-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe pid=21848
2021-01-29T16:21:59.639-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe
2021-01-29T16:21:59.713-0500 [INFO]  plugin.terraform-provider-random_v3.0.1_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T16:21:59.711-0500
2021-01-29T16:21:59.744-0500 [DEBUG] plugin.terraform-provider-random_v3.0.1_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T16:21:59.743-0500
2021-01-29T16:21:59.744-0500 [DEBUG] plugin: using plugin: version=5
2021/01/29 16:21:59 [TRACE] GRPCProvider: GetSchema
2021-01-29T16:21:59.798-0500 [TRACE] plugin.stdio: waiting for stdio data
2021/01/29 16:21:59 [TRACE] GRPCProvider: Close
2021-01-29T16:21:59.800-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T16:21:59.914-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.0.1/windows_amd64/terraform-provider-random_v3.0.1_x5.exe pid=21848
2021-01-29T16:21:59.914-0500 [DEBUG] plugin: plugin exited
2021/01/29 16:21:59 [TRACE] terraform.NewContext: complete
2021/01/29 16:21:59 [TRACE] backend/local: finished building terraform.Context
2021/01/29 16:21:59 [TRACE] backend/local: requesting interactive input, if necessary
2021/01/29 16:21:59 [TRACE] Context.Input: Prompting for provider arguments
2021/01/29 16:21:59 [TRACE] Context.Input: Provider provider.google declared at main.tf:1,1-18
2021/01/29 16:21:59 [TRACE] Context.Input: Input for provider.google: map[string]cty.Value{}
2021/01/29 16:21:59 [TRACE] backend/local: running validation operation
2021/01/29 16:21:59 [INFO] terraform: building graph: GraphTypeValidate
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021/01/29 16:21:59 [TRACE] ConfigTransformer: Starting for path: 
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
  ------
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.LocalTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.OutputTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.StateTransformer
2021/01/29 16:21:59 [TRACE] StateTransformer: state is empty, so nothing to do
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021/01/29 16:21:59 [TRACE] AttachResourceConfigTransformer: attaching to "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" (*terraform.NodeValidatableResource) config from main.tf:29,1-80
2021/01/29 16:21:59 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:21:59 [TRACE] AttachResourceConfigTransformer: attaching to "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" (*terraform.NodeValidatableResource) config from main.tf:19,1-78
2021/01/29 16:21:59 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021/01/29 16:21:59 [TRACE] ProviderConfigTransformer: attaching to "provider[\"registry.terraform.io/hashicorp/google\"]" provider configuration from main.tf:1,1-18
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021/01/29 16:21:59 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/google"] serving google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:21:59 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:21:59 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/google"] serving google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:21:59 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2021/01/29 16:21:59 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021/01/29 16:21:59 [TRACE] AttachSchemaTransformer: attaching resource schema to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:21:59 [TRACE] AttachSchemaTransformer: attaching resource schema to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:21:59 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/01/29 16:21:59 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" references: []
2021/01/29 16:21:59 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/01/29 16:21:59 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" references: []
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.attachDataResourceDependenciesTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.attachDataResourceDependenciesTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
  ------
2021/01/29 16:21:59 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021/01/29 16:21:59 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodeValidatableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeValidatableResource
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
  ------
2021/01/29 16:21:59 [DEBUG] Starting graph walk: walkValidate
2021/01/29 16:21:59 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/google\"]"
2021/01/29 16:21:59 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"]": starting visit (*terraform.NodeApplyableProvider)
2021-01-29T16:21:59.916-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T16:21:59.940-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T16:21:59.951-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=6536
2021-01-29T16:21:59.952-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T16:22:00.044-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T16:22:00.042-0500
2021-01-29T16:22:00.077-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T16:22:00.077-0500
2021-01-29T16:22:00.077-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T16:22:00.130-0500 [TRACE] plugin.stdio: waiting for stdio data
2021/01/29 16:22:00 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/google\"]" provider for provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:00 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/google"]: using explicit config only
2021/01/29 16:22:00 [TRACE] GRPCProvider: GetSchema
2021/01/29 16:22:00 [TRACE] GRPCProvider: PrepareProviderConfig
2021/01/29 16:22:00 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"]": visit complete
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2"
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": starting visit (*terraform.NodeValidatableResource)
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE"
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": starting visit (*terraform.NodeValidatableResource)
2021/01/29 16:22:00 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/01/29 16:22:00 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": visit complete
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": visit complete
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2021/01/29 16:22:00 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/google\"] (close)"
2021/01/29 16:22:00 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2021/01/29 16:22:00 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2021/01/29 16:22:00 [TRACE] GRPCProvider: Close
2021-01-29T16:22:00.212-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T16:22:00.330-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=6536
2021-01-29T16:22:00.330-0500 [DEBUG] plugin: plugin exited
2021/01/29 16:22:00 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"] (close)": visit complete
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "root"
2021/01/29 16:22:00 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2021/01/29 16:22:00 [TRACE] vertex "root": visit complete
2021/01/29 16:22:00 [INFO] backend/local: apply calling Plan
2021/01/29 16:22:00 [INFO] terraform: building graph: GraphTypePlan
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021/01/29 16:22:00 [TRACE] ConfigTransformer: Starting for path: 
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
  ------
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.LocalTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.OutputTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.StateTransformer
2021/01/29 16:22:00 [TRACE] StateTransformer: creating nodes for deposed instance objects only
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021/01/29 16:22:00 [TRACE] AttachResourceConfigTransformer: attaching to "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" (*terraform.nodeExpandPlannableResource) config from main.tf:19,1-78
2021/01/29 16:22:00 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)
2021/01/29 16:22:00 [TRACE] AttachResourceConfigTransformer: attaching to "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)" (*terraform.nodeExpandPlannableResource) config from main.tf:29,1-80
2021/01/29 16:22:00 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021/01/29 16:22:00 [TRACE] ProviderConfigTransformer: attaching to "provider[\"registry.terraform.io/hashicorp/google\"]" provider configuration from main.tf:1,1-18
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021/01/29 16:22:00 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/google"] serving google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)
2021/01/29 16:22:00 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:00 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/google"] serving google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)
2021/01/29 16:22:00 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2021/01/29 16:22:00 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021/01/29 16:22:00 [TRACE] AttachSchemaTransformer: attaching resource schema to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)
2021/01/29 16:22:00 [TRACE] AttachSchemaTransformer: attaching resource schema to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)
2021/01/29 16:22:00 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/01/29 16:22:00 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)" references: []
2021/01/29 16:22:00 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/01/29 16:22:00 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" references: []
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021/01/29 16:22:00 [TRACE] AttachDependenciesTransformer: google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE depends on []
2021/01/29 16:22:00 [TRACE] AttachDependenciesTransformer: google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 depends on []
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.attachDataResourceDependenciesTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.attachDataResourceDependenciesTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021/01/29 16:22:00 [TRACE] ForcedCBDTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" (*terraform.nodeExpandPlannableResource) has no CBD descendent, so skipping
2021/01/29 16:22:00 [TRACE] ForcedCBDTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)" (*terraform.nodeExpandPlannableResource) has no CBD descendent, so skipping
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
  ------
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandPlannableResource
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandPlannableResource
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
  ------
2021/01/29 16:22:00 [DEBUG] Starting graph walk: walkPlan
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/google\"]"
2021/01/29 16:22:00 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"]": starting visit (*terraform.NodeApplyableProvider)
2021-01-29T16:22:00.332-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T16:22:00.357-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T16:22:00.370-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=23784
2021-01-29T16:22:00.370-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T16:22:00.470-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T16:22:00.467-0500
2021-01-29T16:22:00.503-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T16:22:00.503-0500
2021-01-29T16:22:00.503-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T16:22:00.561-0500 [TRACE] plugin.stdio: waiting for stdio data
2021/01/29 16:22:00 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/google\"]" provider for provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:00 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/google"]: using explicit config only
2021/01/29 16:22:00 [TRACE] GRPCProvider: GetSchema
2021/01/29 16:22:00 [TRACE] GRPCProvider: Configure
2021-01-29T16:22:00.607-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [INFO] Authenticating using DefaultClient...: timestamp=2021-01-29T16:22:00.607-0500
2021-01-29T16:22:00.607-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [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]: timestamp=2021-01-29T16:22:00.607-0500
2021/01/29 16:22:00 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"]": visit complete
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)"
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": starting visit (*terraform.nodeExpandPlannableResource)
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": expanding dynamic subgraph
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)"
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": entering dynamic subgraph
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)": starting visit (*terraform.nodeExpandPlannableResource)
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)": expanding dynamic subgraph
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)": entering dynamic subgraph
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2"
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": starting visit (*terraform.NodePlannableResource)
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE"
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": starting visit (*terraform.NodePlannableResource)
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": expanding dynamic subgraph
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": expanding dynamic subgraph
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ResourceCountTransformer
2021/01/29 16:22:00 [TRACE] ResourceCountTransformer: adding google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 as *terraform.NodePlannableResourceInstance
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ResourceCountTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodePlannableResourceInstance
  ------
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceCountTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceCountTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/01/29 16:22:00 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" references: []
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.RootTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.RootTransformer (no changes)
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": entering dynamic subgraph
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2"
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ResourceCountTransformer
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": starting visit (*terraform.NodePlannableResourceInstance)
2021/01/29 16:22:00 [TRACE] ResourceCountTransformer: adding google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE as *terraform.NodePlannableResourceInstance
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ResourceCountTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE - *terraform.NodePlannableResourceInstance
  ------
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceCountTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceCountTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/01/29 16:22:00 [TRACE] ReadResourceInstanceState: reading state for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/01/29 16:22:00 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE" references: []
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/01/29 16:22:00 [TRACE] Executing graph transform *terraform.RootTransformer
2021/01/29 16:22:00 [TRACE] Completed graph transform *terraform.RootTransformer (no changes)
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": entering dynamic subgraph
2021/01/29 16:22:00 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE"
2021/01/29 16:22:00 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": starting visit (*terraform.NodePlannableResourceInstance)
2021/01/29 16:22:00 [TRACE] UpgradeResourceState: schema version of google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 is still 0; calling provider "google" for any other minor fixups
2021/01/29 16:22:00 [TRACE] GRPCProvider: UpgradeResourceState
2021/01/29 16:22:00 [TRACE] ReadResourceInstanceState: reading state for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:22:00 [TRACE] UpgradeResourceState: schema version of google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE is still 0; calling provider "google" for any other minor fixups
2021/01/29 16:22:00 [TRACE] GRPCProvider: UpgradeResourceState
2021/01/29 16:22:00 [TRACE] GRPCProvider: ReadResource
2021/01/29 16:22:00 [TRACE] GRPCProvider: ReadResource
2021-01-29T16:22:00.611-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T16:22:00.611-0500
2021-01-29T16:22:00.611-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T16:22:00.611-0500
2021-01-29T16:22:00.611-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-01-29T16:22:00.611-0500
2021-01-29T16:22:00.611-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-01-29T16:22:00.611-0500
2021-01-29T16:22:00.611-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-01-29T16:22:00.611-0500
2021-01-29T16:22:00.611-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-01-29T16:22:00.611-0500
2021-01-29T16:22:00.612-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296?alt=json HTTP/1.1
Host: dlp.googleapis.com
User-Agent: Terraform/0.14.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
Content-Type: application/json
Accept-Encoding: gzip


-----------------------------------------------------: timestamp=2021-01-29T16:22:00.611-0500
2021-01-29T16:22:00.612-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:00 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/projects/test-iljerhglirfh/locations/global/storedInfoTypes/4470586850862703724?alt=json HTTP/1.1
Host: dlp.googleapis.com
User-Agent: Terraform/0.14.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
Content-Type: application/json
Accept-Encoding: gzip


-----------------------------------------------------: timestamp=2021-01-29T16:22:00.612-0500
2021-01-29T16:22:01.800-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:01 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 29 Jan 2021 21:22:01 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

173
{
  "name": "projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296",
  "currentVersion": {
    "config": {
      "displayName": "MY_CUSTOM_INFO_TYPE_2",
      "description": "MY_CUSTOM_INFO_TYPE_2",
      "regex": {
        "pattern": "(?:some=)(thing)"
      }
    },
    "createTime": "2021-01-29T21:14:18.346141Z",
    "state": "READY"
  }
}

0


-----------------------------------------------------: timestamp=2021-01-29T16:22:01.800-0500
2021-01-29T16:22:01.800-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:01 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-01-29T16:22:01.800-0500
2021-01-29T16:22:01.800-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:01 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-01-29T16:22:01.800-0500
2021/01/29 16:22:01 [TRACE] EvalWriteState: using RefreshState for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:01 [TRACE] EvalWriteState: recording 0 dependencies for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:01 [TRACE] EvalWriteState: writing current state object for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:01 [TRACE] Re-validating config for "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2"
2021/01/29 16:22:01 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/01/29 16:22:01 [TRACE] GRPCProvider: PlanResourceChange
2021/01/29 16:22:01 [TRACE] EvalWriteState: writing current state object for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:01 [TRACE] EvalWriteDiff: recorded Update change for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": visit complete
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": dynamic subgraph completed successfully
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": visit complete
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": dynamic subgraph completed successfully
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": visit complete
2021-01-29T16:22:01.810-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:01 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 29 Jan 2021 21:22:01 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

1a0
{
  "name": "projects/test-iljerhglirfh/locations/global/storedInfoTypes/4470586850862703724",
  "currentVersion": {
    "config": {
      "displayName": "MY_CUSTOM_INFO_TYPE",
      "description": "MY_CUSTOM_INFO_TYPE",
      "regex": {
        "pattern": "(?:some=)(thing)",
        "groupIndexes": [
1
        ]
      }
    },
    "createTime": "2021-01-29T21:05:18.193808Z",
    "state": "READY"
  }
}

0


-----------------------------------------------------: timestamp=2021-01-29T16:22:01.810-0500
2021-01-29T16:22:01.810-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:01 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-01-29T16:22:01.810-0500
2021-01-29T16:22:01.810-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:01 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-01-29T16:22:01.810-0500
2021/01/29 16:22:01 [TRACE] EvalWriteState: using RefreshState for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:22:01 [TRACE] EvalWriteState: recording 0 dependencies for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:22:01 [TRACE] EvalWriteState: writing current state object for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:22:01 [TRACE] Re-validating config for "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE"
2021/01/29 16:22:01 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/01/29 16:22:01 [TRACE] GRPCProvider: PlanResourceChange
2021/01/29 16:22:01 [TRACE] EvalWriteState: writing current state object for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:22:01 [TRACE] EvalWriteDiff: recorded NoOp change for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": visit complete
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": dynamic subgraph completed successfully
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE": visit complete
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)": dynamic subgraph completed successfully
2021/01/29 16:22:01 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)": visit complete
2021/01/29 16:22:01 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/google\"] (close)"
2021/01/29 16:22:01 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2021/01/29 16:22:01 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2021/01/29 16:22:01 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2021/01/29 16:22:01 [TRACE] GRPCProvider: Close
2021/01/29 16:22:01 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2021-01-29T16:22:01.814-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T16:22:01.933-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=23784
2021-01-29T16:22:01.933-0500 [DEBUG] plugin: plugin exited
2021/01/29 16:22:01 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"] (close)": visit complete
2021/01/29 16:22:01 [TRACE] dag/walk: visiting "root"
2021/01/29 16:22:01 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2021/01/29 16:22:01 [TRACE] vertex "root": visit complete
2021/01/29 16:22:01 [DEBUG] command: asking for input: "Do you want to perform these actions?"
2021/01/29 16:22:06 [INFO] backend/local: apply calling Apply
2021/01/29 16:22:06 [INFO] terraform: building graph: GraphTypeApply
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021/01/29 16:22:06 [TRACE] ConfigTransformer: Starting for path: 
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandApplyableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
  ------
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.LocalTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.OutputTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.DiffTransformer
2021/01/29 16:22:06 [TRACE] DiffTransformer starting
2021/01/29 16:22:06 [TRACE] DiffTransformer: found Update change for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 
2021/01/29 16:22:06 [TRACE] DiffTransformer: google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 will be represented by google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [TRACE] DiffTransformer: found NoOp change for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE 
2021/01/29 16:22:06 [TRACE] DiffTransformer complete
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandApplyableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
  ------
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021/01/29 16:22:06 [TRACE] AttachResourceConfigTransformer: attaching to "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:19,1-78
2021/01/29 16:22:06 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)
2021/01/29 16:22:06 [TRACE] AttachResourceConfigTransformer: attaching to "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:29,1-80
2021/01/29 16:22:06 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)
2021/01/29 16:22:06 [TRACE] AttachResourceConfigTransformer: attaching to "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" (*terraform.NodeApplyableResourceInstance) config from main.tf:29,1-80
2021/01/29 16:22:06 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021/01/29 16:22:06 [TRACE] ProviderConfigTransformer: attaching to "provider[\"registry.terraform.io/hashicorp/google\"]" provider configuration from main.tf:1,1-18
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandApplyableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021/01/29 16:22:06 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/google"] serving google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)
2021/01/29 16:22:06 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:06 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/google"] serving google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)
2021/01/29 16:22:06 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:06 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/google"] serving google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [DEBUG] ProviderTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2021/01/29 16:22:06 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021/01/29 16:22:06 [TRACE] AttachSchemaTransformer: attaching resource schema to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)
2021/01/29 16:22:06 [TRACE] AttachSchemaTransformer: attaching resource schema to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)
2021/01/29 16:22:06 [TRACE] AttachSchemaTransformer: attaching resource schema to google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/01/29 16:22:06 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand)" references: []
2021/01/29 16:22:06 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)" references: []
2021/01/29 16:22:06 [DEBUG] ReferenceTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" references: []
2021/01/29 16:22:06 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021/01/29 16:22:06 [TRACE] AttachDependenciesTransformer: google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 depends on []
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021/01/29 16:22:06 [TRACE] ForcedCBDTransformer: "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer
2021/01/29 16:22:06 [DEBUG] pruneUnusedNodes: google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE (expand) is no longer needed, removing
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  ------
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.CloseProvisionerTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.CloseProvisionerTransformer (no changes)
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
  ------
2021/01/29 16:22:06 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021/01/29 16:22:06 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
  google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand) - *terraform.nodeExpandApplyableResource
    provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
  provider["registry.terraform.io/hashicorp/google"] - *terraform.NodeApplyableProvider
  provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
    google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 - *terraform.NodeApplyableResourceInstance
  root - *terraform.nodeCloseModule
    meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
    provider["registry.terraform.io/hashicorp/google"] (close) - *terraform.graphNodeCloseProvider
  ------
2021/01/29 16:22:06 [DEBUG] Starting graph walk: walkApply
2021/01/29 16:22:06 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/google\"]"
2021/01/29 16:22:06 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"]": starting visit (*terraform.NodeApplyableProvider)
2021-01-29T16:22:06.029-0500 [INFO]  plugin: configuring client automatic mTLS
2021-01-29T16:22:06.068-0500 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe]
2021-01-29T16:22:06.094-0500 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=24124
2021-01-29T16:22:06.094-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe
2021-01-29T16:22:06.201-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: configuring server automatic mTLS: timestamp=2021-01-29T16:22:06.199-0500
2021-01-29T16:22:06.228-0500 [DEBUG] plugin: using plugin: version=5
2021-01-29T16:22:06.228-0500 [DEBUG] plugin.terraform-provider-google_v3.54.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2021-01-29T16:22:06.228-0500
2021-01-29T16:22:06.284-0500 [TRACE] plugin.stdio: waiting for stdio data
2021/01/29 16:22:06 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/google\"]" provider for provider["registry.terraform.io/hashicorp/google"]
2021/01/29 16:22:06 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/google"]: using explicit config only
2021/01/29 16:22:06 [TRACE] GRPCProvider: GetSchema
2021/01/29 16:22:06 [TRACE] GRPCProvider: Configure
2021-01-29T16:22:06.332-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:06 [INFO] Authenticating using DefaultClient...: timestamp=2021-01-29T16:22:06.332-0500
2021-01-29T16:22:06.332-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:06 [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]: timestamp=2021-01-29T16:22:06.332-0500
2021/01/29 16:22:06 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"]": visit complete
2021/01/29 16:22:06 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)"
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": expanding dynamic subgraph
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": entering dynamic subgraph
2021/01/29 16:22:06 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2"
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": starting visit (*terraform.NodeApplyableResource)
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": visit complete
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": dynamic subgraph completed successfully
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 (expand)": visit complete
2021/01/29 16:22:06 [TRACE] dag/walk: visiting "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2"
2021/01/29 16:22:06 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": starting visit (*terraform.NodeApplyableResourceInstance)
2021/01/29 16:22:06 [TRACE] EvalReadDiff: Read Update change from plan for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [TRACE] EvalReadState: reading state for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [TRACE] UpgradeResourceState: schema version of google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 is still 0; calling provider "google" for any other minor fixups
2021/01/29 16:22:06 [TRACE] GRPCProvider: UpgradeResourceState
2021/01/29 16:22:06 [TRACE] EvalReadDiff: Read Update change from plan for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [TRACE] Re-validating config for "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2"
2021/01/29 16:22:06 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/01/29 16:22:06 [TRACE] GRPCProvider: PlanResourceChange
2021/01/29 16:22:06 [TRACE] EvalCheckPlannedChange: Verifying that actual change (action Update) matches planned change (action Update)
2021/01/29 16:22:06 [TRACE] EvalReadState: reading state for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:06 [TRACE] UpgradeResourceState: schema version of google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 is still 0; calling provider "google" for any other minor fixups
2021/01/29 16:22:06 [TRACE] GRPCProvider: UpgradeResourceState
2021/01/29 16:22:06 [DEBUG] EvalApply: ProviderMeta config value set
2021/01/29 16:22:06 [DEBUG] google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2: applying the planned Update change
2021/01/29 16:22:06 [TRACE] GRPCProvider: ApplyResourceChange
2021-01-29T16:22:06.341-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:06 [DEBUG] Updating StoredInfoType "projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296": map[string]interface {}{"config":map[string]interface {}{"description":"MY_CUSTOM_INFO_TYPE_2", "displayName":"MY_CUSTOM_INFO_TYPE_2"}}: timestamp=2021-01-29T16:22:06.341-0500
2021-01-29T16:22:06.341-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:06 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T16:22:06.341-0500
2021-01-29T16:22:06.342-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:06 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-01-29T16:22:06.342-0500
2021-01-29T16:22:06.342-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:06 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-01-29T16:22:06.342-0500
2021-01-29T16:22:06.342-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:06 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
PATCH /v2/projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296?alt=json&updateMask= HTTP/1.1
Host: dlp.googleapis.com
User-Agent: Terraform/0.14.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
Content-Length: 89
Content-Type: application/json
Accept-Encoding: gzip

{
 "config": {
  "description": "MY_CUSTOM_INFO_TYPE_2",
  "displayName": "MY_CUSTOM_INFO_TYPE_2"
 }
}

-----------------------------------------------------: timestamp=2021-01-29T16:22:06.342-0500
2021-01-29T16:22:07.835-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 29 Jan 2021 21:22:07 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

173
{
  "name": "projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296",
  "currentVersion": {
    "config": {
      "displayName": "MY_CUSTOM_INFO_TYPE_2",
      "description": "MY_CUSTOM_INFO_TYPE_2",
      "regex": {
        "pattern": "(?:some=)(thing)"
      }
    },
    "createTime": "2021-01-29T21:22:07.448920Z",
    "state": "READY"
  }
}

0


-----------------------------------------------------: timestamp=2021-01-29T16:22:07.835-0500
2021-01-29T16:22:07.835-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-01-29T16:22:07.835-0500
2021-01-29T16:22:07.835-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-01-29T16:22:07.835-0500
2021-01-29T16:22:07.835-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Finished updating StoredInfoType "projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296": map[string]interface {}{"currentVersion":map[string]interface {}{"config":map[string]interface {}{"description":"MY_CUSTOM_INFO_TYPE_2", "displayName":"MY_CUSTOM_INFO_TYPE_2", "regex":map[string]interface {}{"pattern":"(?:some=)(thing)"}}, "createTime":"2021-01-29T21:22:07.448920Z", "state":"READY"}, "name":"projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296"}: timestamp=2021-01-29T16:22:07.835-0500
2021-01-29T16:22:07.835-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Waiting for state to become: [success]: timestamp=2021-01-29T16:22:07.835-0500
2021-01-29T16:22:07.835-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-01-29T16:22:07.835-0500
2021-01-29T16:22:07.836-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-01-29T16:22:07.835-0500
2021-01-29T16:22:07.836-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:07 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296?alt=json HTTP/1.1
Host: dlp.googleapis.com
User-Agent: Terraform/0.14.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
Content-Type: application/json
Accept-Encoding: gzip


-----------------------------------------------------: timestamp=2021-01-29T16:22:07.836-0500
2021-01-29T16:22:08.443-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:08 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 29 Jan 2021 21:22:08 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

173
{
  "name": "projects/test-iljerhglirfh/locations/global/storedInfoTypes/2491973439388559296",
  "currentVersion": {
    "config": {
      "displayName": "MY_CUSTOM_INFO_TYPE_2",
      "description": "MY_CUSTOM_INFO_TYPE_2",
      "regex": {
        "pattern": "(?:some=)(thing)"
      }
    },
    "createTime": "2021-01-29T21:22:07.448920Z",
    "state": "READY"
  }
}

0


-----------------------------------------------------: timestamp=2021-01-29T16:22:08.443-0500
2021-01-29T16:22:08.443-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:08 [DEBUG] Retry Transport: Stopping retries, last request was successful: timestamp=2021-01-29T16:22:08.443-0500
2021-01-29T16:22:08.444-0500 [INFO]  plugin.terraform-provider-google_v3.54.0_x5.exe: 2021/01/29 16:22:08 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-01-29T16:22:08.443-0500
2021/01/29 16:22:08 [WARN] Provider "registry.terraform.io/hashicorp/google" produced an unexpected new value for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .regex[0].group_indexes: element 0 has vanished
2021/01/29 16:22:08 [TRACE] EvalWriteState: recording 0 dependencies for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:08 [TRACE] EvalWriteState: writing current state object for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:08 [TRACE] EvalApplyProvisioners: google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2 is not freshly-created, so no provisioning is required
2021/01/29 16:22:08 [TRACE] EvalWriteState: recording 0 dependencies for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:08 [TRACE] EvalWriteState: writing current state object for google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: not making a backup, because the new snapshot is identical to the old
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: no state changes since last snapshot
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2021/01/29 16:22:08 [TRACE] vertex "google_data_loss_prevention_stored_info_type.MY_CUSTOM_INFO_TYPE_2": visit complete
2021/01/29 16:22:08 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/google\"] (close)"
2021/01/29 16:22:08 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2021/01/29 16:22:08 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2021/01/29 16:22:08 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2021/01/29 16:22:08 [TRACE] GRPCProvider: Close
2021/01/29 16:22:08 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2021-01-29T16:22:08.449-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-01-29T16:22:08.585-0500 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.54.0/windows_amd64/terraform-provider-google_v3.54.0_x5.exe pid=24124
2021-01-29T16:22:08.585-0500 [DEBUG] plugin: plugin exited
2021/01/29 16:22:08 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/google\"] (close)": visit complete
2021/01/29 16:22:08 [TRACE] dag/walk: visiting "root"
2021/01/29 16:22:08 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2021/01/29 16:22:08 [TRACE] vertex "root": visit complete
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: not making a backup, because the new snapshot is identical to the old
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: no state changes since last snapshot
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2021/01/29 16:22:08 [TRACE] statemgr.Filesystem: unlocked by closing terraform.tfstate

@brodseba
Copy link
Author

brodseba commented Feb 1, 2021

@venkykuberan
I tried the PATCH method of the API. And it worked. So the issue is with Terraform.

@brodseba brodseba changed the title DLP - google_data_loss_prevention_stored_info_type - group_indexes (regex) not working DLP - google_data_loss_prevention_stored_info_type - group_indexes (regex) update not working Feb 2, 2021
@brodseba
Copy link
Author

brodseba commented Feb 2, 2021

I updated the issue description.

@venkykuberan
Copy link
Contributor

@brodseba i see the issue, we will fix it. Thanks for filing the issue.

@slevenick
Copy link
Collaborator

@brodseba would triggering recreation on the stored_info_type work in this situation? That's the easiest solution and shouldn't cause any issues if I understand the stored info type resource correctly as there is no state associated with it that gets lost during recreation

@brodseba
Copy link
Author

brodseba commented Feb 9, 2021

@slevenick
That what I did. I delete the resource and recreated it. But PATCH (update) should be supported too. Because the name cannot be set, the recreation of the custom_info_type if use inside a inspectTemplate may force the inspectTemplate to change name. So, far from an ideal solution.

@slevenick
Copy link
Collaborator

I think the short term solution here is to force recreation of the resource when this field is updated. That will solve the bug that is happening here. Longer term we should fully implement the PATCH call to allow updates on this field, but this is complicated right now because we only want to allow a subset of updates.

Updating from a regex to a dictionary is not allowed by the API, so we should define a customize diff to recreate in that circumstance while allowing updates within the regex type.

Full support for update would be triaged as a feature request rather than a bug, so I'll file a new issue for that

@ghost
Copy link

ghost commented Mar 13, 2021

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 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.