Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@eugenetaranov
Created February 13, 2018 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eugenetaranov/e3d55911491591faae8a9c9451b71232 to your computer and use it in GitHub Desktop.
Save eugenetaranov/e3d55911491591faae8a9c9451b71232 to your computer and use it in GitHub Desktop.
terraform 3rd apply
2018/02/14 02:28:14 [INFO] Terraform version: 0.11.3 3802b14260603f90c7a1faf55994dcc8933e2069
2018/02/14 02:28:14 [INFO] Go runtime version: go1.9.1
2018/02/14 02:28:14 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2018/02/14 02:28:14 [DEBUG] Attempting to open CLI config file: /Users/eugene/.terraformrc
2018/02/14 02:28:14 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/02/14 02:28:14 [INFO] CLI command args: []string{"apply"}
2018/02/14 02:28:14 [INFO] command: empty terraform config, returning nil
2018/02/14 02:28:14 [DEBUG] command: no data state file found for backend config
2018/02/14 02:28:14 [DEBUG] New state was assigned lineage "c123d515-396a-42a8-a928-e9fd6dd9ad3d"
2018/02/14 02:28:14 [INFO] command: backend initialized: <nil>
2018/02/14 02:28:14 [DEBUG] checking for provider in "."
2018/02/14 02:28:14 [DEBUG] checking for provider in "/usr/local/bin"
2018/02/14 02:28:14 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2018/02/14 02:28:14 [DEBUG] found provider "terraform-provider-aws_v1.8.0_x4"
2018/02/14 02:28:14 [DEBUG] found valid plugin: "aws", "1.8.0", "/Users/eugene/aws_ssh_key_test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.8.0_x4"
2018/02/14 02:28:14 [DEBUG] checking for provisioner in "."
2018/02/14 02:28:14 [DEBUG] checking for provisioner in "/usr/local/bin"
2018/02/14 02:28:14 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2018/02/14 02:28:14 [INFO] command: backend <nil> is not enhanced, wrapping in local
2018/02/14 02:28:14 [INFO] backend/local: starting Apply operation
2018/02/14 02:28:14 [INFO] terraform: building graph: GraphTypeInput
2018/02/14 02:28:14 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:14 [DEBUG] Attaching resource state to "aws_iam_user.test": &terraform.ResourceState{Type:"aws_iam_user", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203b2cd0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/02/14 02:28:14 [DEBUG] adding missing provider: aws
2018/02/14 02:28:14 [DEBUG] resource aws_iam_user.test using provider provider.aws
2018/02/14 02:28:14 [DEBUG] resource aws_iam_user_ssh_key.test using provider provider.aws
2018/02/14 02:28:14 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/02/14 02:28:14 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_iam_user.test - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
aws_iam_user_ssh_key.test - *terraform.NodeAbstractResource
aws_iam_user.test - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2018-02-14T02:28:14.960+0300 [DEBUG] plugin: starting plugin: path=/Users/eugene/aws_ssh_key_test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.8.0_x4 args=[/Users/eugene/aws_ssh_key_test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.8.0_x4]
2018-02-14T02:28:14.972+0300 [DEBUG] plugin: waiting for RPC address: path=/Users/eugene/aws_ssh_key_test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.8.0_x4
2018-02-14T02:28:14.993+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: plugin address: timestamp=2018-02-14T02:28:14.993+0300 address=/var/folders/mr/_bx5ns0x5mlbbqpnjc6_41_c0000gn/T/plugin753303692 network=unix
2018/02/14 02:28:14 [DEBUG] command: asking for input: "provider.aws.region"
provider.aws.region
The region where AWS operations will take place. Examples
are us-east-1, us-west-2, etc.
Default: us-east-1
Enter a value:
2018/02/14 02:28:16 [INFO] terraform: building graph: GraphTypeValidate
2018/02/14 02:28:16 [DEBUG] Attaching resource state to "aws_iam_user.test": &terraform.ResourceState{Type:"aws_iam_user", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203b2cd0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/02/14 02:28:16 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:16 [DEBUG] resource aws_iam_user.test using provider provider.aws
2018/02/14 02:28:16 [DEBUG] resource aws_iam_user_ssh_key.test using provider provider.aws
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "aws_iam_user.test" references: []
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "aws_iam_user_ssh_key.test" references: [aws_iam_user.test]
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/02/14 02:28:16 [DEBUG] Attaching resource state to "aws_iam_user.test": &terraform.ResourceState{Type:"aws_iam_user", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4203b2cd0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "aws_iam_user.test" references: []
2018/02/14 02:28:16 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "aws_iam_user_ssh_key.test" references: []
2018/02/14 02:28:16 [INFO] backend/local: apply calling Refresh
2018/02/14 02:28:16 [INFO] terraform: building graph: GraphTypeRefresh
2018/02/14 02:28:16 [DEBUG] Attaching resource state to "aws_iam_user.test": &terraform.ResourceState{Type:"aws_iam_user", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4204bc5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/02/14 02:28:16 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:16 [DEBUG] resource aws_iam_user.test using provider provider.aws
2018/02/14 02:28:16 [DEBUG] resource aws_iam_user_ssh_key.test using provider provider.aws
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "aws_iam_user.test" references: []
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "aws_iam_user_ssh_key.test" references: [aws_iam_user.test]
2018/02/14 02:28:16 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/02/14 02:28:16 [DEBUG] Starting graph walk: walkRefresh
2018-02-14T02:28:16.462+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:16 [INFO] No assume_role block read from configuration
2018-02-14T02:28:16.462+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:16 [INFO] Building AWS region structure
2018-02-14T02:28:16.462+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:16 [INFO] Building AWS auth structure
2018-02-14T02:28:16.462+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:16 [INFO] Setting AWS metadata API timeout to 100ms
2018-02-14T02:28:17.221+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:17 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2018-02-14T02:28:17.221+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:17 [INFO] AWS Auth provider used: "EnvProvider"
2018-02-14T02:28:17.222+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:17 [INFO] Initializing DeviceFarm SDK connection
2018-02-14T02:28:17.222+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:17 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2018-02-14T02:28:17.222+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:17.222+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:17.222+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: sts.amazonaws.com
2018-02-14T02:28:17.222+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:17.222+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 43
2018-02-14T02:28:17.223+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b62444fb15c968f614fbd6abbb26b0d8d232c4e6f3f6cd6f0b680b0069d8ae09
2018-02-14T02:28:17.223+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:17.223+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232817Z
2018-02-14T02:28:17.223+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:17.223+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:17.223+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2018-02-14T02:28:17.223+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:18 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 403
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:17 GMT
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 923ce5a6-1115-11e8-a5a6-371a1c0b7416
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:18 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <GetCallerIdentityResult>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Arn>arn:aws:iam::427985443494:user/eugene</Arn>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserId>AIDAJSJTJX4GZTAEOI2TC</UserId>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Account>427985443494</Account>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetCallerIdentityResult>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <ResponseMetadata>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>923ce5a6-1115-11e8-a5a6-371a1c0b7416</RequestId>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ResponseMetadata>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetCallerIdentityResponse>
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:18 [DEBUG] Trying to get account ID via iam:GetUser
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:18 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: iam.amazonaws.com
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 33
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=a190c55ab103503a873ba604b1b956212e5160a25ae31954c758c1c6657bf622
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232818Z
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=GetUser&Version=2010-05-08
2018-02-14T02:28:18.103+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:18 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 525
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:17 GMT
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 92aa26f5-1115-11e8-ae12-ddd3be383eb6
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:18 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <GetUserResult>
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <User>
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Path>/</Path>
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <PasswordLastUsed>2018-02-13T22:52:53Z</PasswordLastUsed>
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserName>eugene</UserName>
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Arn>arn:aws:iam::427985443494:user/eugene</Arn>
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserId>AIDAJSJTJX4GZTAEOI2TC</UserId>
2018-02-14T02:28:18.815+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <CreateDate>2016-03-08T10:40:50Z</CreateDate>
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </User>
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResult>
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <ResponseMetadata>
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>92aa26f5-1115-11e8-ae12-ddd3be383eb6</RequestId>
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ResponseMetadata>
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResponse>
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:18 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: ec2.us-east-1.amazonaws.com
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 87
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=cec56e5a41c456edf60d4646e94d1c1cc2df2e1dc686437d2c9a6f91ac407ecb
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232818Z
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2018-02-14T02:28:18.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:19 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Transfer-Encoding: chunked
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml;charset=UTF-8
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:19 GMT
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Server: AmazonEC2
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Vary: Accept-Encoding
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:19 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <requestId>bff48743-0b55-4402-941d-d716f752865b</requestId>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <accountAttributeSet>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <item>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeName>supported-platforms</attributeName>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeValueSet>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <item>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeValue>VPC</attributeValue>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </item>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </attributeValueSet>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </item>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </accountAttributeSet>
2018-02-14T02:28:19.757+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </DescribeAccountAttributesResponse>
2018/02/14 02:28:19 [DEBUG] Attaching resource state to "aws_iam_user.test": &terraform.ResourceState{Type:"aws_iam_user", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4204bc5f0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/02/14 02:28:19 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_iam_user.test - *terraform.NodeRefreshableManagedResourceInstance
2018/02/14 02:28:19 [DEBUG] ReferenceTransformer: "aws_iam_user.test" references: []
2018/02/14 02:28:19 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_iam_user.test - *terraform.NodeRefreshableManagedResourceInstance
aws_iam_user.test: Refreshing state... (ID: test)
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:19 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: iam.amazonaws.com
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 47
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=57e50a92a86753819b39173cda1754a14bd378fce3075c163a680525c1d83143
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232819Z
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=GetUser&UserName=test&Version=2010-05-08
2018-02-14T02:28:19.761+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:20.383+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:20 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2018-02-14T02:28:20.383+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:20.383+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:20.383+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:20.383+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 457
2018-02-14T02:28:20.383+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:20.383+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:20 GMT
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 9397e253-1115-11e8-9a21-33c6d2c96c93
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:20 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <GetUserResult>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <User>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Path>/</Path>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserName>test</UserName>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Arn>arn:aws:iam::427985443494:user/test</Arn>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserId>AIDAIQYKZUVJX2AL6FCBI</UserId>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <CreateDate>2018-02-13T23:22:26Z</CreateDate>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </User>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResult>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <ResponseMetadata>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>9397e253-1115-11e8-9a21-33c6d2c96c93</RequestId>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ResponseMetadata>
2018-02-14T02:28:20.384+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResponse>
2018/02/14 02:28:20 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:20 [DEBUG] ReferenceTransformer: "aws_iam_user_ssh_key.test" references: []
2018/02/14 02:28:20 [INFO] backend/local: apply calling Plan
2018/02/14 02:28:20 [INFO] terraform: building graph: GraphTypePlan
2018/02/14 02:28:20 [DEBUG] Attaching resource state to "aws_iam_user.test": &terraform.ResourceState{Type:"aws_iam_user", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4204569b0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/02/14 02:28:20 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:20 [DEBUG] adding missing provider: aws
2018/02/14 02:28:20 [DEBUG] resource aws_iam_user_ssh_key.test using provider provider.aws
2018/02/14 02:28:20 [DEBUG] ReferenceTransformer: "aws_iam_user.test" references: []
2018/02/14 02:28:20 [DEBUG] ReferenceTransformer: "aws_iam_user_ssh_key.test" references: [aws_iam_user.test]
2018/02/14 02:28:20 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018-02-14T02:28:20.396+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:20 [INFO] No assume_role block read from configuration
2018-02-14T02:28:20.396+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:20 [INFO] Building AWS region structure
2018-02-14T02:28:20.396+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:20 [INFO] Building AWS auth structure
2018-02-14T02:28:20.396+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:20 [INFO] Setting AWS metadata API timeout to 100ms
2018-02-14T02:28:21.200+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2018-02-14T02:28:21.200+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [INFO] AWS Auth provider used: "EnvProvider"
2018-02-14T02:28:21.200+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [INFO] Initializing DeviceFarm SDK connection
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: sts.amazonaws.com
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 43
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=bb010aeab78be3bcf1912e294d90f65535a6dd620fd046180dd20a0694015478
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232821Z
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2018-02-14T02:28:21.201+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 403
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:21 GMT
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 9473c363-1115-11e8-99f5-0d9dbad28424
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <GetCallerIdentityResult>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Arn>arn:aws:iam::427985443494:user/eugene</Arn>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserId>AIDAJSJTJX4GZTAEOI2TC</UserId>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Account>427985443494</Account>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetCallerIdentityResult>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <ResponseMetadata>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>9473c363-1115-11e8-99f5-0d9dbad28424</RequestId>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ResponseMetadata>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetCallerIdentityResponse>
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [DEBUG] Trying to get account ID via iam:GetUser
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:21 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: iam.amazonaws.com
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 33
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=5bbb878ab40ca0c21fab5b3ef1674e465c4462e83d3d983118e71bfdb7a9a0db
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232821Z
2018-02-14T02:28:21.816+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:21.817+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:21.817+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=GetUser&Version=2010-05-08
2018-02-14T02:28:21.817+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:22 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 525
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:22 GMT
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 94d7401e-1115-11e8-ae1a-df2bb2fe07b1
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:22 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <GetUserResult>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <User>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Path>/</Path>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <PasswordLastUsed>2018-02-13T22:52:53Z</PasswordLastUsed>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserName>eugene</UserName>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Arn>arn:aws:iam::427985443494:user/eugene</Arn>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserId>AIDAJSJTJX4GZTAEOI2TC</UserId>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <CreateDate>2016-03-08T10:40:50Z</CreateDate>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </User>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResult>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <ResponseMetadata>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>94d7401e-1115-11e8-ae1a-df2bb2fe07b1</RequestId>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ResponseMetadata>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResponse>
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:22 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: ec2.us-east-1.amazonaws.com
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:22.475+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 87
2018-02-14T02:28:22.476+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=6b77dc157f624a33ed14a63a34414867133448ad2bb15f7fef2283a089a215bc
2018-02-14T02:28:22.476+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:22.476+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232822Z
2018-02-14T02:28:22.476+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:22.476+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:22.476+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2018-02-14T02:28:22.476+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:23 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Transfer-Encoding: chunked
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml;charset=UTF-8
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:22 GMT
2018-02-14T02:28:23.170+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Server: AmazonEC2
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Vary: Accept-Encoding
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:23 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <requestId>c7bfa0c9-3d1c-4007-af02-d8a52ec45cdd</requestId>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <accountAttributeSet>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <item>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeName>supported-platforms</attributeName>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeValueSet>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <item>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeValue>VPC</attributeValue>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </item>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </attributeValueSet>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </item>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </accountAttributeSet>
2018-02-14T02:28:23.171+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </DescribeAccountAttributesResponse>
2018/02/14 02:28:23 [DEBUG] Attaching resource state to "aws_iam_user.test": &terraform.ResourceState{Type:"aws_iam_user", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4204569b0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.aws", mu:sync.Mutex{state:0, sema:0x0}}
2018/02/14 02:28:23 [DEBUG] ReferenceTransformer: "aws_iam_user.test" references: []
2018-02-14T02:28:23.174+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:23 [DEBUG] Instance Diff is nil in Diff()
2018/02/14 02:28:23 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:23 [DEBUG] ReferenceTransformer: "aws_iam_user_ssh_key.test" references: []
An execution plan has been generated and is shown below.
2018/02/14 02:28:23 [DEBUG] command: asking for input: "Do you want to perform these actions?"
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ aws_iam_user_ssh_key.test
id: <computed>
encoding: "PEM"
fingerprint: <computed>
public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFcMDIpVtqvnm/rQagtR7oRL4WwvQEKLfu+jzyCw9wF4JZNjiLCVVJiCKEqbxc7Qrl/U0LSqOcoOYsn4YTwYqlS2Kob0Z7V1PShWYSPvvUTu6FWzSmXIbwHMQ6RvBdGL740mIgCwgpqoIeOOxrEDQlWEjCLla15p5NSGphHYg32PV0oodauq6RsTK3owtMWd7oyd30yK16MqNufG91JNHG4M/tpUfdd2gQ5SWoLYcAgPXLUWC01+rntIPNc0ZKm+I53R0VhVZVTE/1+nFmJiVZdp7nIEFdr5AjUUPFp3GWUSt7nDAC8OaF9b/3uCmA4emXLecAjz7YtnlXrEaCsauH\n"
ssh_public_key_id: <computed>
status: "Inactive"
username: "test"
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2018/02/14 02:28:25 [INFO] terraform: building graph: GraphTypeApply
2018/02/14 02:28:25 [DEBUG] Resource state not found for "aws_iam_user_ssh_key.test": aws_iam_user_ssh_key.test
2018/02/14 02:28:25 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_iam_user_ssh_key.test - *terraform.NodeApplyableResource
2018/02/14 02:28:25 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/02/14 02:28:25 [TRACE] Graph after step *terraform.ProviderConfigTransformer:
aws_iam_user_ssh_key.test - *terraform.NodeApplyableResource
2018/02/14 02:28:25 [DEBUG] adding missing provider: aws
2018/02/14 02:28:25 [DEBUG] ReferenceTransformer: "aws_iam_user_ssh_key.test" references: []
2018/02/14 02:28:25 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018-02-14T02:28:25.902+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:25 [INFO] No assume_role block read from configuration
2018-02-14T02:28:25.902+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:25 [INFO] Building AWS region structure
2018-02-14T02:28:25.902+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:25 [INFO] Building AWS auth structure
2018-02-14T02:28:25.902+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:25 [INFO] Setting AWS metadata API timeout to 100ms
2018-02-14T02:28:26.261+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2018-02-14T02:28:26.261+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [INFO] AWS Auth provider used: "EnvProvider"
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [INFO] Initializing DeviceFarm SDK connection
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: sts.amazonaws.com
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 43
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b0c812da957e9ec662c443f5142f242d4b129d8643663e0b084ad33b53daa982
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232826Z
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=GetCallerIdentity&Version=2011-06-15
2018-02-14T02:28:26.262+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details:
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 403
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:26 GMT
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 97780265-1115-11e8-af77-2df017241dc4
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [DEBUG] [aws-sdk-go] <GetCallerIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <GetCallerIdentityResult>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Arn>arn:aws:iam::427985443494:user/eugene</Arn>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserId>AIDAJSJTJX4GZTAEOI2TC</UserId>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Account>427985443494</Account>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetCallerIdentityResult>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <ResponseMetadata>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>97780265-1115-11e8-af77-2df017241dc4</RequestId>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ResponseMetadata>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetCallerIdentityResponse>
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [DEBUG] Trying to get account ID via iam:GetUser
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:26 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetUser Details:
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: iam.amazonaws.com
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 33
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=d95e3193934310eb48132a7648e753f3cd36f79ad291acc2027182fc0c3220ee
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232826Z
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=GetUser&Version=2010-05-08
2018-02-14T02:28:26.879+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:27 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetUser Details:
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 525
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:27 GMT
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 97deb3e4-1115-11e8-ae1a-df2bb2fe07b1
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:27 [DEBUG] [aws-sdk-go] <GetUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <GetUserResult>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <User>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Path>/</Path>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <PasswordLastUsed>2018-02-13T22:52:53Z</PasswordLastUsed>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserName>eugene</UserName>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Arn>arn:aws:iam::427985443494:user/eugene</Arn>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <UserId>AIDAJSJTJX4GZTAEOI2TC</UserId>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <CreateDate>2016-03-08T10:40:50Z</CreateDate>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </User>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResult>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <ResponseMetadata>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>97deb3e4-1115-11e8-ae1a-df2bb2fe07b1</RequestId>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ResponseMetadata>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </GetUserResponse>
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:27 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details:
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: ec2.us-east-1.amazonaws.com
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 87
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=60d2d070d0db6dcb3f06849a69b099d4af64f2b5255b3b9de3f0f015cd0db286
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232827Z
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
2018-02-14T02:28:27.558+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:28 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 200 OK
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Transfer-Encoding: chunked
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml;charset=UTF-8
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:27 GMT
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Server: AmazonEC2
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Vary: Accept-Encoding
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:28 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <requestId>5ed6d81e-6bc3-4425-809c-99a516c071c7</requestId>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <accountAttributeSet>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <item>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeName>supported-platforms</attributeName>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeValueSet>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <item>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <attributeValue>VPC</attributeValue>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </item>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </attributeValueSet>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </item>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </accountAttributeSet>
2018-02-14T02:28:28.179+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </DescribeAccountAttributesResponse>
aws_iam_user_ssh_key.test: Creating...
encoding: "" => "PEM"
fingerprint: "" => "<computed>"
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:28 [DEBUG] Create IAM User SSH Key Request: {
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: SSHPublicKeyBody: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFcMDIpVtqvnm/rQagtR7oRL4WwvQEKLfu+jzyCw9wF4JZNjiLCVVJiCKEqbxc7Qrl/U0LSqOcoOYsn4YTwYqlS2Kob0Z7V1PShWYSPvvUTu6FWzSmXIbwHMQ6RvBdGL740mIgCwgpqoIeOOxrEDQlWEjCLla15p5NSGphHYg32PV0oodauq6RsTK3owtMWd7oyd30yK16MqNufG91JNHG4M/tpUfdd2gQ5SWoLYcAgPXLUWC01+rntIPNc0ZKm+I53R0VhVZVTE/1+nFmJiVZdp7nIEFdr5AjUUPFp3GWUSt7nDAC8OaF9b/3uCmA4emXLecAjz7YtnlXrEaCsauH\n",
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: UserName: "test"
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: }
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:28 [DEBUG] [aws-sdk-go] DEBUG: Request iam/UploadSSHPublicKey Details:
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: POST / HTTP/1.1
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Host: iam.amazonaws.com
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: User-Agent: aws-sdk-go/1.12.73 (go1.9.2; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.3
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 477
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=AKIAIFO7T42JND33HA3A/20180213/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=79cc18aa059b82d2f1a792a421b14743b28d25c13bdd79846ac34333f085c309
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amz-Date: 20180213T232828Z
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Accept-Encoding: gzip
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Action=UploadSSHPublicKey&SSHPublicKeyBody=ssh-rsa+AAAAB3NzaC1yc2EAAAADAQABAAABAQDFcMDIpVtqvnm%2FrQagtR7oRL4WwvQEKLfu%2BjzyCw9wF4JZNjiLCVVJiCKEqbxc7Qrl%2FU0LSqOcoOYsn4YTwYqlS2Kob0Z7V1PShWYSPvvUTu6FWzSmXIbwHMQ6RvBdGL740mIgCwgpqoIeOOxrEDQlWEjCLla15p5NSGphHYg32PV0oodauq6RsTK3owtMWd7oyd30yK16MqNufG91JNHG4M%2FtpUfdd2gQ5SWoLYcAgPXLUWC01%2BrntIPNc0ZKm%2BI53R0VhVZVTE%2F1%2BnFmJiVZdp7nIEFdr5AjUUPFp3GWUSt7nDAC8OaF9b%2F3uCmA4emXLecAjz7YtnlXrEaCsauH%0A&UserName=test&Version=2010-05-08
2018-02-14T02:28:28.185+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
public_key: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFcMDIpVtqvnm/rQagtR7oRL4WwvQEKLfu+jzyCw9wF4JZNjiLCVVJiCKEqbxc7Qrl/U0LSqOcoOYsn4YTwYqlS2Kob0Z7V1PShWYSPvvUTu6FWzSmXIbwHMQ6RvBdGL740mIgCwgpqoIeOOxrEDQlWEjCLla15p5NSGphHYg32PV0oodauq6RsTK3owtMWd7oyd30yK16MqNufG91JNHG4M/tpUfdd2gQ5SWoLYcAgPXLUWC01+rntIPNc0ZKm+I53R0VhVZVTE/1+nFmJiVZdp7nIEFdr5AjUUPFp3GWUSt7nDAC8OaF9b/3uCmA4emXLecAjz7YtnlXrEaCsauH\n"
ssh_public_key_id: "" => "<computed>"
status: "" => "Inactive"
username: "" => "test"
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:28 [DEBUG] [aws-sdk-go] DEBUG: Response iam/UploadSSHPublicKey Details:
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: ---[ RESPONSE ]--------------------------------------
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: HTTP/1.1 400 Bad Request
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Connection: close
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Length: 287
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Content-Type: text/xml
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: Date: Tue, 13 Feb 2018 23:28:28 GMT
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: X-Amzn-Requestid: 989e8170-1115-11e8-9a21-33c6d2c96c93
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4:
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: -----------------------------------------------------
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:28 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Error>
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Type>Sender</Type>
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Code>DuplicateSSHPublicKey</Code>
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <Message>Duplicate SSH public key uploaded.</Message>
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </Error>
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: <RequestId>989e8170-1115-11e8-9a21-33c6d2c96c93</RequestId>
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: </ErrorResponse>
2018-02-14T02:28:28.835+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: 2018/02/14 02:28:28 [DEBUG] [aws-sdk-go] DEBUG: Validate Response iam/UploadSSHPublicKey failed, not retrying, error DuplicateSSHPublicKey: Duplicate SSH public key uploaded.
2018-02-14T02:28:28.836+0300 [DEBUG] plugin.terraform-provider-aws_v1.8.0_x4: status code: 400, request id: 989e8170-1115-11e8-9a21-33c6d2c96c93
2018/02/14 02:28:28 [TRACE] root: eval: *terraform.EvalWriteState
2018/02/14 02:28:28 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* aws_iam_user_ssh_key.test: Error creating IAM User SSH Key test: DuplicateSSHPublicKey: Duplicate SSH public key uploaded.
status code: 400, request id: 989e8170-1115-11e8-9a21-33c6d2c96c93
2018/02/14 02:28:28 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* aws_iam_user_ssh_key.test: Error creating IAM User SSH Key test: DuplicateSSHPublicKey: Duplicate SSH public key uploaded.
status code: 400, request id: 989e8170-1115-11e8-9a21-33c6d2c96c93
2018/02/14 02:28:28 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: Error applying plan:
1 error(s) occurred:
* aws_iam_user_ssh_key.test: 1 error(s) occurred:
* aws_iam_user_ssh_key.test: Error creating IAM User SSH Key test: DuplicateSSHPublicKey: Duplicate SSH public key uploaded.
status code: 400, request id: 989e8170-1115-11e8-9a21-33c6d2c96c93
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
2018-02-14T02:28:28.848+0300 [DEBUG] plugin: plugin process exited: path=/Users/eugene/aws_ssh_key_test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.8.0_x4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment