Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jcollum/85fd1d7dffbc455cdb5c866b842afc13 to your computer and use it in GitHub Desktop.
Save jcollum/85fd1d7dffbc455cdb5c866b842afc13 to your computer and use it in GitHub Desktop.
✗ TF_LOG=trace terraform -chdir=infrastructure init -backend=false
2021-09-22T11:33:43.381-0700 [DEBUG] Adding temp file log sink: /var/folders/tm/rdcrzyq15f13fyhmk02pscg9_l1nl3/T/terraform-log209965300
2021-09-22T11:33:43.381-0700 [INFO] Terraform version: 1.0.7
2021-09-22T11:33:43.382-0700 [INFO] Go runtime version: go1.16.4
2021-09-22T11:33:43.382-0700 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.1.0/versions/1.0.7/terraform", "-chdir=infrastructure", "init", "-backend=false"}
2021-09-22T11:33:43.382-0700 [TRACE] Stdout is a terminal of width 158
2021-09-22T11:33:43.382-0700 [TRACE] Stderr is a terminal of width 158
2021-09-22T11:33:43.382-0700 [TRACE] Stdin is a terminal
2021-09-22T11:33:43.382-0700 [DEBUG] Attempting to open CLI config file: /Users/justin.collum/.terraformrc
2021-09-22T11:33:43.382-0700 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-09-22T11:33:43.382-0700 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-09-22T11:33:43.382-0700 [DEBUG] ignoring non-existing provider search directory /Users/justin.collum/.terraform.d/plugins
2021-09-22T11:33:43.382-0700 [DEBUG] ignoring non-existing provider search directory /Users/justin.collum/Library/Application Support/io.terraform/plugins
2021-09-22T11:33:43.382-0700 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021-09-22T11:33:43.382-0700 [INFO] CLI command args: []string{"init", "-backend=false"}
2021-09-22T11:33:43.388-0700 [TRACE] Preserving existing state lineage "77e768d9-7ae3-f29a-8e96-4138a05fa14e"
2021-09-22T11:33:43.388-0700 [TRACE] Preserving existing state lineage "77e768d9-7ae3-f29a-8e96-4138a05fa14e"
2021-09-22T11:33:43.389-0700 [TRACE] Meta.Backend: working directory was previously initialized for "s3" backend
2021-09-22T11:33:43.390-0700 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2021-09-22T11:33:43.391-0700 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2021-09-22T11:33:43.392-0700 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: aws-sdk-go/1.40.25 (go1.16.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/1.0.7
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=ASIA2R2HVSOCBJEVA2TS/20210922/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=fbc29d164df0091f65a0b897482cd5e299e12900d7332aa1b6e88a21c6a685e1
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210922T183343Z
X-Amz-Security-Token: FwoGZXIvYXdzEKz//////////wEaDJlYNbjT5UwvuXzjNCL7Aa7DT9tDgAa2KA5ATAW7ZhhXwr8YkoXxYjtJlhbva0X5i+oy64LDkFN+JIskKDgtElXtvhfALy4bOczdv4cd+l0E679dRWVYn8rQ0/oTjTJ2o1ozI0aGheaBqumq8ayZnKrXaktmfp/CpyxDCpq0rQUu0rb49HvK15XfQ/q1WC7XOlHyJELxmo7GV5OYyK/tTuj2Fiwl/tua/ZUE/M9gY3MAXlnnWYyX3bqk767r3Bq1DHc8GEKcNbxi0dETq2IO23ExlpP5+ouzLF93eWShttJ4psfL8FrRSTPwSiFwj95olP32hDWJyvjBm4wtrZdBJMlhX01SONdj2DgIKJ/LqIoGMjKehYrf+DFtskaBhirBX4xJeb4VVGtPcj6rH4jY0f4J6rBjFmG1PoeRi1KK9KTweO4B9Q==
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------
2021-09-22T11:33:44.276-0700 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403
Connection: close
Content-Length: 297
Content-Type: text/xml
Date: Wed, 22 Sep 2021 18:33:43 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 31c4f38f-4699-4ebe-9b37-939b0d08a58d
-----------------------------------------------------
2021-09-22T11:33:44.276-0700 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>ExpiredToken</Code>
<Message>The security token included in the request is expired</Message>
</Error>
<RequestId>31c4f38f-4699-4ebe-9b37-939b0d08a58d</RequestId>
</ErrorResponse>
2021-09-22T11:33:44.276-0700 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sts/GetCallerIdentity failed, attempt 0/5, error ExpiredToken: The security token included in the request is expired
status code: 403, request id: 31c4f38f-4699-4ebe-9b37-939b0d08a58d
2021-09-22T11:33:44.326-0700 [DEBUG] [aws-sdk-go] DEBUG: Retrying Request sts/GetCallerIdentity, attempt 1
2021-09-22T11:33:44.327-0700 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: aws-sdk-go/1.40.25 (go1.16.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/1.0.7
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=ASIA2R2HVSOCBJEVA2TS/20210922/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=4979931ab15becf337a6039d75d1009da343358b990108d977275961f680b530
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210922T183344Z
X-Amz-Security-Token: FwoGZXIvYXdzEKz//////////wEaDJlYNbjT5UwvuXzjNCL7Aa7DT9tDgAa2KA5ATAW7ZhhXwr8YkoXxYjtJlhbva0X5i+oy64LDkFN+JIskKDgtElXtvhfALy4bOczdv4cd+l0E679dRWVYn8rQ0/oTjTJ2o1ozI0aGheaBqumq8ayZnKrXaktmfp/CpyxDCpq0rQUu0rb49HvK15XfQ/q1WC7XOlHyJELxmo7GV5OYyK/tTuj2Fiwl/tua/ZUE/M9gY3MAXlnnWYyX3bqk767r3Bq1DHc8GEKcNbxi0dETq2IO23ExlpP5+ouzLF93eWShttJ4psfL8FrRSTPwSiFwj95olP32hDWJyvjBm4wtrZdBJMlhX01SONdj2DgIKJ/LqIoGMjKehYrf+DFtskaBhirBX4xJeb4VVGtPcj6rH4jY0f4J6rBjFmG1PoeRi1KK9KTweO4B9Q==
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------
2021-09-22T11:33:45.147-0700 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403
Connection: close
Content-Length: 297
Content-Type: text/xml
Date: Wed, 22 Sep 2021 18:33:44 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 7f7efec3-b99e-4480-a863-58b9ddf886b4
-----------------------------------------------------
2021-09-22T11:33:45.147-0700 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>ExpiredToken</Code>
<Message>The security token included in the request is expired</Message>
</Error>
<RequestId>7f7efec3-b99e-4480-a863-58b9ddf886b4</RequestId>
</ErrorResponse>
2021-09-22T11:33:45.147-0700 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sts/GetCallerIdentity failed, attempt 1/5, error ExpiredToken: The security token included in the request is expired
status code: 403, request id: 7f7efec3-b99e-4480-a863-58b9ddf886b4
2021-09-22T11:33:45.212-0700 [DEBUG] [aws-sdk-go] DEBUG: Retrying Request sts/GetCallerIdentity, attempt 2
2021-09-22T11:33:45.213-0700 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: aws-sdk-go/1.40.25 (go1.16.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/1.0.7
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=ASIA2R2HVSOCBJEVA2TS/20210922/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=da4f92fa1a0151d88d8a4c83abf01fefaa7ce45e8b65c63fd86d8dad8f8becf9
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210922T183345Z
X-Amz-Security-Token: FwoGZXIvYXdzEKz//////////wEaDJlYNbjT5UwvuXzjNCL7Aa7DT9tDgAa2KA5ATAW7ZhhXwr8YkoXxYjtJlhbva0X5i+oy64LDkFN+JIskKDgtElXtvhfALy4bOczdv4cd+l0E679dRWVYn8rQ0/oTjTJ2o1ozI0aGheaBqumq8ayZnKrXaktmfp/CpyxDCpq0rQUu0rb49HvK15XfQ/q1WC7XOlHyJELxmo7GV5OYyK/tTuj2Fiwl/tua/ZUE/M9gY3MAXlnnWYyX3bqk767r3Bq1DHc8GEKcNbxi0dETq2IO23ExlpP5+ouzLF93eWShttJ4psfL8FrRSTPwSiFwj95olP32hDWJyvjBm4wtrZdBJMlhX01SONdj2DgIKJ/LqIoGMjKehYrf+DFtskaBhirBX4xJeb4VVGtPcj6rH4jY0f4J6rBjFmG1PoeRi1KK9KTweO4B9Q==
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------
2021-09-22T11:33:45.836-0700 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403
Connection: close
Content-Length: 297
Content-Type: text/xml
Date: Wed, 22 Sep 2021 18:33:45 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 9a981814-b5d6-4801-be4c-596d6620b8a1
-----------------------------------------------------
2021-09-22T11:33:45.836-0700 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>ExpiredToken</Code>
<Message>The security token included in the request is expired</Message>
</Error>
<RequestId>9a981814-b5d6-4801-be4c-596d6620b8a1</RequestId>
</ErrorResponse>
2021-09-22T11:33:45.837-0700 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sts/GetCallerIdentity failed, attempt 2/5, error ExpiredToken: The security token included in the request is expired
status code: 403, request id: 9a981814-b5d6-4801-be4c-596d6620b8a1
2021-09-22T11:33:46.074-0700 [DEBUG] [aws-sdk-go] DEBUG: Retrying Request sts/GetCallerIdentity, attempt 3
2021-09-22T11:33:46.076-0700 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: aws-sdk-go/1.40.25 (go1.16.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/1.0.7
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=ASIA2R2HVSOCBJEVA2TS/20210922/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=531e07146c37bbfd9c1f7f468d75299925b03fe0afa9b82410c51b2bbb30fa74
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210922T183346Z
X-Amz-Security-Token: FwoGZXIvYXdzEKz//////////wEaDJlYNbjT5UwvuXzjNCL7Aa7DT9tDgAa2KA5ATAW7ZhhXwr8YkoXxYjtJlhbva0X5i+oy64LDkFN+JIskKDgtElXtvhfALy4bOczdv4cd+l0E679dRWVYn8rQ0/oTjTJ2o1ozI0aGheaBqumq8ayZnKrXaktmfp/CpyxDCpq0rQUu0rb49HvK15XfQ/q1WC7XOlHyJELxmo7GV5OYyK/tTuj2Fiwl/tua/ZUE/M9gY3MAXlnnWYyX3bqk767r3Bq1DHc8GEKcNbxi0dETq2IO23ExlpP5+ouzLF93eWShttJ4psfL8FrRSTPwSiFwj95olP32hDWJyvjBm4wtrZdBJMlhX01SONdj2DgIKJ/LqIoGMjKehYrf+DFtskaBhirBX4xJeb4VVGtPcj6rH4jY0f4J6rBjFmG1PoeRi1KK9KTweO4B9Q==
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------
2021-09-22T11:33:46.423-0700 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403
Connection: close
Content-Length: 297
Content-Type: text/xml
Date: Wed, 22 Sep 2021 18:33:45 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 0cd0678b-6019-4130-a98b-43fef2c9d6ad
-----------------------------------------------------
2021-09-22T11:33:46.423-0700 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>ExpiredToken</Code>
<Message>The security token included in the request is expired</Message>
</Error>
<RequestId>0cd0678b-6019-4130-a98b-43fef2c9d6ad</RequestId>
</ErrorResponse>
2021-09-22T11:33:46.423-0700 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sts/GetCallerIdentity failed, attempt 3/5, error ExpiredToken: The security token included in the request is expired
status code: 403, request id: 0cd0678b-6019-4130-a98b-43fef2c9d6ad
2021-09-22T11:33:46.885-0700 [DEBUG] [aws-sdk-go] DEBUG: Retrying Request sts/GetCallerIdentity, attempt 4
2021-09-22T11:33:46.886-0700 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: aws-sdk-go/1.40.25 (go1.16.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/1.0.7
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=ASIA2R2HVSOCBJEVA2TS/20210922/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=531e07146c37bbfd9c1f7f468d75299925b03fe0afa9b82410c51b2bbb30fa74
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210922T183346Z
X-Amz-Security-Token: FwoGZXIvYXdzEKz//////////wEaDJlYNbjT5UwvuXzjNCL7Aa7DT9tDgAa2KA5ATAW7ZhhXwr8YkoXxYjtJlhbva0X5i+oy64LDkFN+JIskKDgtElXtvhfALy4bOczdv4cd+l0E679dRWVYn8rQ0/oTjTJ2o1ozI0aGheaBqumq8ayZnKrXaktmfp/CpyxDCpq0rQUu0rb49HvK15XfQ/q1WC7XOlHyJELxmo7GV5OYyK/tTuj2Fiwl/tua/ZUE/M9gY3MAXlnnWYyX3bqk767r3Bq1DHc8GEKcNbxi0dETq2IO23ExlpP5+ouzLF93eWShttJ4psfL8FrRSTPwSiFwj95olP32hDWJyvjBm4wtrZdBJMlhX01SONdj2DgIKJ/LqIoGMjKehYrf+DFtskaBhirBX4xJeb4VVGtPcj6rH4jY0f4J6rBjFmG1PoeRi1KK9KTweO4B9Q==
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------
2021-09-22T11:33:47.229-0700 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403
Connection: close
Content-Length: 297
Content-Type: text/xml
Date: Wed, 22 Sep 2021 18:33:46 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: ebe08702-93cc-4977-bea9-d9f045e271ab
-----------------------------------------------------
2021-09-22T11:33:47.229-0700 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>ExpiredToken</Code>
<Message>The security token included in the request is expired</Message>
</Error>
<RequestId>ebe08702-93cc-4977-bea9-d9f045e271ab</RequestId>
</ErrorResponse>
2021-09-22T11:33:47.229-0700 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sts/GetCallerIdentity failed, attempt 4/5, error ExpiredToken: The security token included in the request is expired
status code: 403, request id: ebe08702-93cc-4977-bea9-d9f045e271ab
2021-09-22T11:33:48.142-0700 [DEBUG] [aws-sdk-go] DEBUG: Retrying Request sts/GetCallerIdentity, attempt 5
2021-09-22T11:33:48.144-0700 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
---[ REQUEST POST-SIGN ]-----------------------------
POST / HTTP/1.1
Host: sts.amazonaws.com
User-Agent: aws-sdk-go/1.40.25 (go1.16.4; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/1.0.7
Content-Length: 43
Authorization: AWS4-HMAC-SHA256 Credential=ASIA2R2HVSOCBJEVA2TS/20210922/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c1e329242b0bc2200d81069df3f41b8fc1d526fcdb0e4a6e104bf927b87056fe
Content-Type: application/x-www-form-urlencoded; charset=utf-8
X-Amz-Date: 20210922T183348Z
X-Amz-Security-Token: FwoGZXIvYXdzEKz//////////wEaDJlYNbjT5UwvuXzjNCL7Aa7DT9tDgAa2KA5ATAW7ZhhXwr8YkoXxYjtJlhbva0X5i+oy64LDkFN+JIskKDgtElXtvhfALy4bOczdv4cd+l0E679dRWVYn8rQ0/oTjTJ2o1ozI0aGheaBqumq8ayZnKrXaktmfp/CpyxDCpq0rQUu0rb49HvK15XfQ/q1WC7XOlHyJELxmo7GV5OYyK/tTuj2Fiwl/tua/ZUE/M9gY3MAXlnnWYyX3bqk767r3Bq1DHc8GEKcNbxi0dETq2IO23ExlpP5+ouzLF93eWShttJ4psfL8FrRSTPwSiFwj95olP32hDWJyvjBm4wtrZdBJMlhX01SONdj2DgIKJ/LqIoGMjKehYrf+DFtskaBhirBX4xJeb4VVGtPcj6rH4jY0f4J6rBjFmG1PoeRi1KK9KTweO4B9Q==
Accept-Encoding: gzip
Action=GetCallerIdentity&Version=2011-06-15
-----------------------------------------------------
2021-09-22T11:33:48.503-0700 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403
Connection: close
Content-Length: 297
Content-Type: text/xml
Date: Wed, 22 Sep 2021 18:33:47 GMT
Keep-Alive: timeout=5
X-Amzn-Requestid: 4a9a81cf-00d5-431f-9989-db58d0601a50
-----------------------------------------------------
2021-09-22T11:33:48.503-0700 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
<Error>
<Type>Sender</Type>
<Code>ExpiredToken</Code>
<Message>The security token included in the request is expired</Message>
</Error>
<RequestId>4a9a81cf-00d5-431f-9989-db58d0601a50</RequestId>
</ErrorResponse>
2021-09-22T11:33:48.503-0700 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sts/GetCallerIdentity failed, attempt 5/5, error ExpiredToken: The security token included in the request is expired
status code: 403, request id: 4a9a81cf-00d5-431f-9989-db58d0601a50
│ Error: error configuring S3 Backend: error validating provider credentials: error calling sts:GetCallerIdentity: ExpiredToken: The security token included in the request is expired
│ status code: 403, request id: 4a9a81cf-00d5-431f-9989-db58d0601a50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment