Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DmitriSmirnovCTL/f7c460bb013d30929542564278e4b234 to your computer and use it in GitHub Desktop.
Save DmitriSmirnovCTL/f7c460bb013d30929542564278e4b234 to your computer and use it in GitHub Desktop.
google_os_config_os_policy_assignment failure
2022-07-11T20:52:18.012Z [INFO] Terraform version: 1.2.4
2022-07-11T20:52:18.077Z [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-07-11T20:52:18.077Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-07-11T20:52:18.077Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-07-11T20:52:18.077Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-07-11T20:52:18.077Z [DEBUG] using github.com/zclconf/go-cty v1.10.0
2022-07-11T20:52:18.077Z [INFO] Go runtime version: go1.18.1
2022-07-11T20:52:18.077Z [INFO] CLI args: []string{"C:\\Users\\dsmirnov\\bin\\terraform.exe", "plan"}
2022-07-11T20:52:18.092Z [DEBUG] Attempting to open CLI config file: C:\Users\dsmirnov\AppData\Roaming\terraform.rc
2022-07-11T20:52:18.092Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-07-11T20:52:18.092Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-07-11T20:52:18.092Z [DEBUG] ignoring non-existing provider search directory C:\Users\dsmirnov\AppData\Roaming\terraform.d\plugins
2022-07-11T20:52:18.092Z [DEBUG] ignoring non-existing provider search directory C:\Users\dsmirnov\AppData\Roaming\HashiCorp\Terraform\plugins
2022-07-11T20:52:18.092Z [INFO] CLI command args: []string{"plan"}
2022-07-11T20:52:18.092Z [DEBUG] New state was assigned lineage "b83559ab-4773-2690-d35c-38c3f231597b"
2022-07-11T20:52:18.670Z [DEBUG] checking for provisioner in "."
2022-07-11T20:52:18.670Z [DEBUG] checking for provisioner in "C:\\Users\\dsmirnov\\bin"
2022-07-11T20:52:18.670Z [INFO] backend/local: starting Plan operation
2022-07-11T20:52:18.702Z [DEBUG] created provider logger: level=debug
2022-07-11T20:52:18.755Z [INFO] provider: configuring client automatic mTLS
2022-07-11T20:52:18.936Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe]
2022-07-11T20:52:18.983Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe pid=2904
2022-07-11T20:52:18.983Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe
2022-07-11T20:52:19.228Z [INFO] provider.terraform-provider-google_v4.28.0_x5.exe: configuring server automatic mTLS: timestamp=2022-07-11T20:52:19.129Z
2022-07-11T20:52:19.448Z [DEBUG] provider.terraform-provider-google_v4.28.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2022-07-11T20:52:19.409Z
2022-07-11T20:52:19.450Z [DEBUG] provider: using plugin: version=5
2022-07-11T20:52:20.072Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-07-11T20:52:20.084Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe pid=2904
2022-07-11T20:52:20.085Z [DEBUG] provider: plugin exited
2022-07-11T20:52:20.085Z [DEBUG] Building and walking validate graph
2022-07-11T20:52:20.085Z [DEBUG] ProviderTransformer: "google_os_config_os_policy_assignment.fireeyehx-agent-windows" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/google"]
2022-07-11T20:52:20.085Z [DEBUG] ReferenceTransformer: "google_os_config_os_policy_assignment.fireeyehx-agent-windows" references: []
2022-07-11T20:52:20.085Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/google\"]" references: []
2022-07-11T20:52:20.085Z [DEBUG] Starting graph walk: walkValidate
2022-07-11T20:52:20.085Z [DEBUG] created provider logger: level=debug
2022-07-11T20:52:20.085Z [INFO] provider: configuring client automatic mTLS
2022-07-11T20:52:20.358Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe args=[.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe]
2022-07-11T20:52:20.358Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe pid=1548
2022-07-11T20:52:20.358Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe
2022-07-11T20:52:20.603Z [INFO] provider.terraform-provider-google_v4.28.0_x5.exe: configuring server automatic mTLS: timestamp=2022-07-11T20:52:20.508Z
2022-07-11T20:52:20.791Z [DEBUG] provider.terraform-provider-google_v4.28.0_x5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2022-07-11T20:52:20.782Z
2022-07-11T20:52:20.797Z [DEBUG] provider: using plugin: version=5
2022-07-11T20:52:21.357Z [ERROR] vertex "google_os_config_os_policy_assignment.fireeyehx-agent-windows" error: Attribute must be a whole number, got 1.633065744445004e+15
│ Error: Attribute must be a whole number, got 1.633065744445004e+15
│ with google_os_config_os_policy_assignment.fireeyehx-agent-windows,
│ on test.tf line 37, in resource "google_os_config_os_policy_assignment" "fireeyehx-agent-windows":
│ 37: msi {
2022-07-11T20:52:21.358Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-07-11T20:52:21.371Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/4.28.0/windows_386/terraform-provider-google_v4.28.0_x5.exe pid=1548
2022-07-11T20:52:21.371Z [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment