Created
February 15, 2023 09:46
-
-
Save petur/b66b6c7fce877ddb1bf3cc7629101de0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-02-15T09:38:58.131Z [INFO] Terraform version: 1.3.8 | |
2023-02-15T09:38:58.131Z [DEBUG] using github.com/hashicorp/go-tfe v1.9.0 | |
2023-02-15T09:38:58.131Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.0 | |
2023-02-15T09:38:58.131Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2 | |
2023-02-15T09:38:58.131Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 | |
2023-02-15T09:38:58.131Z [DEBUG] using github.com/zclconf/go-cty v1.12.1 | |
2023-02-15T09:38:58.131Z [INFO] Go runtime version: go1.19.4 | |
2023-02-15T09:38:58.131Z [INFO] CLI args: []string{"terraform", "plan", "-lock-timeout=60s"} | |
2023-02-15T09:38:58.131Z [TRACE] Stdout is a terminal of width 150 | |
2023-02-15T09:38:58.131Z [TRACE] Stderr is a terminal of width 150 | |
2023-02-15T09:38:58.131Z [TRACE] Stdin is a terminal | |
2023-02-15T09:38:58.131Z [DEBUG] Attempting to open CLI config file: /home/***/.terraformrc | |
2023-02-15T09:38:58.131Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2023-02-15T09:38:58.131Z [DEBUG] checking for credentials in "/home/***/.terraform.d/plugins" | |
2023-02-15T09:38:58.131Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2023-02-15T09:38:58.131Z [DEBUG] will search for provider plugins in /home/***/.terraform.d/plugins | |
2023-02-15T09:38:58.132Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/local/aws v4.49.0 for linux_amd64 at /home/***/.terraform.d/plugins/registry.terraform.io/local/aws/4.49.0/linux_amd64 | |
2023-02-15T09:38:58.132Z [DEBUG] ignoring non-existing provider search directory /home/***/.local/share/terraform/plugins | |
2023-02-15T09:38:58.132Z [DEBUG] ignoring non-existing provider search directory /usr/share/plasma/terraform/plugins | |
2023-02-15T09:38:58.132Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins | |
2023-02-15T09:38:58.132Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins | |
2023-02-15T09:38:58.132Z [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins | |
2023-02-15T09:38:58.132Z [INFO] CLI command args: []string{"plan", "-lock-timeout=60s"} | |
2023-02-15T09:38:58.132Z [TRACE] Meta.Backend: built configuration for "s3" backend with hash value 1504513283 | |
2023-02-15T09:38:58.132Z [TRACE] Preserving existing state lineage "7430ae18-7342-328d-2c28-1f379274a020" | |
2023-02-15T09:38:58.132Z [TRACE] Preserving existing state lineage "7430ae18-7342-328d-2c28-1f379274a020" | |
2023-02-15T09:38:58.133Z [TRACE] Meta.Backend: working directory was previously initialized for "s3" backend | |
2023-02-15T09:38:58.133Z [TRACE] Meta.Backend: using already-initialized, unchanged "s3" backend configuration | |
2023-02-15T09:38:58.134Z [INFO] AWS Auth provider used: "SharedCredentialsProvider" | |
2023-02-15T09:38:58.135Z [DEBUG] Trying to get account information via sts:GetCallerIdentity | |
2023-02-15T09:38:58.135Z [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
POST / HTTP/1.1 | |
Host: sts.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.8 aws-sdk-go/1.42.35 (go1.19.4; linux; amd64) | |
Content-Length: 43 | |
Authorization: *** | |
Content-Type: application/x-www-form-urlencoded; charset=utf-8 | |
X-Amz-Date: 20230215T093858Z | |
X-Amz-Security-Token: *** | |
Accept-Encoding: gzip | |
Action=GetCallerIdentity&Version=2011-06-15 | |
----------------------------------------------------- | |
2023-02-15T09:39:03.675Z [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/1.1 200 OK | |
Connection: close | |
Content-Length: 483 | |
Content-Type: text/xml | |
Date: Wed, 15 Feb 2023 09:39:03 GMT | |
X-Amzn-Requestid: 81471bf0-bb03-4cdc-8e6a-8ff461407072 | |
----------------------------------------------------- | |
2023-02-15T09:39:03.675Z [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/"> | |
<GetCallerIdentityResult> | |
<Arn>***</Arn> | |
<UserId>***</UserId> | |
<Account>***</Account> | |
</GetCallerIdentityResult> | |
<ResponseMetadata> | |
<RequestId>81471bf0-bb03-4cdc-8e6a-8ff461407072</RequestId> | |
</ResponseMetadata> | |
</GetCallerIdentityResponse> | |
2023-02-15T09:39:03.677Z [TRACE] Meta.Backend: instantiated backend of type *s3.Backend | |
2023-02-15T09:39:03.677Z [DEBUG] checking for provisioner in "." | |
2023-02-15T09:39:03.692Z [DEBUG] checking for provisioner in "/usr/bin" | |
2023-02-15T09:39:03.692Z [DEBUG] checking for provisioner in "/home/***/.terraform.d/plugins" | |
2023-02-15T09:39:03.692Z [TRACE] Meta.Backend: backend *s3.Backend does not support operations, so wrapping it in a local backend | |
2023-02-15T09:39:03.693Z [INFO] backend/local: starting Plan operation | |
2023-02-15T09:39:03.702Z [TRACE] backend/local: requesting state manager for workspace "default" | |
2023-02-15T09:39:03.703Z [DEBUG] [aws-sdk-go] DEBUG: Request s3/ListObjects Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
GET /?max-keys=1000&prefix=env%3A%2F HTTP/1.1 | |
Host: ***.s3.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.8 aws-sdk-go/1.42.35 (go1.19.4; linux; amd64) | |
Authorization: *** | |
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | |
X-Amz-Date: 20230215T093903Z | |
X-Amz-Security-Token: *** | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2023-02-15T09:39:04.278Z [DEBUG] [aws-sdk-go] DEBUG: Response s3/ListObjects Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/1.1 200 OK | |
Connection: close | |
Transfer-Encoding: chunked | |
Content-Type: application/xml | |
Date: Wed, 15 Feb 2023 09:39:05 GMT | |
Server: AmazonS3 | |
X-Amz-Bucket-Region: us-east-1 | |
X-Amz-Id-2: VS5OsT714/ce+FZpZ62fTid4EHXi8uiY80ozu344owRZzjT3CjQBRpQwzb2fvOE7jBFm38sMs1c= | |
X-Amz-Request-Id: K28YQH0308YJRNK8 | |
----------------------------------------------------- | |
2023-02-15T09:39:04.278Z [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?> | |
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>***</Name><Prefix>env:/</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult> | |
2023-02-15T09:39:04.278Z [TRACE] backend/local: requesting state lock for workspace "default" | |
2023-02-15T09:39:04.280Z [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/PutItem Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
POST / HTTP/1.1 | |
Host: dynamodb.us-east-1.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.8 aws-sdk-go/1.42.35 (go1.19.4; linux; amd64) | |
Content-Length: 523 | |
Accept-Encoding: identity | |
Authorization: *** | |
Content-Type: application/x-amz-json-1.0 | |
X-Amz-Date: 20230215T093904Z | |
X-Amz-Security-Token: *** | |
X-Amz-Target: DynamoDB_20120810.PutItem | |
{"ConditionExpression":"attribute_not_exists(LockID)","Item":{"Info":{"S":"{\"ID\":\"4700bedf-9eb1-80fd-fa0a-63117612c4f2\",\"Operation\":\"OperationTypePlan\",\"Info\":\"\",\"Who\":\"***\",\"Version\":\"1.3.8\",\"Created\":\"2023-02-15T09:39:04.278531854Z\",\"Path\":\"***/bug/unexpected-end-of-json-input/terraform.tfstate\"}"},"LockID":{"S":"***/bug/unexpected-end-of-json-input/terraform.tfstate"}},"TableName":"***"} | |
----------------------------------------------------- | |
Acquiring state lock. This may take a few moments... | |
2023-02-15T09:39:04.793Z [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/PutItem Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/1.1 400 Bad Request | |
Connection: close | |
Content-Length: 120 | |
Content-Type: application/x-amz-json-1.0 | |
Date: Wed, 15 Feb 2023 09:39:04 GMT | |
Server: Server | |
X-Amz-Crc32: 396270901 | |
X-Amzn-Requestid: V4HFE5TFV2MAK7B4NJV4E0VHMRVV4KQNSO5AEMVJF66Q9ASUAAJG | |
----------------------------------------------------- | |
2023-02-15T09:39:04.793Z [DEBUG] [aws-sdk-go] {"__type":"com.amazonaws.dynamodb.v20120810#ConditionalCheckFailedException","message":"The conditional request failed"} | |
2023-02-15T09:39:04.793Z [DEBUG] [aws-sdk-go] DEBUG: Validate Response dynamodb/PutItem failed, attempt 0/5, error ConditionalCheckFailedException: The conditional request failed | |
2023-02-15T09:39:04.793Z [DEBUG] [aws-sdk-go] DEBUG: Request dynamodb/GetItem Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
POST / HTTP/1.1 | |
Host: dynamodb.us-east-1.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.8 aws-sdk-go/1.42.35 (go1.19.4; linux; amd64) | |
Content-Length: 210 | |
Accept-Encoding: identity | |
Authorization: *** | |
Content-Type: application/x-amz-json-1.0 | |
X-Amz-Date: 20230215T093904Z | |
X-Amz-Security-Token: *** | |
X-Amz-Target: DynamoDB_20120810.GetItem | |
{"ConsistentRead":true,"Key":{"LockID":{"S":"***/bug/unexpected-end-of-json-input/terraform.tfstate"}},"ProjectionExpression":"LockID, Info","TableName":"***"} | |
----------------------------------------------------- | |
2023-02-15T09:39:05.288Z [DEBUG] [aws-sdk-go] DEBUG: Response dynamodb/GetItem Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/1.1 200 OK | |
Connection: close | |
Content-Length: 2 | |
Content-Type: application/x-amz-json-1.0 | |
Date: Wed, 15 Feb 2023 09:39:05 GMT | |
Server: Server | |
X-Amz-Crc32: 2745614147 | |
X-Amzn-Requestid: 1FGK50SF046J9AHQMK9H7L4IKVVV4KQNSO5AEMVJF66Q9ASUAAJG | |
----------------------------------------------------- | |
2023-02-15T09:39:05.288Z [DEBUG] [aws-sdk-go] {} | |
╷ | |
│ Error: Error acquiring the state lock | |
│ | |
│ Error message: 2 errors occurred: | |
│ * ConditionalCheckFailedException: The conditional request failed | |
│ * unexpected end of JSON input | |
│ | |
│ | |
│ | |
│ Terraform acquires a state lock to protect the state from being written | |
│ by multiple users at the same time. Please resolve the issue above and try | |
│ again. For most commands, you can disable locking with the "-lock=false" | |
│ flag, but this is not recommended. | |
╵ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment