Skip to content

Instantly share code, notes, and snippets.

@kradalby
Created March 12, 2021 09:12
Show Gist options
  • Save kradalby/7275ce408959a89357ffbcca4d04f2a8 to your computer and use it in GitHub Desktop.
Save kradalby/7275ce408959a89357ffbcca4d04f2a8 to your computer and use it in GitHub Desktop.
terraform-provider-kubernetes-alpha v0.3.1 PrometheusRule CRD
2021/03/12 09:11:18 [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/03/12 09:11:18 [INFO] Terraform version: 0.14.8
2021/03/12 09:11:18 [INFO] Go runtime version: go1.16
2021/03/12 09:11:18 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2021/03/12 09:11:18 [DEBUG] Attempting to open CLI config file: /Users/kradalby/.terraformrc
2021/03/12 09:11:18 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/12 09:11:18 [DEBUG] checking for credentials in "/Users/kradalby/.terraform.d/plugins"
2021/03/12 09:11:18 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/12 09:11:18 [DEBUG] will search for provider plugins in /Users/kradalby/.terraform.d/plugins
2021/03/12 09:11:18 [DEBUG] ignoring non-existing provider search directory /Users/kradalby/Library/Application Support/io.terraform/plugins
2021/03/12 09:11:18 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/03/12 09:11:18 [INFO] CLI command args: []string{"plan"}
2021/03/12 09:11:18 [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/03/12 09:11:18 [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/03/12 09:11:18 [INFO] AWS Auth provider used: "EnvProvider"
2021/03/12 09:11:18 [DEBUG] checking for provisioner in "."
2021/03/12 09:11:19 [DEBUG] checking for provisioner in "/usr/local/bin"
2021/03/12 09:11:19 [DEBUG] checking for provisioner in "/Users/kradalby/.terraform.d/plugins"
2021/03/12 09:11:19 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2021/03/12 09:11:19 [INFO] backend/local: starting Plan operation
2021/03/12 09:11:19 [DEBUG] [aws-sdk-go] DEBUG: Request s3/ListObjects Details:
---[ REQUEST POST-SIGN ]-----------------------------
GET /terraform-ldn-kube?max-keys=1000&prefix=env%3A%2F HTTP/1.1
Host: terraform.s3.fap.no
User-Agent: aws-sdk-go/1.37.0 (go1.16; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.14.8
Authorization: AWS4-HMAC-SHA256 Credential=MtYhlUNIMIELy6csMUyrb6k6HYv7qJTJNGVnew9/iO75+Q5EJfUNnIFHWUO7BM3h/20210312/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=da7843da8476be47796c161b208320ca5de21683e459940569501ab2b8a45baa
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20210312T091119Z
Accept-Encoding: gzip
-----------------------------------------------------
2021/03/12 09:11:19 [DEBUG] [aws-sdk-go] DEBUG: Response s3/ListObjects Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 272
Accept-Ranges: bytes
Content-Security-Policy: block-all-mixed-content
Content-Type: application/xml
Date: Fri, 12 Mar 2021 09:11:19 GMT
Server: Caddy
Server: MinIO
Vary: Origin
X-Amz-Request-Id: 166B8D5326E1D0ED
X-Xss-Protection: 1; mode=block
-----------------------------------------------------
2021/03/12 09:11:19 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>terraform-ldn-kube</Name><Prefix>env:/</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><Delimiter></Delimiter><IsTruncated>false</IsTruncated></ListBucketResult>
2021/03/12 09:11:19 [DEBUG] [aws-sdk-go] DEBUG: Request s3/GetObject Details:
---[ REQUEST POST-SIGN ]-----------------------------
GET /terraform-ldn-kube/terraform.tfstate HTTP/1.1
Host: terraform.s3.fap.no
User-Agent: aws-sdk-go/1.37.0 (go1.16; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.14.8
Authorization: AWS4-HMAC-SHA256 Credential=MtYhlUNIMIELy6csMUyrb6k6HYv7qJTJNGVnew9/iO75+Q5EJfUNnIFHWUO7BM3h/20210312/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=9e6a6047dcd4771ea07026d6e15d5ab982ecec8bb1933004883bc75dcce6b6d6
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20210312T091119Z
Accept-Encoding: gzip
-----------------------------------------------------
2021/03/12 09:11:19 [DEBUG] [aws-sdk-go] DEBUG: Response s3/GetObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 404 Not Found
Connection: close
Content-Length: 349
Accept-Ranges: bytes
Content-Security-Policy: block-all-mixed-content
Content-Type: application/xml
Date: Fri, 12 Mar 2021 09:11:19 GMT
Server: Caddy
Server: MinIO
Vary: Origin
X-Amz-Request-Id: 166B8D532F0BB098
X-Xss-Protection: 1; mode=block
-----------------------------------------------------
2021/03/12 09:11:19 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>terraform.tfstate</Key><BucketName>terraform-ldn-kube</BucketName><Resource>/terraform-ldn-kube/terraform.tfstate</Resource><RequestId>166B8D532F0BB098</RequestId><HostId>4984fbc1-1415-43f4-9fcb-84acfb4cdc95</HostId></Error>
2021/03/12 09:11:19 [DEBUG] [aws-sdk-go] DEBUG: Validate Response s3/GetObject failed, attempt 0/5, error NoSuchKey: The specified key does not exist.
status code: 404, request id: 166B8D532F0BB098, host id:
2021-03-12T09:11:19.693Z [INFO] plugin: configuring client automatic mTLS
2021-03-12T09:11:19.738Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.0.3/darwin_amd64/terraform-provider-helm_v2.0.3_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/helm/2.0.3/darwin_amd64/terraform-provider-helm_v2.0.3_x5]
2021-03-12T09:11:19.745Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.0.3/darwin_amd64/terraform-provider-helm_v2.0.3_x5 pid=63229
2021-03-12T09:11:19.745Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.0.3/darwin_amd64/terraform-provider-helm_v2.0.3_x5
2021-03-12T09:11:19.789Z [INFO] plugin.terraform-provider-helm_v2.0.3_x5: configuring server automatic mTLS: timestamp=2021-03-12T09:11:19.789Z
2021-03-12T09:11:19.832Z [DEBUG] plugin.terraform-provider-helm_v2.0.3_x5: plugin address: address=/var/folders/yk/gxgr7qtx1x5__v3mg93179100000gn/T/plugin829544024 network=unix timestamp=2021-03-12T09:11:19.832Z
2021-03-12T09:11:19.832Z [DEBUG] plugin: using plugin: version=5
2021-03-12T09:11:19.890Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-12T09:11:19.892Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.0.3/darwin_amd64/terraform-provider-helm_v2.0.3_x5 pid=63229
2021-03-12T09:11:19.892Z [DEBUG] plugin: plugin exited
2021-03-12T09:11:19.892Z [INFO] plugin: configuring client automatic mTLS
2021-03-12T09:11:19.937Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.2/darwin_amd64/terraform-provider-kubernetes_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.2/darwin_amd64/terraform-provider-kubernetes_v2.0.2_x5]
2021-03-12T09:11:19.943Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.2/darwin_amd64/terraform-provider-kubernetes_v2.0.2_x5 pid=63230
2021-03-12T09:11:19.943Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.2/darwin_amd64/terraform-provider-kubernetes_v2.0.2_x5
2021-03-12T09:11:19.994Z [INFO] plugin.terraform-provider-kubernetes_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-03-12T09:11:19.993Z
2021-03-12T09:11:20.025Z [DEBUG] plugin.terraform-provider-kubernetes_v2.0.2_x5: plugin address: network=unix address=/var/folders/yk/gxgr7qtx1x5__v3mg93179100000gn/T/plugin650934165 timestamp=2021-03-12T09:11:20.025Z
2021-03-12T09:11:20.025Z [DEBUG] plugin: using plugin: version=5
2021-03-12T09:11:20.122Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-12T09:11:20.125Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.2/darwin_amd64/terraform-provider-kubernetes_v2.0.2_x5 pid=63230
2021-03-12T09:11:20.125Z [DEBUG] plugin: plugin exited
2021-03-12T09:11:20.125Z [INFO] plugin: configuring client automatic mTLS
2021-03-12T09:11:20.167Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5]
2021-03-12T09:11:20.172Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 pid=63231
2021-03-12T09:11:20.172Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5
2021-03-12T09:11:20.193Z [INFO] plugin.terraform-provider-kubernetes-alpha_v0.3.1_x5: configuring server automatic mTLS: timestamp=2021-03-12T09:11:20.193Z
2021-03-12T09:11:20.237Z [DEBUG] plugin.terraform-provider-kubernetes-alpha_v0.3.1_x5: plugin address: address=/var/folders/yk/gxgr7qtx1x5__v3mg93179100000gn/T/plugin534451658 network=unix timestamp=2021-03-12T09:11:20.237Z
2021-03-12T09:11:20.237Z [DEBUG] plugin: using plugin: version=5
2021-03-12T09:11:20.295Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-12T09:11:20.297Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 pid=63231
2021-03-12T09:11:20.297Z [DEBUG] plugin: plugin exited
2021/03/12 09:11:20 [INFO] terraform: building graph: GraphTypeValidate
2021/03/12 09:11:20 [DEBUG] ProviderTransformer: "kubernetes_manifest.test" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/kubernetes-alpha"]
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/helm"].terra
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes"].terra
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes-alpha"].terra
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/helm"]
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes"]
2021/03/12 09:11:20 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/kubernetes-alpha\"]" references: []
2021/03/12 09:11:20 [DEBUG] ReferenceTransformer: "kubernetes_manifest.test" references: []
2021/03/12 09:11:20 [DEBUG] Starting graph walk: walkValidate
2021-03-12T09:11:20.299Z [INFO] plugin: configuring client automatic mTLS
2021-03-12T09:11:20.344Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5]
2021-03-12T09:11:20.350Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 pid=63233
2021-03-12T09:11:20.350Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5
2021-03-12T09:11:20.373Z [INFO] plugin.terraform-provider-kubernetes-alpha_v0.3.1_x5: configuring server automatic mTLS: timestamp=2021-03-12T09:11:20.373Z
2021-03-12T09:11:20.418Z [DEBUG] plugin.terraform-provider-kubernetes-alpha_v0.3.1_x5: plugin address: address=/var/folders/yk/gxgr7qtx1x5__v3mg93179100000gn/T/plugin037713548 network=unix timestamp=2021-03-12T09:11:20.417Z
2021-03-12T09:11:20.418Z [DEBUG] plugin: using plugin: version=5
2021-03-12T09:11:20.476Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-12T09:11:20.478Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 pid=63233
2021-03-12T09:11:20.478Z [DEBUG] plugin: plugin exited
2021/03/12 09:11:20 [INFO] backend/local: plan calling Plan
2021/03/12 09:11:20 [INFO] terraform: building graph: GraphTypePlan
2021/03/12 09:11:20 [DEBUG] ProviderTransformer: "kubernetes_manifest.test (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/kubernetes-alpha"]
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes"].terra
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes-alpha"].terra
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/helm"]
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes"]
2021/03/12 09:11:20 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/helm"].terra
2021/03/12 09:11:20 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/kubernetes-alpha\"]" references: []
2021/03/12 09:11:20 [DEBUG] ReferenceTransformer: "kubernetes_manifest.test (expand)" references: []
2021/03/12 09:11:20 [DEBUG] Starting graph walk: walkPlan
2021-03-12T09:11:20.479Z [INFO] plugin: configuring client automatic mTLS
2021-03-12T09:11:20.523Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5]
2021-03-12T09:11:20.528Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 pid=63234
2021-03-12T09:11:20.528Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5
2021-03-12T09:11:20.551Z [INFO] plugin.terraform-provider-kubernetes-alpha_v0.3.1_x5: configuring server automatic mTLS: timestamp=2021-03-12T09:11:20.551Z
2021-03-12T09:11:20.595Z [DEBUG] plugin.terraform-provider-kubernetes-alpha_v0.3.1_x5: plugin address: address=/var/folders/yk/gxgr7qtx1x5__v3mg93179100000gn/T/plugin192568201 network=unix timestamp=2021-03-12T09:11:20.595Z
2021-03-12T09:11:20.596Z [DEBUG] plugin: using plugin: version=5
2021/03/12 09:11:20 [DEBUG] Resource instance state not found for node "kubernetes_manifest.test", instance kubernetes_manifest.test
2021/03/12 09:11:20 [DEBUG] ReferenceTransformer: "kubernetes_manifest.test" references: []
2021/03/12 09:11:20 [DEBUG] refresh: kubernetes_manifest.test: no state, so not refreshing
2021/03/12 09:11:21 [INFO] backend/local: plan operation completed
Error: Failed to determine GroupVersionResource for manifest
on monitoring.tf line 2, in resource "kubernetes_manifest" "test":
2: resource "kubernetes_manifest" "test" {
no matches for kind "PrometheusRules" in group "monitoring.coreos.com"
2021-03-12T09:11:21.120Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-12T09:11:21.123Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes-alpha/0.3.1/darwin_amd64/terraform-provider-kubernetes-alpha_v0.3.1_x5 pid=63234
2021-03-12T09:11:21.123Z [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment