Created
March 13, 2023 10:35
-
-
Save yyarmoshyk/b17cdb4b25696cd4317805c3aa5e55fc 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-03-13T10:32:03.212Z [INFO] Terraform version: 1.3.7 | |
2023-03-13T10:32:03.214Z [DEBUG] using github.com/hashicorp/go-tfe v1.9.0 | |
2023-03-13T10:32:03.214Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.15.0 | |
2023-03-13T10:32:03.214Z [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2 | |
2023-03-13T10:32:03.214Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 | |
2023-03-13T10:32:03.214Z [DEBUG] using github.com/zclconf/go-cty v1.12.1 | |
2023-03-13T10:32:03.214Z [INFO] Go runtime version: go1.19.4 | |
2023-03-13T10:32:03.214Z [INFO] CLI args: []string{"terraform", "init"} | |
2023-03-13T10:32:03.214Z [TRACE] Stdout is a terminal of width 202 | |
2023-03-13T10:32:03.214Z [TRACE] Stderr is a terminal of width 202 | |
2023-03-13T10:32:03.214Z [TRACE] Stdin is a terminal | |
2023-03-13T10:32:03.214Z [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
2023-03-13T10:32:03.214Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2023-03-13T10:32:03.216Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2023-03-13T10:32:03.216Z [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins | |
2023-03-13T10:32:03.217Z [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins | |
2023-03-13T10:32:03.217Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins | |
2023-03-13T10:32:03.217Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins | |
2023-03-13T10:32:03.217Z [INFO] CLI command args: []string{"init"} | |
Initializing modules... | |
2023-03-13T10:32:03.233Z [TRACE] ModuleInstaller: installing child modules for . into .terraform/modules | |
2023-03-13T10:32:03.247Z [DEBUG] Module installer: begin ec2_security_group | |
2023-03-13T10:32:03.283Z [TRACE] ModuleInstaller: Module installer: ec2_security_group 4.17.1 already installed in .terraform/modules/ec2_security_group | |
2023-03-13T10:32:03.283Z [DEBUG] Module installer: begin rds | |
2023-03-13T10:32:03.293Z [TRACE] ModuleInstaller: Module installer: rds 4.7.0 already installed in .terraform/modules/rds | |
2023-03-13T10:32:03.293Z [DEBUG] Module installer: begin rds.db_instance | |
2023-03-13T10:32:03.302Z [TRACE] ModuleInstaller: Module installer: rds.db_instance <nil> already installed in .terraform/modules/rds/modules/db_instance | |
2023-03-13T10:32:03.302Z [DEBUG] Module installer: begin rds.db_option_group | |
2023-03-13T10:32:03.306Z [TRACE] ModuleInstaller: Module installer: rds.db_option_group <nil> already installed in .terraform/modules/rds/modules/db_option_group | |
2023-03-13T10:32:03.306Z [DEBUG] Module installer: begin rds.db_parameter_group | |
2023-03-13T10:32:03.310Z [TRACE] ModuleInstaller: Module installer: rds.db_parameter_group <nil> already installed in .terraform/modules/rds/modules/db_parameter_group | |
2023-03-13T10:32:03.310Z [DEBUG] Module installer: begin rds.db_subnet_group | |
2023-03-13T10:32:03.314Z [TRACE] ModuleInstaller: Module installer: rds.db_subnet_group <nil> already installed in .terraform/modules/rds/modules/db_subnet_group | |
2023-03-13T10:32:03.314Z [DEBUG] Module installer: begin rds_security_group | |
2023-03-13T10:32:03.346Z [TRACE] ModuleInstaller: Module installer: rds_security_group 4.17.1 already installed in .terraform/modules/rds_security_group | |
2023-03-13T10:32:03.346Z [DEBUG] Module installer: begin vpc | |
2023-03-13T10:32:03.386Z [TRACE] ModuleInstaller: Module installer: vpc 3.19.0 already installed in .terraform/modules/vpc | |
2023-03-13T10:32:03.386Z [TRACE] modsdir: writing modules manifest to .terraform/modules/modules.json | |
Initializing the backend... | |
2023-03-13T10:32:03.519Z [TRACE] Meta.Backend: built configuration for "s3" backend with hash value 1227491579 | |
2023-03-13T10:32:03.520Z [TRACE] Preserving existing state lineage "d43393cd-8f3e-fbe4-3c61-3d56e14b1133" | |
2023-03-13T10:32:03.520Z [TRACE] Preserving existing state lineage "d43393cd-8f3e-fbe4-3c61-3d56e14b1133" | |
2023-03-13T10:32:03.521Z [TRACE] Meta.Backend: working directory was previously initialized for "s3" backend | |
2023-03-13T10:32:03.521Z [TRACE] Meta.Backend: using already-initialized, unchanged "s3" backend configuration | |
2023-03-13T10:32:03.522Z [INFO] AWS Auth provider used: "EnvProvider" | |
2023-03-13T10:32:03.522Z [INFO] Attempting to AssumeRole arn:aws:iam::1111111111111111:role/state-role (SessionName: "", ExternalId: "") | |
2023-03-13T10:32:03.525Z [DEBUG] [aws-sdk-go] DEBUG: Request sts/AssumeRole Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
POST / HTTP/1.1 | |
Host: sts.amazonaws.com | |
User-Agent: aws-sdk-go/1.42.35 (go1.19.4; linux; amd64) | |
Content-Length: 154 | |
Authorization: AWS4-HMAC-SHA256 Credential=AKIAR5JCMWBPEQRRBETE/20230313/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=d2b296caa29e8900b3845d3940564c53f65f1bfed9caa03348296dcfe492a356 | |
Content-Type: application/x-www-form-urlencoded; charset=utf-8 | |
X-Amz-Date: 20230313T103203Z | |
Accept-Encoding: gzip | |
Action=AssumeRole&DurationSeconds=900&RoleArn=arn%3Aaws%3Aiam%3A%3A1111111111111111%3Arole%2Fstate-role&RoleSessionName=1678703523522620637&Version=2011-06-15 | |
----------------------------------------------------- | |
2023-03-13T10:32:04.077Z [DEBUG] [aws-sdk-go] DEBUG: Response sts/AssumeRole Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/1.1 200 OK | |
Connection: close | |
Content-Length: 1067 | |
Content-Type: text/xml | |
Date: Mon, 13 Mar 2023 10:32:03 GMT | |
X-Amzn-Requestid: 254d879f-c8b7-44f2-89db-e32da9581a52 | |
----------------------------------------------------- | |
2023-03-13T10:32:04.078Z [DEBUG] [aws-sdk-go] <AssumeRoleResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/"> | |
<AssumeRoleResult> | |
<AssumedRoleUser> | |
<AssumedRoleId>AROAR5JCMWBPPSTSVLUUP:1678703523522620637</AssumedRoleId> | |
<Arn>arn:aws:iam::1111111111111111:assumed-role/state-role/1678703523522620637</Arn> | |
</AssumedRoleUser> | |
<Credentials> | |
<AccessKeyId>ASIAR5JCMWBPNG5HE2SD</AccessKeyId> | |
<SecretAccessKey>O/4Sl4ewvldON4kZ8GZXRpSfZNoMjXqdtyQo/ksv</SecretAccessKey> | |
<SessionToken>FwoGZXIvYXdzEBQaDDR+cpvkh/HmTNAQDiK3AbnwqaEr2tl+iB+lOUPWJMy/GMbigxq+1rnMJ3tqDP9F5iA0n7Nche27zNY1fer8NYyE+XnxFfmARuB6JfN2YvUssnvJZ2jblKuXgpt+uVo6yaL1b/FZyEybw3YZBFo1YufHX0Aal8kWNYhF6vlnJZDJh2pRfTbYZvP9N3YefMy2JJhcb4dZZqxiYcnJaKw03gYvp3WqU4YeWxtSqu4KA/eP5s5MGsBLQIwlWHhBt5X0lEE0K3zmQyik97ugBjItshbg1V58xM0YvB8pdm/VEhdBjoOgIW+2eiQJOhfqhUaOZ4sXnOUgaH1ThaCx</SessionToken> | |
<Expiration>2023-03-13T10:47:04Z</Expiration> | |
</Credentials> | |
</AssumeRoleResult> | |
<ResponseMetadata> | |
<RequestId>254d879f-c8b7-44f2-89db-e32da9581a52</RequestId> | |
</ResponseMetadata> | |
</AssumeRoleResponse> | |
2023-03-13T10:32:04.078Z [DEBUG] Trying to get account information via sts:GetCallerIdentity | |
2023-03-13T10:32:04.078Z [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.7 aws-sdk-go/1.42.35 (go1.19.4; linux; amd64) | |
Content-Length: 43 | |
Authorization: AWS4-HMAC-SHA256 Credential=ASIAR5JCMWBPNG5HE2SD/20230313/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=94fe399810fa8c202f92654c75e067fa3a01e7c2f4d8d779dae38ebc5b16a164 | |
Content-Type: application/x-www-form-urlencoded; charset=utf-8 | |
X-Amz-Date: 20230313T103204Z | |
X-Amz-Security-Token: FwoGZXIvYXdzEBQaDDR+cpvkh/HmTNAQDiK3AbnwqaEr2tl+iB+lOUPWJMy/GMbigxq+1rnMJ3tqDP9F5iA0n7Nche27zNY1fer8NYyE+XnxFfmARuB6JfN2YvUssnvJZ2jblKuXgpt+uVo6yaL1b/FZyEybw3YZBFo1YufHX0Aal8kWNYhF6vlnJZDJh2pRfTbYZvP9N3YefMy2JJhcb4dZZqxiYcnJaKw03gYvp3WqU4YeWxtSqu4KA/eP5s5MGsBLQIwlWHhBt5X0lEE0K3zmQyik97ugBjItshbg1V58xM0YvB8pdm/VEhdBjoOgIW+2eiQJOhfqhUaOZ4sXnOUgaH1ThaCx | |
Accept-Encoding: gzip | |
Action=GetCallerIdentity&Version=2011-06-15 | |
----------------------------------------------------- | |
2023-03-13T10:32:04.589Z [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/1.1 200 OK | |
Connection: close | |
Content-Length: 455 | |
Content-Type: text/xml | |
Date: Mon, 13 Mar 2023 10:32:03 GMT | |
X-Amzn-Requestid: e70cf00a-d3b6-4b2f-a568-661d4df6c7ea | |
----------------------------------------------------- | |
2023-03-13T10:32:04.590Z [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/"> | |
<GetCallerIdentityResult> | |
<Arn>arn:aws:iam::1111111111111111:assumed-role/state-role/1678703523522620637</Arn> | |
<UserId>AROAR5JCMWBPPSTSVLUUP:1678703523522620637</UserId> | |
<Account>1111111111111111</Account> | |
</GetCallerIdentityResult> | |
<ResponseMetadata> | |
<RequestId>e70cf00a-d3b6-4b2f-a568-661d4df6c7ea</RequestId> | |
</ResponseMetadata> | |
</GetCallerIdentityResponse> | |
2023-03-13T10:32:04.590Z [DEBUG] [aws-sdk-go] DEBUG: Request s3/ListObjects Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
GET /?max-keys=1000&prefix=env%2F HTTP/1.1 | |
Host: terraform-state-1234.s3.eu-central-1.amazonaws.com | |
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.7 aws-sdk-go/1.42.35 (go1.19.4; linux; amd64) | |
Authorization: AWS4-HMAC-SHA256 Credential=ASIAR5JCMWBPNG5HE2SD/20230313/eu-central-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-security-token, Signature=b42578f0335a33e524c59f6ddc72afb388e30d756fa14a71af5ba20455f87f16 | |
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | |
X-Amz-Date: 20230313T103204Z | |
X-Amz-Security-Token: FwoGZXIvYXdzEBQaDDR+cpvkh/HmTNAQDiK3AbnwqaEr2tl+iB+lOUPWJMy/GMbigxq+1rnMJ3tqDP9F5iA0n7Nche27zNY1fer8NYyE+XnxFfmARuB6JfN2YvUssnvJZ2jblKuXgpt+uVo6yaL1b/FZyEybw3YZBFo1YufHX0Aal8kWNYhF6vlnJZDJh2pRfTbYZvP9N3YefMy2JJhcb4dZZqxiYcnJaKw03gYvp3WqU4YeWxtSqu4KA/eP5s5MGsBLQIwlWHhBt5X0lEE0K3zmQyik97ugBjItshbg1V58xM0YvB8pdm/VEhdBjoOgIW+2eiQJOhfqhUaOZ4sXnOUgaH1ThaCx | |
Accept-Encoding: gzip | |
----------------------------------------------------- | |
2023-03-13T10:32:04.957Z [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: Mon, 13 Mar 2023 10:32:05 GMT | |
Server: AmazonS3 | |
X-Amz-Bucket-Region: eu-central-1 | |
X-Amz-Id-2: DNpD3fzvXGg/9L73xNXqJWCuXALG0Hu++4hwStyyx57MXH5Du3mgbhIodfuT1vGrizBn1Csgg08= | |
X-Amz-Request-Id: ECKFJXQB6SA28Z1F | |
----------------------------------------------------- | |
2023-03-13T10:32:04.957Z [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?> | |
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>terraform-state-1234</Name><Prefix>env/</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>env/dev/terraform.tfstate</Key><LastModified>2023-03-13T10:27:54.000Z</LastModified><ETag>"ac4814f95a6d5bfe7206e654c34e0128"</ETag><Size>180</Size><Owner><ID>1b2b8de0016eadef9d6c92437fca840de582aae555f5d766f07ee9116b8ef170</ID></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult> | |
2023-03-13T10:32:04.957Z [DEBUG] command: asking for input: "\n[reset][bold][yellow]The currently selected workspace (test) does not exist.[reset]" | |
The currently selected workspace (test) does not exist. | |
This is expected behavior when the selected workspace did not have an | |
existing non-empty state. Please enter a number to select a workspace: | |
1. default | |
2. dev | |
Enter a value: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment