From 195e6fd2bd185ee6c4aa62b0a1e3faaa6f42d094 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:26:17 +0300 Subject: [PATCH 01/41] use enum slices + use built in validation func --- aws/resource_aws_cognito_user_pool_client.go | 17 +++++++++++++---- aws/validators.go | 16 ---------------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index e2132390e5a..6ab73b48e29 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -3,6 +3,7 @@ package aws import ( "fmt" "log" + "regexp" "strings" "github.com/aws/aws-sdk-go/aws" @@ -112,8 +113,12 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Optional: true, MaxItems: 100, Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validateCognitoUserPoolClientURL, + Type: schema.TypeString, + ValidateFunc: validation.All( + validation.StringLenBetween(1, 1024), + validation.StringMatch(regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), + "must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+`"), + ), }, }, @@ -127,8 +132,12 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Optional: true, MaxItems: 100, Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validateCognitoUserPoolClientURL, + Type: schema.TypeString, + ValidateFunc: validation.All( + validation.StringLenBetween(1, 1024), + validation.StringMatch(regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), + "must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+`"), + ), }, }, diff --git a/aws/validators.go b/aws/validators.go index d5c20782d5d..47967a095ec 100644 --- a/aws/validators.go +++ b/aws/validators.go @@ -1849,22 +1849,6 @@ func validateCognitoUserPoolSchemaName(v interface{}, k string) (ws []string, es return } -func validateCognitoUserPoolClientURL(v interface{}, k string) (ws []string, es []error) { - value := v.(string) - if len(value) < 1 { - es = append(es, fmt.Errorf("%q cannot be less than 1 character", k)) - } - - if len(value) > 1024 { - es = append(es, fmt.Errorf("%q cannot be longer than 1024 character", k)) - } - - if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+`).MatchString(value) { - es = append(es, fmt.Errorf(`%q must satisfy regular expression pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+`, k)) - } - return -} - func validateCognitoResourceServerScopeName(v interface{}, k string) (ws []string, errors []error) { value := v.(string) From df24cf2af20b86b105a93df37b3a435cb7c48cab Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:31:22 +0300 Subject: [PATCH 02/41] add access token validity --- aws/resource_aws_cognito_user_pool_client.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 6ab73b48e29..e4e85b83016 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -79,6 +79,11 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Default: 30, ValidateFunc: validation.IntBetween(0, 3650), }, + "access_token_validity": { + Type: schema.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 86400), + }, "allowed_oauth_flows": { Type: schema.TypeSet, @@ -224,6 +229,10 @@ func resourceAwsCognitoUserPoolClientCreate(d *schema.ResourceData, meta interfa params.RefreshTokenValidity = aws.Int64(int64(v.(int))) } + if v, ok := d.GetOk("access_token_validity"); ok { + params.AccessTokenValidity = aws.Int64(int64(v.(int))) + } + if v, ok := d.GetOk("allowed_oauth_flows"); ok { params.AllowedOAuthFlows = expandStringSet(v.(*schema.Set)) } @@ -301,6 +310,7 @@ func resourceAwsCognitoUserPoolClientRead(d *schema.ResourceData, meta interface d.Set("read_attributes", flattenStringSet(resp.UserPoolClient.ReadAttributes)) d.Set("write_attributes", flattenStringSet(resp.UserPoolClient.WriteAttributes)) d.Set("refresh_token_validity", resp.UserPoolClient.RefreshTokenValidity) + d.Set("refresh_token_validity", resp.UserPoolClient.AccessTokenValidity) d.Set("client_secret", resp.UserPoolClient.ClientSecret) d.Set("allowed_oauth_flows", flattenStringSet(resp.UserPoolClient.AllowedOAuthFlows)) d.Set("allowed_oauth_flows_user_pool_client", resp.UserPoolClient.AllowedOAuthFlowsUserPoolClient) @@ -346,6 +356,10 @@ func resourceAwsCognitoUserPoolClientUpdate(d *schema.ResourceData, meta interfa params.RefreshTokenValidity = aws.Int64(int64(v.(int))) } + if v, ok := d.GetOk("access_token_validity"); ok { + params.AccessTokenValidity = aws.Int64(int64(v.(int))) + } + if v, ok := d.GetOk("allowed_oauth_flows"); ok { params.AllowedOAuthFlows = expandStringSet(v.(*schema.Set)) } From 7fd1b4f958340d09dc768b56561396f2b9e32f06 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:32:51 +0300 Subject: [PATCH 03/41] id token validity --- aws/resource_aws_cognito_user_pool_client.go | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index e4e85b83016..b6519754861 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -84,6 +84,11 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Optional: true, ValidateFunc: validation.IntBetween(1, 86400), }, + "id_token_validity": { + Type: schema.TypeInt, + Optional: true, + ValidateFunc: validation.IntBetween(1, 86400), + }, "allowed_oauth_flows": { Type: schema.TypeSet, @@ -233,6 +238,10 @@ func resourceAwsCognitoUserPoolClientCreate(d *schema.ResourceData, meta interfa params.AccessTokenValidity = aws.Int64(int64(v.(int))) } + if v, ok := d.GetOk("id_token_validity"); ok { + params.IdTokenValidity = aws.Int64(int64(v.(int))) + } + if v, ok := d.GetOk("allowed_oauth_flows"); ok { params.AllowedOAuthFlows = expandStringSet(v.(*schema.Set)) } @@ -310,7 +319,8 @@ func resourceAwsCognitoUserPoolClientRead(d *schema.ResourceData, meta interface d.Set("read_attributes", flattenStringSet(resp.UserPoolClient.ReadAttributes)) d.Set("write_attributes", flattenStringSet(resp.UserPoolClient.WriteAttributes)) d.Set("refresh_token_validity", resp.UserPoolClient.RefreshTokenValidity) - d.Set("refresh_token_validity", resp.UserPoolClient.AccessTokenValidity) + d.Set("access_token_validity", resp.UserPoolClient.AccessTokenValidity) + d.Set("id_token_validity", resp.UserPoolClient.IdTokenValidity) d.Set("client_secret", resp.UserPoolClient.ClientSecret) d.Set("allowed_oauth_flows", flattenStringSet(resp.UserPoolClient.AllowedOAuthFlows)) d.Set("allowed_oauth_flows_user_pool_client", resp.UserPoolClient.AllowedOAuthFlowsUserPoolClient) @@ -360,6 +370,10 @@ func resourceAwsCognitoUserPoolClientUpdate(d *schema.ResourceData, meta interfa params.AccessTokenValidity = aws.Int64(int64(v.(int))) } + if v, ok := d.GetOk("id_token_validity"); ok { + params.IdTokenValidity = aws.Int64(int64(v.(int))) + } + if v, ok := d.GetOk("allowed_oauth_flows"); ok { params.AllowedOAuthFlows = expandStringSet(v.(*schema.Set)) } From e9354b392e974315ef3709b6ca745018b48a5e3b Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:42:13 +0300 Subject: [PATCH 04/41] add token validity units block --- aws/resource_aws_cognito_user_pool_client.go | 85 ++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index b6519754861..2c8135cdfc2 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -89,6 +89,33 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Optional: true, ValidateFunc: validation.IntBetween(1, 86400), }, + "token_validity_units": { + Type: schema.TypeList, + Optional: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "access_token": { + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.TimeUnitsTypeHours, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), + }, + "id_token": { + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.TimeUnitsTypeHours, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), + }, + "refresh_token": { + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.TimeUnitsTypeDays, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), + }, + }, + }, + }, "allowed_oauth_flows": { Type: schema.TypeSet, @@ -274,6 +301,10 @@ func resourceAwsCognitoUserPoolClientCreate(d *schema.ResourceData, meta interfa params.AnalyticsConfiguration = expandAwsCognitoUserPoolClientAnalyticsConfig(v.([]interface{})) } + if v, ok := d.GetOk("token_validity_units"); ok { + params.TokenValidityUnits = expandAwsCognitoUserPoolClientTokenValidityUnitsType(v.([]interface{})) + } + if v, ok := d.GetOk("prevent_user_existence_errors"); ok { params.PreventUserExistenceErrors = aws.String(v.(string)) } @@ -335,6 +366,10 @@ func resourceAwsCognitoUserPoolClientRead(d *schema.ResourceData, meta interface return fmt.Errorf("error setting analytics_configuration: %s", err) } + if err := d.Set("token_validity_units", flattenAwsCognitoUserPoolClientTokenValidityUnitsType(resp.UserPoolClient.TokenValidityUnits)); err != nil { + return fmt.Errorf("error setting token_validity_units: %w", err) + } + return nil } @@ -410,6 +445,10 @@ func resourceAwsCognitoUserPoolClientUpdate(d *schema.ResourceData, meta interfa params.AnalyticsConfiguration = expandAwsCognitoUserPoolClientAnalyticsConfig(v.([]interface{})) } + if v, ok := d.GetOk("token_validity_units"); ok { + params.TokenValidityUnits = expandAwsCognitoUserPoolClientTokenValidityUnitsType(v.([]interface{})) + } + log.Printf("[DEBUG] Updating Cognito User Pool Client: %s", params) _, err := conn.UpdateUserPoolClient(params) @@ -511,3 +550,49 @@ func flattenAwsCognitoUserPoolClientAnalyticsConfig(analyticsConfig *cognitoiden return []interface{}{m} } + +func expandAwsCognitoUserPoolClientTokenValidityUnitsType(l []interface{}) *cognitoidentityprovider.TokenValidityUnitsType { + if len(l) == 0 { + return nil + } + + m := l[0].(map[string]interface{}) + + tokenValidityConfig := &cognitoidentityprovider.TokenValidityUnitsType{} + + if v, ok := m["access_token"]; ok { + tokenValidityConfig.AccessToken = aws.String(v.(string)) + } + + if v, ok := m["id_token"]; ok { + tokenValidityConfig.IdToken = aws.String(v.(string)) + } + + if v, ok := m["refresh_token"]; ok { + tokenValidityConfig.RefreshToken = aws.String(v.(string)) + } + + return tokenValidityConfig +} + +func flattenAwsCognitoUserPoolClientTokenValidityUnitsType(tokenValidityConfig *cognitoidentityprovider.TokenValidityUnitsType) []interface{} { + if tokenValidityConfig == nil { + return []interface{}{} + } + + m := map[string]interface{}{} + + if tokenValidityConfig.IdToken != nil { + m["id_token"] = aws.StringValue(tokenValidityConfig.IdToken) + } + + if tokenValidityConfig.AccessToken != nil { + m["access_token"] = aws.StringValue(tokenValidityConfig.AccessToken) + } + + if tokenValidityConfig.RefreshToken != nil { + m["refresh_token"] = aws.StringValue(tokenValidityConfig.RefreshToken) + } + + return []interface{}{m} +} From c8c687511f4480bbb323d41f417fad9118561b7e Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:42:46 +0300 Subject: [PATCH 05/41] fix range according to aws docs --- aws/resource_aws_cognito_user_pool_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 2c8135cdfc2..7acd0fe3e72 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -77,7 +77,7 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Type: schema.TypeInt, Optional: true, Default: 30, - ValidateFunc: validation.IntBetween(0, 3650), + ValidateFunc: validation.IntBetween(0, 315360000), }, "access_token_validity": { Type: schema.TypeInt, From 8b4d6de75babce78e1c8e2cfa342cd5e905c3ea5 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:43:49 +0300 Subject: [PATCH 06/41] add `prevent_user_existence_errors` validation --- aws/resource_aws_cognito_user_pool_client.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 7acd0fe3e72..5c119dd692f 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -179,9 +179,10 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { }, "prevent_user_existence_errors": { - Type: schema.TypeString, - Optional: true, - Computed: true, + Type: schema.TypeString, + Optional: true, + Computed: true, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.PreventUserExistenceErrorTypes_Values(), false), }, "supported_identity_providers": { From c6f5cf0ca21651c0ca1314256f680c0498b1d9ad Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:48:00 +0300 Subject: [PATCH 07/41] add more validations --- aws/resource_aws_cognito_user_pool_client.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 5c119dd692f..621cdb97382 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -28,6 +28,11 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { "name": { Type: schema.TypeString, Required: true, + ValidateFunc: validation.All( + validation.StringLenBetween(1, 128), + validation.StringMatch(regexp.MustCompile(`[\w\s+=,.@-]+`), + "must satisfy regular expression pattern: `[\\w\\s+=,.@-]+`"), + ), }, "client_secret": { @@ -162,6 +167,11 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { "default_redirect_uri": { Type: schema.TypeString, Optional: true, + ValidateFunc: validation.All( + validation.StringLenBetween(1, 1024), + validation.StringMatch(regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), + "must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+`"), + ), }, "logout_urls": { @@ -190,6 +200,11 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Optional: true, Elem: &schema.Schema{ Type: schema.TypeString, + ValidateFunc: validation.All( + validation.StringLenBetween(1, 32), + validation.StringMatch(regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), + "must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+`"), + ), }, }, "analytics_configuration": { From f385d8fff7cd43c304dfc5e7a28532efb00afc35 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:52:53 +0300 Subject: [PATCH 08/41] add token validity tests (ommited units) --- ...ource_aws_cognito_user_pool_client_test.go | 113 +++++++++++++++--- 1 file changed, 97 insertions(+), 16 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index d1fff425c1b..46b806ec242 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -76,6 +76,74 @@ func TestAccAWSCognitoUserPoolClient_RefreshTokenValidity(t *testing.T) { }) } +func TestAccAWSCognitoUserPoolClient_AccessTokenValidity(t *testing.T) { + var client cognitoidentityprovider.UserPoolClientType + rName := acctest.RandomWithPrefix("tf-acc-test") + resourceName := "aws_cognito_user_pool_client.test" + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSCognitoUserPoolClientConfigAccessTokenValidity(rName, 60), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "access_token_validity", "60"), + ), + }, + { + ResourceName: resourceName, + ImportStateIdFunc: testAccAWSCognitoUserPoolClientImportStateIDFunc(resourceName), + ImportState: true, + ImportStateVerify: true, + }, + { + Config: testAccAWSCognitoUserPoolClientConfigAccessTokenValidity(rName, 120), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "access_token_validity", "120"), + ), + }, + }, + }) +} + +func TestAccAWSCognitoUserPoolClient_IdTokenValidity(t *testing.T) { + var client cognitoidentityprovider.UserPoolClientType + rName := acctest.RandomWithPrefix("tf-acc-test") + resourceName := "aws_cognito_user_pool_client.test" + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSCognitoUserPoolClientConfigIDTokenValidity(rName, 60), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "access_token_validity", "60"), + ), + }, + { + ResourceName: resourceName, + ImportStateIdFunc: testAccAWSCognitoUserPoolClientImportStateIDFunc(resourceName), + ImportState: true, + ImportStateVerify: true, + }, + { + Config: testAccAWSCognitoUserPoolClientConfigIDTokenValidity(rName, 120), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "access_token_validity", "120"), + ), + }, + }, + }) +} + func TestAccAWSCognitoUserPoolClient_Name(t *testing.T) { var client cognitoidentityprovider.UserPoolClientType rName := acctest.RandomWithPrefix("tf-acc-test") @@ -325,7 +393,7 @@ func TestAccAWSCognitoUserPoolClient_disappears(t *testing.T) { Config: testAccAWSCognitoUserPoolClientConfig_basic(userPoolName, clientName), Check: resource.ComposeAggregateTestCheckFunc( testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), - testAccCheckAWSCognitoUserPoolClientDisappears(&client), + testAccCheckResourceDisappears(testAccProvider, resourceAwsCognitoUserPoolClient(), resourceName), ), ExpectNonEmptyPlan: true, }, @@ -418,21 +486,6 @@ func testAccCheckAWSCognitoUserPoolClientExists(name string, client *cognitoiden } } -func testAccCheckAWSCognitoUserPoolClientDisappears(client *cognitoidentityprovider.UserPoolClientType) resource.TestCheckFunc { - return func(s *terraform.State) error { - conn := testAccProvider.Meta().(*AWSClient).cognitoidpconn - - params := &cognitoidentityprovider.DeleteUserPoolClientInput{ - ClientId: client.ClientId, - UserPoolId: client.UserPoolId, - } - - _, err := conn.DeleteUserPoolClient(params) - - return err - } -} - func testAccAWSCognitoUserPoolClientConfig_basic(userPoolName, clientName string) string { return fmt.Sprintf(` resource "aws_cognito_user_pool" "test" { @@ -461,6 +514,34 @@ resource "aws_cognito_user_pool_client" "test" { `, rName, rName, refreshTokenValidity) } +func testAccAWSCognitoUserPoolClientConfigAccessTokenValidity(rName string, validity int) string { + return fmt.Sprintf(` +resource "aws_cognito_user_pool" "test" { + name = "%s" +} + +resource "aws_cognito_user_pool_client" "test" { + name = "%s" + access_token_validity = %d + user_pool_id = aws_cognito_user_pool.test.id +} +`, rName, rName, validity) +} + +func testAccAWSCognitoUserPoolClientConfigIDTokenValidity(rName string, validity int) string { + return fmt.Sprintf(` +resource "aws_cognito_user_pool" "test" { + name = "%s" +} + +resource "aws_cognito_user_pool_client" "test" { + name = "%s" + id_token_validity = %d + user_pool_id = aws_cognito_user_pool.test.id +} +`, rName, rName, validity) +} + func testAccAWSCognitoUserPoolClientConfig_Name(rName, name string) string { return fmt.Sprintf(` resource "aws_cognito_user_pool" "test" { From faf2152f91db197ac6e29906a4ea1e485480b0ec Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Mon, 31 Aug 2020 23:57:47 +0300 Subject: [PATCH 09/41] extract var --- a.txt | 4716 ++++++++++++++++++ aws/resource_aws_cognito_user_pool_client.go | 46 +- 2 files changed, 4740 insertions(+), 22 deletions(-) create mode 100644 a.txt diff --git a/a.txt b/a.txt new file mode 100644 index 00000000000..59002575ddd --- /dev/null +++ b/a.txt @@ -0,0 +1,4716 @@ +==> Checking that code complies with gofmt requirements... +TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerFeatureGroup_tags -timeout 120m +=== RUN TestAccAWSSagemakerFeatureGroup_tags +=== PAUSE TestAccAWSSagemakerFeatureGroup_tags +=== CONT TestAccAWSSagemakerFeatureGroup_tags +2020/12/11 23:26:51 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:26:51 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:26:51 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=f912730bb343f08513ee0345004b595759f6ab160310395a28b645611cbf2ce7 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212651Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:26:52 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:26:52 GMT +X-Amzn-Requestid: 276502d5-c4cf-415d-b50d-4364ca8ea2c4 + + +----------------------------------------------------- +2020/12/11 23:26:52 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 276502d5-c4cf-415d-b50d-4364ca8ea2c4 + + +2020/12/11 23:26:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:26:52 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=394e042f51fcbd23807a41dedd7e668bc490e83bf0b94ce63100bb4fd5be252e +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212652Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:26:53 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:26:52 GMT +X-Amzn-Requestid: c19a518e-5d40-47df-b127-fb83553092f6 + + +----------------------------------------------------- +2020/12/11 23:26:53 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + c19a518e-5d40-47df-b127-fb83553092f6 + + +2020/12/11 23:26:53 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=477f827783661a7b555f0d5d65e0d3f6403395e2a6f238132becc00c0685b319 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212653Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:26:55 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:26:54 GMT +Server: AmazonEC2 +X-Amzn-Requestid: b15b8956-81c3-47d3-8d3a-3711bba079d5 + + +----------------------------------------------------- +2020/12/11 23:26:55 [DEBUG] [aws-sdk-go] + + b15b8956-81c3-47d3-8d3a-3711bba079d5 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:26:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:26:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:26:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:26:56 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:26:56 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:26:56 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d6176cd310c8f5acc91788c5456024a5db77d36dbe4da47d9ae8df791e50c26a +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212656Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:26:57 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:26:56 GMT +X-Amzn-Requestid: 527e37fb-1cf2-4a61-97f7-1ebcb182c055 + + +----------------------------------------------------- +2020/12/11 23:26:57 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 527e37fb-1cf2-4a61-97f7-1ebcb182c055 + + +2020/12/11 23:26:57 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:26:57 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=70402520f079426a41830211a0fba25a520a07f05ef1124111a2e5a16c15571f +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212657Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:26:58 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:26:57 GMT +X-Amzn-Requestid: 2023ead5-14b5-473c-9fee-9d594cabc84e + + +----------------------------------------------------- +2020/12/11 23:26:58 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 2023ead5-14b5-473c-9fee-9d594cabc84e + + +2020/12/11 23:26:58 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=ac088e2ec463dc2d710b66ac1d56bf84a47b56579a737c2f11d2c05a562d1853 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212658Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:00 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:26:59 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 30292eed-aa97-4a5f-9e21-c1b5356508c5 + + +----------------------------------------------------- +2020/12/11 23:27:00 [DEBUG] [aws-sdk-go] + + 30292eed-aa97-4a5f-9e21-c1b5356508c5 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:00 [DEBUG] Reading Partition. +2020/12/11 23:27:00 [DEBUG] Setting AWS Partition to aws. +2020/12/11 23:27:00 [DEBUG] Setting AWS URL Suffix to amazonaws.com. +2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:00 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:27:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:00 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c1ed670ca70af360d5be423b14e08c786ef40372f26b9275cc7a29f435188a00 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212700Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:01 GMT +X-Amzn-Requestid: f1e4c463-f882-47ff-9ca0-148a4372925a + + +----------------------------------------------------- +2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + f1e4c463-f882-47ff-9ca0-148a4372925a + + +2020/12/11 23:27:01 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:01 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=403340c7e770d6aeb3269d22027a499fa665d42a99e6f48da2c099d6e8e3fc64 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212701Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:01 GMT +X-Amzn-Requestid: 34dc2ad9-502d-4993-9a32-b0d579916b94 + + +----------------------------------------------------- +2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 34dc2ad9-502d-4993-9a32-b0d579916b94 + + +2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d4d05b25eb6790cfe473b72d95f4c3cab2fa24bbcc9db3268dad9bb1326902c6 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212701Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:02 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:27:02 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 34038472-ad1f-4c24-9726-4e06b6d85e15 + + +----------------------------------------------------- +2020/12/11 23:27:02 [DEBUG] [aws-sdk-go] + + 34038472-ad1f-4c24-9726-4e06b6d85e15 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:03 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:27:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:03 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bbac028d0b78263afc3f22462ac9fb89efab72309a927f2ef410ccc990ec6585 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212703Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:03 GMT +X-Amzn-Requestid: 7c8b4120-8ac3-4506-863d-7e06f6cc1f8e + + +----------------------------------------------------- +2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 7c8b4120-8ac3-4506-863d-7e06f6cc1f8e + + +2020/12/11 23:27:04 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:04 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=4a66451f8ddd429517cf83ef4ed30cc450766939c4536593a68992e8a433bb5e +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212704Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:04 GMT +X-Amzn-Requestid: 62a54e74-657d-4b1c-82d1-f61626594c43 + + +----------------------------------------------------- +2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 62a54e74-657d-4b1c-82d1-f61626594c43 + + +2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c522ad02fa2d2655e7da8be95f7ddb3a748dabea69272812fcfc60e51d2581fb +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212704Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:27:06 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 654d36be-17f4-4113-bf0b-842efe144ea4 + + +----------------------------------------------------- +2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] + + 654d36be-17f4-4113-bf0b-842efe144ea4 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] DEBUG: Request iam/CreatePolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 351 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=35a5568dd3bc27ecab977c8df8254d5bcef49d4d6cbe8a5ec3ee9301163e3005 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212706Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=CreatePolicy&Description=&Path=%2F&PolicyDocument=%7B%0A++%22Version%22%3A+%222012-10-17%22%2C%0A++%22Statement%22%3A+%5B%7B%0A++++%22Effect%22%3A+%22Allow%22%2C%0A++++%22Resource%22%3A+%22%2A%22%2C%0A++++%22Action%22%3A+%5B%0A++++++%22s3%3A%2A%22%0A++++%5D%0A++%7D%5D%0A%7D%0A&PolicyName=terraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:06 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] DEBUG: Request iam/CreateRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 461 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7b75efdfa176ef233b9c8226084057a737143090b6573450951a56808bbd2214 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212706Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=CreateRole&AssumeRolePolicyDocument=%7B%0A++%22Version%22%3A+%222012-10-17%22%2C%0A++%22Statement%22%3A+%5B%0A++++%7B%0A++++++%22Sid%22%3A+%22%22%2C%0A++++++%22Effect%22%3A+%22Allow%22%2C%0A++++++%22Action%22%3A+%22sts%3AAssumeRole%22%2C%0A++++++%22Principal%22%3A+%7B%0A++++++++%22Service%22%3A+%22sagemaker.amazonaws.com%22%0A++++++%7D%0A++++%7D%0A++%5D%0A%7D&MaxSessionDuration=3600&Path=%2F&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/CreatePolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 807 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:07 GMT +X-Amzn-Requestid: 1b062af0-9bb6-4b2e-b77e-1d4a7811539c + + +----------------------------------------------------- +2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] + + + 0 + / + 2020-12-11T21:27:07Z + v1 + ANPAX5UOQS552PCJGB7JJ + true + terraform-20201211212706934100000001 + 0 + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + 2020-12-11T21:27:07Z + + + + 1b062af0-9bb6-4b2e-b77e-1d4a7811539c + + +2020/12/11 23:27:07 [DEBUG] Getting IAM Policy: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" +} +2020/12/11 23:27:07 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 127 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1f6096ff122e3bd2b143561f39fab77e661bbdb28b824bbdd303a1ad8d9a06e2 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212707Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/CreateRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 1026 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:07 GMT +X-Amzn-Requestid: 6248428e-f891-4622-9fc7-129048a77429 + + +----------------------------------------------------- +2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] + + + / + %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%22Sid%22%3A%20%22%22%2C%0A%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%22Action%22%3A%20%22sts%3AAssumeRole%22%2C%0A%20%20%20%20%20%20%22Principal%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22Service%22%3A%20%22sagemaker.amazonaws.com%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%5D%0A%7D + AROAX5UOQS55YJ6LR4IKB + tf-acc-test-6871308186836168313 + arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 + 2020-12-11T21:27:07Z + + + + 6248428e-f891-4622-9fc7-129048a77429 + + +2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 74 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=5698249583881d5c3f9ed3dbc20a901278ed5d6c74f425fb9f7fba9709597e8c +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212707Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 795 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:07 GMT +X-Amzn-Requestid: 50c8a13b-bd27-4b19-a28a-b493e6fe693a + + +----------------------------------------------------- +2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] + + + 0 + / + 2020-12-11T21:27:07Z + v1 + ANPAX5UOQS552PCJGB7JJ + true + terraform-20201211212706934100000001 + 0 + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + 2020-12-11T21:27:07Z + + + + 50c8a13b-bd27-4b19-a28a-b493e6fe693a + + +2020/12/11 23:27:08 [DEBUG] Getting IAM Policy Version: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", + VersionId: "v1" +} +2020/12/11 23:27:08 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 147 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e967394cb6a3417eb147153bf5e8d740db494c3f96105b971615066d2cbd0df3 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212708Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 +----------------------------------------------------- +2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 875 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:07 GMT +X-Amzn-Requestid: 82788ef6-2424-4fb2-aade-c2952e5f77f6 + + +----------------------------------------------------- +2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] + + + / + %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D + 3600 + AROAX5UOQS55YJ6LR4IKB + + tf-acc-test-6871308186836168313 + arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 + 2020-12-11T21:27:07Z + + + + 82788ef6-2424-4fb2-aade-c2952e5f77f6 + + +2020/12/11 23:27:08 [DEBUG] Sagemaker Feature Group create config: { + EventTimeFeatureName: "tf-acc-test-6871308186836168313", + FeatureDefinitions: [{ + FeatureName: "tf-acc-test-6871308186836168313", + FeatureType: "String" + }], + FeatureGroupName: "tf-acc-test-6871308186836168313", + OnlineStoreConfig: { + EnableOnlineStore: true + }, + RecordIdentifierFeatureName: "tf-acc-test-6871308186836168313", + RoleArn: "arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313", + Tags: [{ + Key: "key1", + Value: "value1" + }] +} +2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/CreateFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 434 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=f6eaf8c92320fb2a49c6991a9c5af4f9e64ae73b086e0075043b0ec8f0a53e35 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212708Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.CreateFeatureGroup +Accept-Encoding: gzip + +{"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupName":"tf-acc-test-6871308186836168313","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313","Tags":[{"Key":"key1","Value":"value1"}]} +----------------------------------------------------- +2020/12/11 23:27:09 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 761 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:08 GMT +X-Amzn-Requestid: ca104807-ebec-4643-a138-17bbdc9a89d7 + + +----------------------------------------------------- +2020/12/11 23:27:09 [DEBUG] [aws-sdk-go] + + + v1 + true + %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A + 2020-12-11T21:27:07Z + + + + ca104807-ebec-4643-a138-17bbdc9a89d7 + + +2020/12/11 23:27:09 [DEBUG] [aws-sdk-go] DEBUG: Request iam/AttachRolePolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 175 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2ece4deacec56cdd2aea594a7297321ce1c200ebedf9734c032e56d0d344df80 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212709Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=AttachRolePolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/CreateFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 108 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:09 GMT +X-Amzn-Requestid: aeb82c9e-798a-42d4-a54e-17f0fa654f6f + + +----------------------------------------------------- +2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] {"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:10 [DEBUG] Waiting for state to become: [Created] +2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=578816caec9b154871f3d4a6b0b36e23926969afd89b75b9abf36dcd4f55b6eb +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212710Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Response iam/AttachRolePolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 212 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:09 GMT +X-Amzn-Requestid: e11b63da-3db5-40b2-b3c0-5635503f1ca1 + + +----------------------------------------------------- +2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] + + e11b63da-3db5-40b2-b3c0-5635503f1ca1 + + +2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 91 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=08aa73aea1dd0f30056452edfe4c5f15be360b091e71514ccbe1088ad9cfbab1 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212710Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 585 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:10 GMT +X-Amzn-Requestid: e1c6aa2b-0861-4983-be67-b4e7f598a492 + + +----------------------------------------------------- +2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] + + false + + + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + terraform-20201211212706934100000001 + + + + + e1c6aa2b-0861-4983-be67-b4e7f598a492 + + +2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 564 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:11 GMT +X-Amzn-Requestid: 850eb0ac-2f5a-4046-bec0-710b4b6649f4 + + +----------------------------------------------------- +2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=2cf164f7aa2d3d8b831b89776b1961d151d9dadf7c2f7d0e7e2897e4766bc6e1 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212711Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:12 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 564 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:11 GMT +X-Amzn-Requestid: f1187444-357c-4046-9172-4467b653ab51 + + +----------------------------------------------------- +2020/12/11 23:27:12 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:12 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=e3d3cff6b6a63db38a15c4ee55adf3bd50e7cdb7dcbee53276862f4dc1de4b1c +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212712Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:14 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 564 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:13 GMT +X-Amzn-Requestid: 948aece6-a7a0-4c4a-9545-8f3c44796d35 + + +----------------------------------------------------- +2020/12/11 23:27:14 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:14 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=aec4e85bd0c0708717c006412315983fd89e7fba4782502d1a8d81f9fd69dd44 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212714Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:16 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 564 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:15 GMT +X-Amzn-Requestid: 03a9dedb-0930-42dd-a139-763fefd77991 + + +----------------------------------------------------- +2020/12/11 23:27:16 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:17 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=e43991946f35d102bff9d5ae0546754fa773217a64c48abeabc57c3c7bde7f58 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212717Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:18 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 564 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:17 GMT +X-Amzn-Requestid: 448ef7c4-e3c5-4900-bb21-1a6379ff92b3 + + +----------------------------------------------------- +2020/12/11 23:27:18 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:22 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=27d8abaf08ebad33e5531e0906dbe20586ef0788b9a187212875527ea3f9bc8b +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212722Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:24 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 564 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:23 GMT +X-Amzn-Requestid: 3d861e03-4bcd-45d3-b338-1aeade222f2f + + +----------------------------------------------------- +2020/12/11 23:27:24 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:30 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=d45e7bfad44ac54c283d12abb89d7f673561973f24be6a978aff9af23b18723d +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212730Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:31 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:31 GMT +X-Amzn-Requestid: 9f258b3b-a39c-49d0-9de3-a428c32456f3 + + +----------------------------------------------------- +2020/12/11 23:27:31 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:31 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=6dc4aa55d40c31af2b4a49e60306adc7a26783acec11e68705be8b51b44944a1 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212731Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:32 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:32 GMT +X-Amzn-Requestid: 06b3a4dd-ef06-4e61-8403-bd14517403dd + + +----------------------------------------------------- +2020/12/11 23:27:32 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:32 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=5842c7527923375b85e888405477ad9eae227fe5074764057881609157e1ad26 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212732Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:33 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 42 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:33 GMT +X-Amzn-Requestid: eb8fb632-5e58-47dc-b0ca-a2af8f9b61e3 + + +----------------------------------------------------- +2020/12/11 23:27:33 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} +2020/12/11 23:27:34 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=fe21670c7629917cf488c7d9d6c4a076e7079276ae36211775856de49ce8f769 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212734Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:35 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:34 GMT +X-Amzn-Requestid: 8a04ca2d-6bff-4970-8e6f-1a159f096c28 + + +----------------------------------------------------- +2020/12/11 23:27:35 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:35 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:35 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:35 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:35 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:27:35 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:35 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a32a3b2eb9a70143c32aa8e0e7b6262fa665bcb94c0705c587007a1e5e05f82d +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212735Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:36 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:35 GMT +X-Amzn-Requestid: ca9f8e54-f3bb-414d-a64b-69d324c5d293 + + +----------------------------------------------------- +2020/12/11 23:27:36 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + ca9f8e54-f3bb-414d-a64b-69d324c5d293 + + +2020/12/11 23:27:36 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:36 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b6effb86e9f08eb8f4b4002235bad63e0328ead0c1005a5012c9a9de7814d83c +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212736Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:37 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:36 GMT +X-Amzn-Requestid: c9c0d42a-fbf6-487f-a681-ee76797c2f5b + + +----------------------------------------------------- +2020/12/11 23:27:37 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + c9c0d42a-fbf6-487f-a681-ee76797c2f5b + + +2020/12/11 23:27:37 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=433a2d7815f121a303497c4d2495d30b29cb96581bb720062386feb576dd185a +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212737Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:39 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:27:38 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 3649b93c-2261-4c42-960d-f4ddd38d0e10 + + +----------------------------------------------------- +2020/12/11 23:27:39 [DEBUG] [aws-sdk-go] + + 3649b93c-2261-4c42-960d-f4ddd38d0e10 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:39 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:27:39 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:39 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=f4fdd403233914d815601a21e863af0a90d066f78d6e9faedb21ab71a5bf2245 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212739Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:40 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:40 GMT +X-Amzn-Requestid: 4c145c2e-9d61-494b-af11-be26be27df0b + + +----------------------------------------------------- +2020/12/11 23:27:40 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 4c145c2e-9d61-494b-af11-be26be27df0b + + +2020/12/11 23:27:40 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:40 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=085a63261917f6f72d04d1c6746bdcef639cecfb3704bec90df5642fb81bdd02 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212740Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:41 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:40 GMT +X-Amzn-Requestid: af379589-4d6b-4d0d-880e-35f673c309f4 + + +----------------------------------------------------- +2020/12/11 23:27:41 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + af379589-4d6b-4d0d-880e-35f673c309f4 + + +2020/12/11 23:27:41 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d11fbdeb0455772cdb354f017241bd7a17fa68235cf2ff49dc194406c480e2aa +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212741Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:27:42 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 1e624b43-ee07-425a-9569-edf31f0f5734 + + +----------------------------------------------------- +2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] + + 1e624b43-ee07-425a-9569-edf31f0f5734 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:42 [DEBUG] Reading Partition. +2020/12/11 23:27:42 [DEBUG] Setting AWS Partition to aws. +2020/12/11 23:27:42 [DEBUG] Setting AWS URL Suffix to amazonaws.com. +2020/12/11 23:27:42 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:42 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:42 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:42 [DEBUG] Getting IAM Policy: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" +} +2020/12/11 23:27:42 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 127 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d2d5ea4ddaed74d8d01f94240cd39067986d8ad18de43be486b6200ef2b4f978 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212742Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 74 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a1f1b49d627ca73df8b0b9880f0c619c5a050ae097560f5d2f0ca69b1125a0bb +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212742Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 795 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:42 GMT +X-Amzn-Requestid: a594227d-65c0-4f91-8065-6854a196c342 + + +----------------------------------------------------- +2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] + + + 0 + / + 2020-12-11T21:27:07Z + v1 + ANPAX5UOQS552PCJGB7JJ + true + terraform-20201211212706934100000001 + 1 + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + 2020-12-11T21:27:07Z + + + + a594227d-65c0-4f91-8065-6854a196c342 + + +2020/12/11 23:27:43 [DEBUG] Getting IAM Policy Version: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", + VersionId: "v1" +} +2020/12/11 23:27:43 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 147 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=9976defd8b2f63509d1f2fdbc1d73009de73c9a552ae30a8dbc6f4417ff8d3f2 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212743Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 +----------------------------------------------------- +2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 875 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:42 GMT +X-Amzn-Requestid: 9c35f71a-2f1c-4ee4-a984-605169436dad + + +----------------------------------------------------- +2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] + + + / + %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D + 3600 + AROAX5UOQS55YJ6LR4IKB + + tf-acc-test-6871308186836168313 + arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 + 2020-12-11T21:27:07Z + + + + 9c35f71a-2f1c-4ee4-a984-605169436dad + + +2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=208d1b7d4f3e143f50e9573a1a88afebfc1c9f338e18e763cbbcb1eae824fccb +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212743Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 761 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:43 GMT +X-Amzn-Requestid: 67ccc76d-e9e8-4273-8c4a-eecac3764dcd + + +----------------------------------------------------- +2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] + + + v1 + true + %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A + 2020-12-11T21:27:07Z + + + + 67ccc76d-e9e8-4273-8c4a-eecac3764dcd + + +2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 91 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d709407adedf41bb1ca354a407bf3e777d3ddbf04c847c5602aaad1e11a2dd43 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212744Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 585 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:44 GMT +X-Amzn-Requestid: 73c51b0b-2cbf-4482-a716-6b77a616e16c + + +----------------------------------------------------- +2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] + + false + + + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + terraform-20201211212706934100000001 + + + + + 73c51b0b-2cbf-4482-a716-6b77a616e16c + + +2020/12/11 23:27:45 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:44 GMT +X-Amzn-Requestid: 74268bb6-ca74-4a00-a587-344086138e6f + + +----------------------------------------------------- +2020/12/11 23:27:45 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:45 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=704dfac39d543ccefd8f36eeba3b024211ff70dc0e1fbd483add5da16f96388b +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212745Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:46 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 42 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:45 GMT +X-Amzn-Requestid: 24dd7ac8-7158-4df2-a458-b8ae45d78153 + + +----------------------------------------------------- +2020/12/11 23:27:46 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} +2020/12/11 23:27:46 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:46 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:46 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:46 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:27:46 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:46 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8b39b50a6416e0f834e41ecf3d3e8863b28efeed3eae9e33b15ae147879d81e7 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212746Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:47 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:47 GMT +X-Amzn-Requestid: 291c50e7-c370-4c39-92dc-40fa479e5bca + + +----------------------------------------------------- +2020/12/11 23:27:47 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 291c50e7-c370-4c39-92dc-40fa479e5bca + + +2020/12/11 23:27:47 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:47 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=4245850b7edebf842ac092361d2f79377be80a393ae4a683c87fa6db4d73e009 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212747Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:48 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:47 GMT +X-Amzn-Requestid: 484cb5df-485c-423f-8ea0-b49eed2c429a + + +----------------------------------------------------- +2020/12/11 23:27:48 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 484cb5df-485c-423f-8ea0-b49eed2c429a + + +2020/12/11 23:27:48 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=ecefe3681f99fa7e47482deb5d811ebaa2c98a40c2662b70cc33ea189ee840fc +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212748Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:49 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:27:49 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 5494bceb-c0a6-4e11-9eba-ad63cecf992c + + +----------------------------------------------------- +2020/12/11 23:27:49 [DEBUG] [aws-sdk-go] + + 5494bceb-c0a6-4e11-9eba-ad63cecf992c + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:51 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:27:51 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:51 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=507ee62afa602979da94387b88326ba1a6b867a86355b0abc1bf3273ca46ae99 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212751Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:51 GMT +X-Amzn-Requestid: e5708fa7-cadd-4913-8af4-f31e9fdb79b8 + + +----------------------------------------------------- +2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + e5708fa7-cadd-4913-8af4-f31e9fdb79b8 + + +2020/12/11 23:27:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:52 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1d33961d82b59bb4ccc8937257819134b9df0f22c3f41748e2cc63b2ac3f4197 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212752Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:52 GMT +X-Amzn-Requestid: 2b49222a-1851-4f59-8145-2ef3d88818da + + +----------------------------------------------------- +2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 2b49222a-1851-4f59-8145-2ef3d88818da + + +2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=eb8e1d9b985fcdf9e47f1ef5e529ce81b2a77688eb09f61215eddebfba187e44 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212752Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:53 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:27:53 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 3cec902e-1804-421a-8792-1ab389032802 + + +----------------------------------------------------- +2020/12/11 23:27:53 [DEBUG] [aws-sdk-go] + + 3cec902e-1804-421a-8792-1ab389032802 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:53 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=08263d2555b9edc046e8e5b2dc5828dc1fd3d1426b0578b51041a56a35b4af3d +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212753Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:54 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:54 GMT +X-Amzn-Requestid: e28e79c6-fe4c-44c7-8320-03d4c122cdd4 + + +----------------------------------------------------- +2020/12/11 23:27:54 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:27:54 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=ab32f81999ae1912937d4e0a23744c10729a08d35c1f09d92cabf944b8a7fd78 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212754Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:27:56 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 42 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:27:55 GMT +X-Amzn-Requestid: d39eff12-8062-4f9c-a306-726b7d110922 + + +----------------------------------------------------- +2020/12/11 23:27:56 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} +2020/12/11 23:27:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:57 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:27:57 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:57 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a29f6daa126a08e3d2805e476576077e5f94e1ec66ac7aedcb2eeb1d5f9ccab4 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212757Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:57 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:57 GMT +X-Amzn-Requestid: fe5e8122-34e6-43d5-a0ed-705db6f79399 + + +----------------------------------------------------- +2020/12/11 23:27:57 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + fe5e8122-34e6-43d5-a0ed-705db6f79399 + + +2020/12/11 23:27:57 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:27:57 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a29f6daa126a08e3d2805e476576077e5f94e1ec66ac7aedcb2eeb1d5f9ccab4 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212757Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:27:58 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:58 GMT +X-Amzn-Requestid: b08e10e8-2426-4da6-a466-d0d525ade895 + + +----------------------------------------------------- +2020/12/11 23:27:58 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + b08e10e8-2426-4da6-a466-d0d525ade895 + + +2020/12/11 23:27:58 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=cb3de6df811909ce5831ab5236d09a3c760b7bf169404012339a5495613a3c22 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212758Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:27:59 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 9ae295d0-2664-4c27-a420-34a9df4e5a41 + + +----------------------------------------------------- +2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] + + 9ae295d0-2664-4c27-a420-34a9df4e5a41 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:27:59 [DEBUG] Reading Partition. +2020/12/11 23:27:59 [DEBUG] Setting AWS Partition to aws. +2020/12/11 23:27:59 [DEBUG] Setting AWS URL Suffix to amazonaws.com. +2020/12/11 23:27:59 [DEBUG] Getting IAM Policy: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" +} +2020/12/11 23:27:59 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:27:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 127 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=baec0fb5810baf197a8eb1f2d078933dbfb7bba2cee2b002e5a4efb40269c379 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212759Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 74 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=01680373eb8294603f9dded566cece4afde68670df4427c85fc491ea9cd33ba2 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212759Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 875 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:59 GMT +X-Amzn-Requestid: faca5c77-bef2-4c66-8535-020aa67f1193 + + +----------------------------------------------------- +2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] + + + / + %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D + 3600 + AROAX5UOQS55YJ6LR4IKB + + tf-acc-test-6871308186836168313 + arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 + 2020-12-11T21:27:07Z + + + + faca5c77-bef2-4c66-8535-020aa67f1193 + + +2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=07fe7a93b5dd892ab15002f66d7bf8ae8b90c72e073e1a4869f43dea02ddb0b5 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212800Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 795 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:27:59 GMT +X-Amzn-Requestid: 01d247fd-46c0-478b-b6bb-415843458327 + + +----------------------------------------------------- +2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] + + + 0 + / + 2020-12-11T21:27:07Z + v1 + ANPAX5UOQS552PCJGB7JJ + true + terraform-20201211212706934100000001 + 1 + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + 2020-12-11T21:27:07Z + + + + 01d247fd-46c0-478b-b6bb-415843458327 + + +2020/12/11 23:28:00 [DEBUG] Getting IAM Policy Version: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", + VersionId: "v1" +} +2020/12/11 23:28:00 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 147 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a6bd3378b9e64f6c22fe2ccaffbf4df1d858690b6be61e6248c2312e36066970 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212800Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 +----------------------------------------------------- +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 761 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:00 GMT +X-Amzn-Requestid: 8f2e8d72-fb78-4e33-88d4-8cadc0faccec + + +----------------------------------------------------- +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] + + + v1 + true + %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A + 2020-12-11T21:27:07Z + + + + 8f2e8d72-fb78-4e33-88d4-8cadc0faccec + + +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 91 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=75f1576935ddaf8ebb37175c1c8339c14956deed2c5f5655eeb6b4b57527f58a +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212801Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:00 GMT +X-Amzn-Requestid: e9a023ce-0a6f-4b7e-a0a6-00a7a7d3a3f6 + + +----------------------------------------------------- +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=7c02802f3c9a420f0254f8d8e7c9c3c866ca5ceca7edddb7f78a158a9cb93a25 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212801Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 585 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:00 GMT +X-Amzn-Requestid: c7fe5d46-f74a-4b3f-b7c9-c0c7b7bab569 + + +----------------------------------------------------- +2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] + + false + + + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + terraform-20201211212706934100000001 + + + + + c7fe5d46-f74a-4b3f-b7c9-c0c7b7bab569 + + +2020/12/11 23:28:02 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 42 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:02 GMT +X-Amzn-Requestid: 8f46f39a-4d0c-413c-ad49-5ff9fce2c1c9 + + +----------------------------------------------------- +2020/12/11 23:28:02 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} +2020/12/11 23:28:02 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:02 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:02 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:02 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:02 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:02 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2659477ed29f0c159fb05e0bb28f8bebeff6d88fd68851c6d4524878ba0fc8fa +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212802Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:03 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:02 GMT +X-Amzn-Requestid: 2b6f603d-b2ef-424b-bb01-e565744a0956 + + +----------------------------------------------------- +2020/12/11 23:28:03 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 2b6f603d-b2ef-424b-bb01-e565744a0956 + + +2020/12/11 23:28:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:03 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b3357ac38a83df5d787d791ea7b4f3d80394a02cdafcc49bca2584e7db792920 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212803Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:03 GMT +X-Amzn-Requestid: 7a1ddaa1-8d95-4aad-ae56-153f0fdbae6b + + +----------------------------------------------------- +2020/12/11 23:28:04 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 7a1ddaa1-8d95-4aad-ae56-153f0fdbae6b + + +2020/12/11 23:28:04 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7fa4064e6811613f070c4d6752661ce9e7238b45b22e2fc0e0a1283df7dc6851 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212804Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:05 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:04 GMT +Server: AmazonEC2 +X-Amzn-Requestid: bb98c0b6-7535-4d0d-a369-ae589fdc86cc + + +----------------------------------------------------- +2020/12/11 23:28:05 [DEBUG] [aws-sdk-go] + + bb98c0b6-7535-4d0d-a369-ae589fdc86cc + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:05 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:05 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:05 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=831db13638052e2883ebfdc25b93f02eafe3db84c7cae4a5933a032edb233f3e +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212805Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:06 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:05 GMT +X-Amzn-Requestid: 05a50ece-c52e-404d-9b45-19c75b6b8f57 + + +----------------------------------------------------- +2020/12/11 23:28:06 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 05a50ece-c52e-404d-9b45-19c75b6b8f57 + + +2020/12/11 23:28:06 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:06 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a2ab2529dc9dbf7c24c6b632d72f3442434e7c834d72eb9edc4512eb4171dfc4 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212806Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:07 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:06 GMT +X-Amzn-Requestid: 232bd1ec-49d7-458c-bdfe-9db628d32d82 + + +----------------------------------------------------- +2020/12/11 23:28:07 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 232bd1ec-49d7-458c-bdfe-9db628d32d82 + + +2020/12/11 23:28:07 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2a2af4ae6ef074eb3e88b24aba9ede938120b9a4f915a90ca600657549b6d06d +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212807Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:08 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:08 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 763d913e-f330-4f9c-928d-3c86f6227e83 + + +----------------------------------------------------- +2020/12/11 23:28:08 [DEBUG] [aws-sdk-go] + + 763d913e-f330-4f9c-928d-3c86f6227e83 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:08 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/AddTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 184 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=a738146731c915c7efe70b8b7bc71b64f3d357b1bb0fec9d30b8f1f7bbeaf309 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212808Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.AddTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","Tags":[{"Key":"key2","Value":"value2"},{"Key":"key1","Value":"value1updated"}]} +----------------------------------------------------- +2020/12/11 23:28:09 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/AddTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 81 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:09 GMT +X-Amzn-Requestid: 101452fe-e278-4ce2-afb1-a65d382c4a0d + + +----------------------------------------------------- +2020/12/11 23:28:09 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key2","Value":"value2"},{"Key":"key1","Value":"value1updated"}]} +2020/12/11 23:28:09 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=6424f49078eec78b15ee3f0c7899ba3466543fb9a6426ef1fea5e5c10ed5f520 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212809Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:10 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:10 GMT +X-Amzn-Requestid: ac745556-49cc-42b6-8a62-06d5649ef7b9 + + +----------------------------------------------------- +2020/12/11 23:28:10 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:10 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=52534273892cb894c38b994df2ac8ddfb84754ab1b9cea5cc9f6e9884af261a9 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212810Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:12 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 81 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:11 GMT +X-Amzn-Requestid: cc1cee9d-dc46-4215-a120-c7a3cf46813c + + +----------------------------------------------------- +2020/12/11 23:28:12 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1updated"},{"Key":"key2","Value":"value2"}]} +2020/12/11 23:28:12 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=553195df23ab36e601b6976f9b67329f3a317c48458464ff825bc007aaedbb1c +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212812Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:14 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:13 GMT +X-Amzn-Requestid: 5befcf7d-8efa-487c-a2dc-d475d6251033 + + +----------------------------------------------------- +2020/12/11 23:28:14 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:14 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:14 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:14 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:14 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:14 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:14 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bd769b8bb4a9e5b1367b6e6457f0853a85206ef9c6b70d402c08172012ce9ab5 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212814Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:15 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:15 GMT +X-Amzn-Requestid: c6adcb5f-f9c6-410c-aed1-dbe626da80fd + + +----------------------------------------------------- +2020/12/11 23:28:15 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + c6adcb5f-f9c6-410c-aed1-dbe626da80fd + + +2020/12/11 23:28:15 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:15 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e4fbc02c8754e54295dbf45b712101d50f0bcba36b901a58ddaf09210f4f5d9c +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212815Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:16 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:15 GMT +X-Amzn-Requestid: c6d16326-44b6-40b2-8bb9-035adc6707ca + + +----------------------------------------------------- +2020/12/11 23:28:16 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + c6d16326-44b6-40b2-8bb9-035adc6707ca + + +2020/12/11 23:28:16 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e63b58d3b9c652d42e6f3a997fcbadc573e0ba99d0717b047b73527bdb27c90e +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212816Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:17 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:17 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 88ed791c-ffa7-4cc0-a3d3-20ef65bab7a8 + + +----------------------------------------------------- +2020/12/11 23:28:17 [DEBUG] [aws-sdk-go] + + 88ed791c-ffa7-4cc0-a3d3-20ef65bab7a8 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:18 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:18 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:18 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:19 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:19 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:19 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=46f85e23e281d27f24c9462f4eb2f005a7a5bd069c0fae7440033ec39b2798ac +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212819Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:19 GMT +X-Amzn-Requestid: 71870be7-a269-4046-832a-1060a5480018 + + +----------------------------------------------------- +2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 71870be7-a269-4046-832a-1060a5480018 + + +2020/12/11 23:28:20 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:20 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0a30f429fe566a71391b47e8100875626ecf9e01c903609eaa222912e59e1b4a +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212820Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:19 GMT +X-Amzn-Requestid: d28ab121-6637-43a7-b89f-36e805645257 + + +----------------------------------------------------- +2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + d28ab121-6637-43a7-b89f-36e805645257 + + +2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7f634800ac1859750a0463e423797a0bade95f606a390cdeb45510fed76c7c4e +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212820Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:21 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 7eaae7aa-7547-4fdc-930b-c2db7f137abf + + +----------------------------------------------------- +2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] + + 7eaae7aa-7547-4fdc-930b-c2db7f137abf + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:21 [DEBUG] Reading Partition. +2020/12/11 23:28:21 [DEBUG] Setting AWS Partition to aws. +2020/12/11 23:28:21 [DEBUG] Setting AWS URL Suffix to amazonaws.com. +2020/12/11 23:28:21 [DEBUG] Getting IAM Policy: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" +} +2020/12/11 23:28:21 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:28:21 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:21 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:21 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 127 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0c17e1861a606a8ee0bf28591731971da85d78fc6ca17f7f0ee49b9574106bd6 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212821Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 74 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=796144dc7daaa77bd1ee808cbf1da1e9e7e201463743747b24f9359f39e71645 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212821Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 795 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:22 GMT +X-Amzn-Requestid: 4eadfd6e-cb9c-4d3e-84a2-77abccd69aa7 + + +----------------------------------------------------- +2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] + + + 0 + / + 2020-12-11T21:27:07Z + v1 + ANPAX5UOQS552PCJGB7JJ + true + terraform-20201211212706934100000001 + 1 + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + 2020-12-11T21:27:07Z + + + + 4eadfd6e-cb9c-4d3e-84a2-77abccd69aa7 + + +2020/12/11 23:28:22 [DEBUG] Getting IAM Policy Version: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", + VersionId: "v1" +} +2020/12/11 23:28:22 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 147 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=58a28b6eb7005ea902e4c9d7a90cf537f5fc52e5e864aa6832fc25d934854b0b +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212822Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 +----------------------------------------------------- +2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 875 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:22 GMT +X-Amzn-Requestid: 7526bddc-9337-4b49-9b22-cdd89f134799 + + +----------------------------------------------------- +2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] + + + / + %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D + 3600 + AROAX5UOQS55YJ6LR4IKB + + tf-acc-test-6871308186836168313 + arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 + 2020-12-11T21:27:07Z + + + + 7526bddc-9337-4b49-9b22-cdd89f134799 + + +2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=70bdcdde2484c41d39704254d883464975810d49d4e89edaba92a35aa50b3670 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212822Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 761 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:23 GMT +X-Amzn-Requestid: 4e034949-3e1d-4036-ae0c-30325da2ad9e + + +----------------------------------------------------- +2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] + + + v1 + true + %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A + 2020-12-11T21:27:07Z + + + + 4e034949-3e1d-4036-ae0c-30325da2ad9e + + +2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 91 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e84f848321b6c89cd86c33aeda4596409be7d79fb287409b384e4df55e5a209b +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212823Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:23 GMT +X-Amzn-Requestid: 95a5b3e6-fb59-4e6e-a48d-c4bea43af635 + + +----------------------------------------------------- +2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=dd828150a91949cc8ebddb85384d7db1ef789411bdb52454e6e0e2339b93fd7e +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212823Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 585 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:24 GMT +X-Amzn-Requestid: 4e73d2ce-5a46-4980-8988-04488917d54e + + +----------------------------------------------------- +2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] + + false + + + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + terraform-20201211212706934100000001 + + + + + 4e73d2ce-5a46-4980-8988-04488917d54e + + +2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 81 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:24 GMT +X-Amzn-Requestid: e22af580-42d6-44fe-9ce4-a1774bf407ce + + +----------------------------------------------------- +2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1updated"},{"Key":"key2","Value":"value2"}]} +2020/12/11 23:28:25 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:25 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:25 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:25 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:25 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:25 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=782008c20f504fe544decb478fc6153de401f73f04235f7d9a7372681186b8af +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212825Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:26 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:26 GMT +X-Amzn-Requestid: 57f47e22-05e7-48ef-a00c-80bde0db5806 + + +----------------------------------------------------- +2020/12/11 23:28:26 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 57f47e22-05e7-48ef-a00c-80bde0db5806 + + +2020/12/11 23:28:26 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:26 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=3f044fa6cb27d2612c0943351eb1d315466e8a5accd67090cc8d48a7c3d4efa4 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212826Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:27 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:26 GMT +X-Amzn-Requestid: a965d705-e59c-47e8-9296-94f0889148e5 + + +----------------------------------------------------- +2020/12/11 23:28:27 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + a965d705-e59c-47e8-9296-94f0889148e5 + + +2020/12/11 23:28:27 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7c93adadd68d3a480a2abcd03dc78d81375830d69341aeebb125e5216820819c +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212827Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:28 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:27 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 5236f6e0-2136-49fb-b9a6-ef8e2e8247dc + + +----------------------------------------------------- +2020/12/11 23:28:28 [DEBUG] [aws-sdk-go] + + 5236f6e0-2136-49fb-b9a6-ef8e2e8247dc + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:29 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:29 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:29 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:29 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:29 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:29 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d2e0465002abfc952882dee762831aad14e6aa3ae7231a5d394f59c65afe2d9a +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212829Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:30 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:30 GMT +X-Amzn-Requestid: de880ea6-903e-4df9-bc06-5ee6bdbdfaa2 + + +----------------------------------------------------- +2020/12/11 23:28:30 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + de880ea6-903e-4df9-bc06-5ee6bdbdfaa2 + + +2020/12/11 23:28:30 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:30 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=4f2463af578fd988f840c910bacb5121950509ff60db512898b5c2ca0a9287f2 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212830Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:31 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:30 GMT +X-Amzn-Requestid: b06f4806-eae9-46b2-acb1-ee389cc42365 + + +----------------------------------------------------- +2020/12/11 23:28:31 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + b06f4806-eae9-46b2-acb1-ee389cc42365 + + +2020/12/11 23:28:31 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1fea6de4f6540f186e6b2478e6a8b8b45e9f00f805815eb116ae67e5a866a7fc +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212831Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:32 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 09f0f401-3053-4e58-9d83-2bd20b59f704 + + +----------------------------------------------------- +2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] + + 09f0f401-3053-4e58-9d83-2bd20b59f704 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:33 [DEBUG] Reading Partition. +2020/12/11 23:28:33 [DEBUG] Setting AWS Partition to aws. +2020/12/11 23:28:33 [DEBUG] Setting AWS URL Suffix to amazonaws.com. +2020/12/11 23:28:33 [DEBUG] Getting IAM Policy: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" +} +2020/12/11 23:28:33 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:28:33 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:33 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:33 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 127 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0edc5b788950a712f4eee7cf88ac0030eef6fa53a16f2be3cfe18b86ce00a6a7 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212833Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 74 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=be16d7baf3f9da79fbd214674d8ec992a9b3099beb36f6445deea8f5032264db +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212833Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 795 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:34 GMT +X-Amzn-Requestid: 49b06c87-cac4-46b7-8abc-6d777c868751 + + +----------------------------------------------------- +2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] + + + 0 + / + 2020-12-11T21:27:07Z + v1 + ANPAX5UOQS552PCJGB7JJ + true + terraform-20201211212706934100000001 + 1 + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + 2020-12-11T21:27:07Z + + + + 49b06c87-cac4-46b7-8abc-6d777c868751 + + +2020/12/11 23:28:34 [DEBUG] Getting IAM Policy Version: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", + VersionId: "v1" +} +2020/12/11 23:28:34 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 147 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=fda938b5a8ade4513ddcd3dac5d8b762dde56812c255244aac69ed6c14aa37d5 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212834Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 +----------------------------------------------------- +2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 875 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:34 GMT +X-Amzn-Requestid: ff43588d-abb1-4967-af05-c2952d70af84 + + +----------------------------------------------------- +2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] + + + / + %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D + 3600 + AROAX5UOQS55YJ6LR4IKB + + tf-acc-test-6871308186836168313 + arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 + 2020-12-11T21:27:07Z + + + + ff43588d-abb1-4967-af05-c2952d70af84 + + +2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=eef819ae989e763b970b5cb38cab4cd942055f75fb202cf712a144c1c6bb871d +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212834Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 761 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:34 GMT +X-Amzn-Requestid: 085c1f3c-e973-4336-99e9-6b5a5c4dbd11 + + +----------------------------------------------------- +2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] + + + v1 + true + %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A + 2020-12-11T21:27:07Z + + + + 085c1f3c-e973-4336-99e9-6b5a5c4dbd11 + + +2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 91 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=9d4f5449c822cfd5947c7f3b63d754084a397e2375ee5fe57ab934998fa48dab +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212835Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:35 GMT +X-Amzn-Requestid: b8b018e7-8f48-41d8-9540-16c8bcdb17b0 + + +----------------------------------------------------- +2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=a42a40aa7783bb731c801d3917b165aaf7c0a5f68ef2de1762e4ff45f236fbbe +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212835Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 585 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:35 GMT +X-Amzn-Requestid: 5852d357-a858-4c1e-a493-4ea7adc78b6c + + +----------------------------------------------------- +2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] + + false + + + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + terraform-20201211212706934100000001 + + + + + 5852d357-a858-4c1e-a493-4ea7adc78b6c + + +2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 81 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:36 GMT +X-Amzn-Requestid: 1bfdae7b-83aa-46f1-a92f-1169cb0358d1 + + +----------------------------------------------------- +2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1updated"},{"Key":"key2","Value":"value2"}]} +2020/12/11 23:28:37 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:37 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:37 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:37 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:37 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:37 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8c08ea8a2c240c19547275878c0dd65ec3900612d855d2d7eba3805a04a30d81 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212837Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:38 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:38 GMT +X-Amzn-Requestid: 1fafe3fc-3d3a-42e5-b734-ae1aaf869318 + + +----------------------------------------------------- +2020/12/11 23:28:38 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 1fafe3fc-3d3a-42e5-b734-ae1aaf869318 + + +2020/12/11 23:28:38 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:38 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=caec6f8a77bd9a9240af90fec78716a279cee602b31be601cb63b4da52339779 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212838Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:39 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:38 GMT +X-Amzn-Requestid: 51acb55e-ef16-43ed-823f-c37e687214e2 + + +----------------------------------------------------- +2020/12/11 23:28:39 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 51acb55e-ef16-43ed-823f-c37e687214e2 + + +2020/12/11 23:28:39 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=196e295c2b9a9793b723f36b1b7cb7a495d5ec22f65b88b65e68d56f2c3a1bc6 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212839Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:40 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:39 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 38f9ec19-aab7-461f-835e-b15e9db942b8 + + +----------------------------------------------------- +2020/12/11 23:28:40 [DEBUG] [aws-sdk-go] + + 38f9ec19-aab7-461f-835e-b15e9db942b8 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:40 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:40 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:40 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bc1f20be3bb57d369e212670dcea446ef3f63239d3ae00179cd72ba57d4dd790 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212840Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:41 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:41 GMT +X-Amzn-Requestid: 9c0f70e4-3f15-4163-9868-57bd60e3e1ab + + +----------------------------------------------------- +2020/12/11 23:28:41 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 9c0f70e4-3f15-4163-9868-57bd60e3e1ab + + +2020/12/11 23:28:41 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:41 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c0b70e423669bc5b17e81659c87f28499a687b19203b0f6af9b0886b7aa8a946 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212841Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:42 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:41 GMT +X-Amzn-Requestid: f609ac76-eced-40ac-b2e4-d22ec882d6d7 + + +----------------------------------------------------- +2020/12/11 23:28:42 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + f609ac76-eced-40ac-b2e4-d22ec882d6d7 + + +2020/12/11 23:28:42 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1df21b201ae8ccd4f5fcddfd7f5c891a43b531f09544278e841c91213f288f9b +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212842Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:43 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:42 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 46f33212-f336-42f2-b4ee-b6dcd328340f + + +----------------------------------------------------- +2020/12/11 23:28:43 [DEBUG] [aws-sdk-go] + + 46f33212-f336-42f2-b4ee-b6dcd328340f + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:43 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DeleteTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 123 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=9084be3f5cff6ea2335f27f48854d4e74a5538042ce763917bc790a30579ae3a +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212843Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DeleteTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","TagKeys":["key1"]} +----------------------------------------------------- +2020/12/11 23:28:44 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DeleteTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 2 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:44 GMT +X-Amzn-Requestid: b650d641-a648-4f89-a757-bb4ff544eaf4 + + +----------------------------------------------------- +2020/12/11 23:28:44 [DEBUG] [aws-sdk-go] {} +2020/12/11 23:28:44 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=dec619bc656adc1c69673d5ba87da554321330494161352478a8817390568388 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212844Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:45 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:45 GMT +X-Amzn-Requestid: 69386c40-9470-48ed-be74-f7e56bb8a1b9 + + +----------------------------------------------------- +2020/12/11 23:28:45 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:45 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=c5e041be44a13767437b3be3ebc38c197eef274de9cd21110220e4db6af86feb +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212845Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:47 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 42 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:46 GMT +X-Amzn-Requestid: e7125340-a347-408e-a95a-c4d6901942e3 + + +----------------------------------------------------- +2020/12/11 23:28:47 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key2","Value":"value2"}]} +2020/12/11 23:28:47 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=173f0ee2b820c4dc76052de6c31d322c3b6efc0fe33de0d5de26809a44a1cb85 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212847Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:48 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:47 GMT +X-Amzn-Requestid: 2579a1ad-7917-4609-b6f0-faab01d95224 + + +----------------------------------------------------- +2020/12/11 23:28:48 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:48 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:48 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:48 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:49 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:49 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:49 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=354d089a4f7428c09c87c00edf12dfab2df0dcaa5e6d53b47ea2d4e65351ea6b +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212849Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:49 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:49 GMT +X-Amzn-Requestid: dd7d8ee8-279b-482d-b5eb-a0171ea2d7c2 + + +----------------------------------------------------- +2020/12/11 23:28:49 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + dd7d8ee8-279b-482d-b5eb-a0171ea2d7c2 + + +2020/12/11 23:28:49 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:49 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=354d089a4f7428c09c87c00edf12dfab2df0dcaa5e6d53b47ea2d4e65351ea6b +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212849Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:50 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:50 GMT +X-Amzn-Requestid: 0d05048e-512e-40b2-ad4b-2fc9985dd085 + + +----------------------------------------------------- +2020/12/11 23:28:50 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 0d05048e-512e-40b2-ad4b-2fc9985dd085 + + +2020/12/11 23:28:50 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8c0c617b13f41435758a7a2fad9fc129065e79f042b870d8f8610f1c2ab108eb +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212850Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:51 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:51 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 94d8c33a-8b68-4a0e-a490-6cde87877852 + + +----------------------------------------------------- +2020/12/11 23:28:51 [DEBUG] [aws-sdk-go] + + 94d8c33a-8b68-4a0e-a490-6cde87877852 + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:52 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:52 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:52 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:52 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:52 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c6433ec52f68e37345d051c97e4060b7103246c01bf767aad49fcef250e87f15 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212852Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:53 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:53 GMT +X-Amzn-Requestid: 4acc3595-c3d7-4fce-912e-fe01c455c22b + + +----------------------------------------------------- +2020/12/11 23:28:53 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 4acc3595-c3d7-4fce-912e-fe01c455c22b + + +2020/12/11 23:28:53 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:53 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2388e1af1c949eb81a8ec42c77534739de3f38e6fbfd44bc2ae76ad8eb6badfe +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212853Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:28:54 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:54 GMT +X-Amzn-Requestid: 1c4ce61a-f3aa-4ea6-8b1f-21069f5d094b + + +----------------------------------------------------- +2020/12/11 23:28:54 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 1c4ce61a-f3aa-4ea6-8b1f-21069f5d094b + + +2020/12/11 23:28:54 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8c3e6052601bd95e026ece0f9c2ffa29935f8b99042608eb3eb1b9c39a196e5b +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212854Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:28:54 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 8d67b3d2-aed7-430e-9b4a-80c2da2e432b + + +----------------------------------------------------- +2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] + + 8d67b3d2-aed7-430e-9b4a-80c2da2e432b + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:28:55 [DEBUG] Reading Partition. +2020/12/11 23:28:55 [DEBUG] Setting AWS Partition to aws. +2020/12/11 23:28:55 [DEBUG] Setting AWS URL Suffix to amazonaws.com. +2020/12/11 23:28:55 [DEBUG] Getting IAM Policy: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" +} +2020/12/11 23:28:55 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:28:55 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 127 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b1388a61621522cfaf1bf7e65a2608c789989fa37bc73f8fcb913a6843ca95da +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212855Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:55 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:55 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 74 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=da60467de7ac618355981a31e626893c05213d888ecce2b75a81e235a2cd2320 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212855Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 795 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:56 GMT +X-Amzn-Requestid: d057c9b8-56fa-42df-a9b6-948dc5932bed + + +----------------------------------------------------- +2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] + + + 0 + / + 2020-12-11T21:27:07Z + v1 + ANPAX5UOQS552PCJGB7JJ + true + terraform-20201211212706934100000001 + 1 + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + 2020-12-11T21:27:07Z + + + + d057c9b8-56fa-42df-a9b6-948dc5932bed + + +2020/12/11 23:28:56 [DEBUG] Getting IAM Policy Version: { + PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", + VersionId: "v1" +} +2020/12/11 23:28:56 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 147 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7bc382dccc9d99d2c5dcc09df5f54f45fc471a0165cd530fd6fe29834d2dee1b +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212856Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 +----------------------------------------------------- +2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 875 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:56 GMT +X-Amzn-Requestid: a900f925-738d-41ca-bc57-e8bc48fe4206 + + +----------------------------------------------------- +2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] + + + / + %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D + 3600 + AROAX5UOQS55YJ6LR4IKB + + tf-acc-test-6871308186836168313 + arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 + 2020-12-11T21:27:07Z + + + + a900f925-738d-41ca-bc57-e8bc48fe4206 + + +2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=a3a665c581a1a7f335252d4203dbb41f030bafee56b5ef4badaa949d56a595e6 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212856Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 761 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:56 GMT +X-Amzn-Requestid: b393295f-18c6-4a04-a354-13126b71fdd1 + + +----------------------------------------------------- +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] + + + v1 + true + %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A + 2020-12-11T21:27:07Z + + + + b393295f-18c6-4a04-a354-13126b71fdd1 + + +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 91 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bd0879e53558270a7d4ede6f551a5d2a3d01458ea2710bf2e9ad08e6b910e8be +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212857Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 563 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:57 GMT +X-Amzn-Requestid: d6407abe-520f-4ab7-8a84-62d606a08923 + + +----------------------------------------------------- +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 104 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=ff7760a562b07a5e890fab0a4f53aea7a7662d3202ddd505705ec78ca3ccd8f8 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212857Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.ListTags +Accept-Encoding: gzip + +{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 585 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:57 GMT +X-Amzn-Requestid: b4af00f2-a8e4-4614-8cb4-36c1febef1e3 + + +----------------------------------------------------- +2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] + + false + + + arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 + terraform-20201211212706934100000001 + + + + + b4af00f2-a8e4-4614-8cb4-36c1febef1e3 + + +2020/12/11 23:28:58 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 42 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:28:58 GMT +X-Amzn-Requestid: d29fbcce-e206-4705-95c8-b9510443a70a + + +----------------------------------------------------- +2020/12/11 23:28:58 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key2","Value":"value2"}]} +2020/12/11 23:28:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:28:59 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:28:59 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:28:59 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a61ee73c4bca449cdaed7f21d03224811f3fcff145004a8156898cab18f427f5 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212859Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:29:00 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:28:59 GMT +X-Amzn-Requestid: 6e210be0-5a23-439f-889a-dad901e11f51 + + +----------------------------------------------------- +2020/12/11 23:29:00 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 6e210be0-5a23-439f-889a-dad901e11f51 + + +2020/12/11 23:29:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:29:00 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=afdc4dd7869177fc69ab52cfb473b4dabb5f290e312ee39031294ffbf724b9dd +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212900Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:29:01 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:00 GMT +X-Amzn-Requestid: 5ecc1f0e-076e-490b-93cd-4dac4b0c43c2 + + +----------------------------------------------------- +2020/12/11 23:29:01 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + 5ecc1f0e-076e-490b-93cd-4dac4b0c43c2 + + +2020/12/11 23:29:01 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=777112ab013e735849f76d2c858e3ba01d2263b0511f9e715ece7535f51b04f5 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212901Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:29:02 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:29:01 GMT +Server: AmazonEC2 +X-Amzn-Requestid: 3767ed37-ef55-499b-9835-81f080f7b21d + + +----------------------------------------------------- +2020/12/11 23:29:02 [DEBUG] [aws-sdk-go] + + 3767ed37-ef55-499b-9835-81f080f7b21d + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:29:03 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:29:03 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:29:03 [WARN] Truncating attribute path of 0 diagnostics for TypeSet +2020/12/11 23:29:03 [INFO] AWS Auth provider used: "EnvProvider" +2020/12/11 23:29:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:29:03 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0496458bbe2ca993e786b33dd767f3c84d0af66889c5ce4f072c446cee6c6f7c +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212903Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:29:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:03 GMT +X-Amzn-Requestid: d7eef57f-9eaa-4604-803f-5af121bd6234 + + +----------------------------------------------------- +2020/12/11 23:29:04 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + d7eef57f-9eaa-4604-803f-5af121bd6234 + + +2020/12/11 23:29:04 [DEBUG] Trying to get account information via sts:GetCallerIdentity +2020/12/11 23:29:04 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 43 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b5234afb41f4d0bcc4b356bdb452ff8096c9c231cb8d004f64e9dc1ca26f556e +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212904Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=GetCallerIdentity&Version=2011-06-15 +----------------------------------------------------- +2020/12/11 23:29:05 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 431 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:04 GMT +X-Amzn-Requestid: f3db58df-7288-4a8d-b695-bbc640939ee4 + + +----------------------------------------------------- +2020/12/11 23:29:05 [DEBUG] [aws-sdk-go] + + arn:aws:sts::544685987707:assumed-role/haha/tf-session + AROAX5UOQS553LGJ5QU5N:tf-session + 544685987707 + + + f3db58df-7288-4a8d-b695-bbc640939ee4 + + +2020/12/11 23:29:05 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: ec2.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 87 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c7243a25d89873a6c75f5cd14036f1f050891317094d36c191dbbf99cab23571 +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212905Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 +----------------------------------------------------- +2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 540 +Content-Type: text/xml;charset=UTF-8 +Date: Fri, 11 Dec 2020 21:29:05 GMT +Server: AmazonEC2 +X-Amzn-Requestid: a5b87ca7-684d-4d0e-a7c7-1698b199820e + + +----------------------------------------------------- +2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] + + a5b87ca7-684d-4d0e-a7c7-1698b199820e + + + supported-platforms + + + VPC + + + + + +2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] DEBUG: Request iam/DetachRolePolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 175 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=914db5a25e7dabd7d5e2a60d7c1edcfdfd14c5dea505ef491e87052621ae2aad +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212906Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DetachRolePolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DeleteFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=829665c87b98f01079ebffdb7f7b6f1b622a51717d59796f6cfb67b6480f84d2 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212906Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DeleteFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/DetachRolePolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 212 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:06 GMT +X-Amzn-Requestid: 9ab0993a-e531-4aee-b9a9-a6d69a6bc31a + + +----------------------------------------------------- +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] + + 9ab0993a-e531-4aee-b9a9-a6d69a6bc31a + + +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListPolicyVersions Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 136 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e3880cd99e14dc28512942eaf6d99862fe6169a52e90b13de4d2ec757f8f22ce +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212907Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListPolicyVersions&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DeleteFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 0 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:29:06 GMT +X-Amzn-Requestid: 8bcdc8ff-1729-4b71-96bf-d667d5fb2a09 + + +----------------------------------------------------- +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] +2020/12/11 23:29:07 [DEBUG] Waiting for state to become: [] +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=b80c33e8afdc613f875d2e76cf1530fddb996f5f5377d0a6001df9a7f9bd24b0 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212907Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListPolicyVersions Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 512 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:07 GMT +X-Amzn-Requestid: 990f7ad7-a32b-4c5c-9533-6ded88fbe41f + + +----------------------------------------------------- +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] + + false + + + v1 + true + 2020-12-11T21:27:07Z + + + + + 990f7ad7-a32b-4c5c-9533-6ded88fbe41f + + +2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/DeletePolicy Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 130 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e5397a99390398da49fc9adff60cee8be70947634589ff237622966a07317e9c +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212907Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DeletePolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 400 Bad Request +Connection: close +Content-Length: 146 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:29:08 GMT +X-Amzn-Requestid: f5e7b087-953b-4af5-bf6b-e1f6711614da + + +----------------------------------------------------- +2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] {"__type":"ResourceNotFound","Message":"Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313"} +2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sagemaker/DescribeFeatureGroup failed, attempt 0/25, error ResourceNotFound: Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313 +2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListInstanceProfilesForRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 94 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d177cde2bc9f6a90c623739569a291b304ecd5f4d409e3b6e48ea9a7a74057af +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212908Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=ListInstanceProfilesForRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Response iam/DeletePolicy Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 204 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:08 GMT +X-Amzn-Requestid: c37c3c57-b874-4a17-866c-c8569beb785c + + +----------------------------------------------------- +2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] + + c37c3c57-b874-4a17-866c-c8569beb785c + + +2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListInstanceProfilesForRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 372 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:09 GMT +X-Amzn-Requestid: 96385b86-aad9-44aa-9b27-0ae4ed7c545c + + +----------------------------------------------------- +2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] + + false + + + + 96385b86-aad9-44aa-9b27-0ae4ed7c545c + + +2020/12/11 23:29:10 [DEBUG] Waiting for state to become: [success] +2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Request iam/DeleteRole Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: iam.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 77 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=cb03d003a13fcdaeedf4b2ff266555a9cdfac2b4bb6bff84e78eaaa7aa19946e +Content-Type: application/x-www-form-urlencoded; charset=utf-8 +X-Amz-Date: 20201211T212910Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +Accept-Encoding: gzip + +Action=DeleteRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 +----------------------------------------------------- +2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Response iam/DeleteRole Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 200 OK +Connection: close +Content-Length: 200 +Content-Type: text/xml +Date: Fri, 11 Dec 2020 21:29:10 GMT +X-Amzn-Requestid: 4ccb151f-7be8-458c-8828-b5025b6ba255 + + +----------------------------------------------------- +2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] + + 4ccb151f-7be8-458c-8828-b5025b6ba255 + + +2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: +---[ REQUEST POST-SIGN ]----------------------------- +POST / HTTP/1.1 +Host: api.sagemaker.us-west-2.amazonaws.com +User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) +Content-Length: 54 +Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=2e5b0f05e656f1a5f1fdfb340b0a0a5393e023403d8ef9dc812d0b0ba5e1fc21 +Content-Type: application/x-amz-json-1.1 +X-Amz-Date: 20201211T212910Z +X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO +X-Amz-Target: SageMaker.DescribeFeatureGroup +Accept-Encoding: gzip + +{"FeatureGroupName":"tf-acc-test-6871308186836168313"} +----------------------------------------------------- +2020/12/11 23:29:11 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: +---[ RESPONSE ]-------------------------------------- +HTTP/1.1 400 Bad Request +Connection: close +Content-Length: 146 +Content-Type: application/x-amz-json-1.1 +Date: Fri, 11 Dec 2020 21:29:11 GMT +X-Amzn-Requestid: d5882979-dc72-4354-b585-ca77e9e36b27 + + +----------------------------------------------------- +2020/12/11 23:29:11 [DEBUG] [aws-sdk-go] {"__type":"ResourceNotFound","Message":"Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313"} +2020/12/11 23:29:11 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sagemaker/DescribeFeatureGroup failed, attempt 0/25, error ResourceNotFound: Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313 +--- PASS: TestAccAWSSagemakerFeatureGroup_tags (140.86s) +PASS +ok github.com/terraform-providers/terraform-provider-aws/aws 143.036s diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 621cdb97382..3f11c0629f2 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -359,31 +359,33 @@ func resourceAwsCognitoUserPoolClientRead(d *schema.ResourceData, meta interface return err } - d.SetId(aws.StringValue(resp.UserPoolClient.ClientId)) - d.Set("user_pool_id", resp.UserPoolClient.UserPoolId) - d.Set("name", resp.UserPoolClient.ClientName) - d.Set("explicit_auth_flows", flattenStringSet(resp.UserPoolClient.ExplicitAuthFlows)) - d.Set("read_attributes", flattenStringSet(resp.UserPoolClient.ReadAttributes)) - d.Set("write_attributes", flattenStringSet(resp.UserPoolClient.WriteAttributes)) - d.Set("refresh_token_validity", resp.UserPoolClient.RefreshTokenValidity) - d.Set("access_token_validity", resp.UserPoolClient.AccessTokenValidity) - d.Set("id_token_validity", resp.UserPoolClient.IdTokenValidity) - d.Set("client_secret", resp.UserPoolClient.ClientSecret) - d.Set("allowed_oauth_flows", flattenStringSet(resp.UserPoolClient.AllowedOAuthFlows)) - d.Set("allowed_oauth_flows_user_pool_client", resp.UserPoolClient.AllowedOAuthFlowsUserPoolClient) - d.Set("allowed_oauth_scopes", flattenStringSet(resp.UserPoolClient.AllowedOAuthScopes)) - d.Set("callback_urls", flattenStringSet(resp.UserPoolClient.CallbackURLs)) - d.Set("default_redirect_uri", resp.UserPoolClient.DefaultRedirectURI) - d.Set("logout_urls", flattenStringSet(resp.UserPoolClient.LogoutURLs)) - d.Set("prevent_user_existence_errors", resp.UserPoolClient.PreventUserExistenceErrors) - d.Set("supported_identity_providers", flattenStringSet(resp.UserPoolClient.SupportedIdentityProviders)) - - if err := d.Set("analytics_configuration", flattenAwsCognitoUserPoolClientAnalyticsConfig(resp.UserPoolClient.AnalyticsConfiguration)); err != nil { + userPoolClient := resp.UserPoolClient + d.Set("user_pool_id", userPoolClient.UserPoolId) + d.Set("name", userPoolClient.ClientName) + d.Set("explicit_auth_flows", flattenStringSet(userPoolClient.ExplicitAuthFlows)) + d.Set("read_attributes", flattenStringSet(userPoolClient.ReadAttributes)) + d.Set("write_attributes", flattenStringSet(userPoolClient.WriteAttributes)) + d.Set("refresh_token_validity", userPoolClient.RefreshTokenValidity) + d.Set("access_token_validity", userPoolClient.AccessTokenValidity) + d.Set("id_token_validity", userPoolClient.IdTokenValidity) + d.Set("client_secret", userPoolClient.ClientSecret) + d.Set("allowed_oauth_flows", flattenStringSet(userPoolClient.AllowedOAuthFlows)) + d.Set("allowed_oauth_flows_user_pool_client", userPoolClient.AllowedOAuthFlowsUserPoolClient) + d.Set("allowed_oauth_scopes", flattenStringSet(userPoolClient.AllowedOAuthScopes)) + d.Set("callback_urls", flattenStringSet(userPoolClient.CallbackURLs)) + d.Set("default_redirect_uri", userPoolClient.DefaultRedirectURI) + d.Set("logout_urls", flattenStringSet(userPoolClient.LogoutURLs)) + d.Set("prevent_user_existence_errors", userPoolClient.PreventUserExistenceErrors) + d.Set("supported_identity_providers", flattenStringSet(userPoolClient.SupportedIdentityProviders)) + + if err := d.Set("analytics_configuration", flattenAwsCognitoUserPoolClientAnalyticsConfig(userPoolClient.AnalyticsConfiguration)); err != nil { return fmt.Errorf("error setting analytics_configuration: %s", err) } - if err := d.Set("token_validity_units", flattenAwsCognitoUserPoolClientTokenValidityUnitsType(resp.UserPoolClient.TokenValidityUnits)); err != nil { - return fmt.Errorf("error setting token_validity_units: %w", err) + if userPoolClient.TokenValidityUnits != nil { + if err := d.Set("token_validity_units", flattenAwsCognitoUserPoolClientTokenValidityUnitsType(userPoolClient.TokenValidityUnits)); err != nil { + return fmt.Errorf("error setting token_validity_units: %w", err) + } } return nil From 9f384b1b19aab1e3cf18098b8f8986aafefb19a3 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 00:00:21 +0300 Subject: [PATCH 10/41] remove `token_validity_units` --- aws/resource_aws_cognito_user_pool_client.go | 77 -------------------- 1 file changed, 77 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 3f11c0629f2..f617ad67524 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -94,33 +94,6 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Optional: true, ValidateFunc: validation.IntBetween(1, 86400), }, - "token_validity_units": { - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "access_token": { - Type: schema.TypeString, - Optional: true, - Default: cognitoidentityprovider.TimeUnitsTypeHours, - ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), - }, - "id_token": { - Type: schema.TypeString, - Optional: true, - Default: cognitoidentityprovider.TimeUnitsTypeHours, - ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), - }, - "refresh_token": { - Type: schema.TypeString, - Optional: true, - Default: cognitoidentityprovider.TimeUnitsTypeDays, - ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), - }, - }, - }, - }, "allowed_oauth_flows": { Type: schema.TypeSet, @@ -317,10 +290,6 @@ func resourceAwsCognitoUserPoolClientCreate(d *schema.ResourceData, meta interfa params.AnalyticsConfiguration = expandAwsCognitoUserPoolClientAnalyticsConfig(v.([]interface{})) } - if v, ok := d.GetOk("token_validity_units"); ok { - params.TokenValidityUnits = expandAwsCognitoUserPoolClientTokenValidityUnitsType(v.([]interface{})) - } - if v, ok := d.GetOk("prevent_user_existence_errors"); ok { params.PreventUserExistenceErrors = aws.String(v.(string)) } @@ -568,49 +537,3 @@ func flattenAwsCognitoUserPoolClientAnalyticsConfig(analyticsConfig *cognitoiden return []interface{}{m} } - -func expandAwsCognitoUserPoolClientTokenValidityUnitsType(l []interface{}) *cognitoidentityprovider.TokenValidityUnitsType { - if len(l) == 0 { - return nil - } - - m := l[0].(map[string]interface{}) - - tokenValidityConfig := &cognitoidentityprovider.TokenValidityUnitsType{} - - if v, ok := m["access_token"]; ok { - tokenValidityConfig.AccessToken = aws.String(v.(string)) - } - - if v, ok := m["id_token"]; ok { - tokenValidityConfig.IdToken = aws.String(v.(string)) - } - - if v, ok := m["refresh_token"]; ok { - tokenValidityConfig.RefreshToken = aws.String(v.(string)) - } - - return tokenValidityConfig -} - -func flattenAwsCognitoUserPoolClientTokenValidityUnitsType(tokenValidityConfig *cognitoidentityprovider.TokenValidityUnitsType) []interface{} { - if tokenValidityConfig == nil { - return []interface{}{} - } - - m := map[string]interface{}{} - - if tokenValidityConfig.IdToken != nil { - m["id_token"] = aws.StringValue(tokenValidityConfig.IdToken) - } - - if tokenValidityConfig.AccessToken != nil { - m["access_token"] = aws.StringValue(tokenValidityConfig.AccessToken) - } - - if tokenValidityConfig.RefreshToken != nil { - m["refresh_token"] = aws.StringValue(tokenValidityConfig.RefreshToken) - } - - return []interface{}{m} -} From f5dbbde0e58b4f579cf104b902f703dd05923736 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 00:01:02 +0300 Subject: [PATCH 11/41] remove `token_validity_units` --- aws/resource_aws_cognito_user_pool_client.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index f617ad67524..e5a85f5f41d 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -351,12 +351,6 @@ func resourceAwsCognitoUserPoolClientRead(d *schema.ResourceData, meta interface return fmt.Errorf("error setting analytics_configuration: %s", err) } - if userPoolClient.TokenValidityUnits != nil { - if err := d.Set("token_validity_units", flattenAwsCognitoUserPoolClientTokenValidityUnitsType(userPoolClient.TokenValidityUnits)); err != nil { - return fmt.Errorf("error setting token_validity_units: %w", err) - } - } - return nil } @@ -432,10 +426,6 @@ func resourceAwsCognitoUserPoolClientUpdate(d *schema.ResourceData, meta interfa params.AnalyticsConfiguration = expandAwsCognitoUserPoolClientAnalyticsConfig(v.([]interface{})) } - if v, ok := d.GetOk("token_validity_units"); ok { - params.TokenValidityUnits = expandAwsCognitoUserPoolClientTokenValidityUnitsType(v.([]interface{})) - } - log.Printf("[DEBUG] Updating Cognito User Pool Client: %s", params) _, err := conn.UpdateUserPoolClient(params) From babfd2fcf7854c0ee6df90538505f71d2f419b69 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 11:10:47 +0300 Subject: [PATCH 12/41] fix validations and test --- aws/resource_aws_cognito_user_pool_client.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index e5a85f5f41d..791359c3e05 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -82,17 +82,15 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { Type: schema.TypeInt, Optional: true, Default: 30, - ValidateFunc: validation.IntBetween(0, 315360000), + ValidateFunc: validation.IntBetween(0, 3650), }, "access_token_validity": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.IntBetween(1, 86400), + Type: schema.TypeInt, + Optional: true, }, "id_token_validity": { - Type: schema.TypeInt, - Optional: true, - ValidateFunc: validation.IntBetween(1, 86400), + Type: schema.TypeInt, + Optional: true, }, "allowed_oauth_flows": { From b4f8c95c75697c1c14792597be0294ce203d9b23 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 11:13:20 +0300 Subject: [PATCH 13/41] fix validations and test --- ...resource_aws_cognito_user_pool_client_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 46b806ec242..721450eea57 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -87,10 +87,10 @@ func TestAccAWSCognitoUserPoolClient_AccessTokenValidity(t *testing.T) { CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, Steps: []resource.TestStep{ { - Config: testAccAWSCognitoUserPoolClientConfigAccessTokenValidity(rName, 60), + Config: testAccAWSCognitoUserPoolClientConfigAccessTokenValidity(rName, 5), Check: resource.ComposeAggregateTestCheckFunc( testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), - resource.TestCheckResourceAttr(resourceName, "access_token_validity", "60"), + resource.TestCheckResourceAttr(resourceName, "access_token_validity", "5"), ), }, { @@ -100,10 +100,10 @@ func TestAccAWSCognitoUserPoolClient_AccessTokenValidity(t *testing.T) { ImportStateVerify: true, }, { - Config: testAccAWSCognitoUserPoolClientConfigAccessTokenValidity(rName, 120), + Config: testAccAWSCognitoUserPoolClientConfigAccessTokenValidity(rName, 1), Check: resource.ComposeAggregateTestCheckFunc( testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), - resource.TestCheckResourceAttr(resourceName, "access_token_validity", "120"), + resource.TestCheckResourceAttr(resourceName, "access_token_validity", "1"), ), }, }, @@ -121,10 +121,10 @@ func TestAccAWSCognitoUserPoolClient_IdTokenValidity(t *testing.T) { CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, Steps: []resource.TestStep{ { - Config: testAccAWSCognitoUserPoolClientConfigIDTokenValidity(rName, 60), + Config: testAccAWSCognitoUserPoolClientConfigIDTokenValidity(rName, 5), Check: resource.ComposeAggregateTestCheckFunc( testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), - resource.TestCheckResourceAttr(resourceName, "access_token_validity", "60"), + resource.TestCheckResourceAttr(resourceName, "id_token_validity", "5"), ), }, { @@ -134,10 +134,10 @@ func TestAccAWSCognitoUserPoolClient_IdTokenValidity(t *testing.T) { ImportStateVerify: true, }, { - Config: testAccAWSCognitoUserPoolClientConfigIDTokenValidity(rName, 120), + Config: testAccAWSCognitoUserPoolClientConfigIDTokenValidity(rName, 1), Check: resource.ComposeAggregateTestCheckFunc( testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), - resource.TestCheckResourceAttr(resourceName, "access_token_validity", "120"), + resource.TestCheckResourceAttr(resourceName, "id_token_validity", "1"), ), }, }, From de785ec409258d23d7ab1aa53988b7f458e05b7d Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 11:39:22 +0300 Subject: [PATCH 14/41] add docs --- website/docs/r/cognito_user_pool_client.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/docs/r/cognito_user_pool_client.markdown b/website/docs/r/cognito_user_pool_client.markdown index 5bf5f3347c9..f4370361456 100644 --- a/website/docs/r/cognito_user_pool_client.markdown +++ b/website/docs/r/cognito_user_pool_client.markdown @@ -126,6 +126,8 @@ The following arguments are supported: * `prevent_user_existence_errors` - (Optional) Choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to `ENABLED` and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to `LEGACY`, those APIs will return a `UserNotFoundException` exception if the user does not exist in the user pool. * `read_attributes` - (Optional) List of user pool attributes the application client can read from. * `refresh_token_validity` - (Optional) The time limit in days refresh tokens are valid for. +* `access_token_validity` - (Optional) The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `token_validity_units`. +* `id_token_validity` - (Optional) The time limit, between 5 minutes and 1 day, after which the ID token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `token_validity_units`. * `supported_identity_providers` - (Optional) List of provider names for the identity providers that are supported on this client. * `user_pool_id` - (Required) The user pool the client belongs to. * `write_attributes` - (Optional) List of user pool attributes the application client can write to. From c9a6b2a357f559f36d53aa0aeda376b0ab248e0a Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 16:21:43 +0300 Subject: [PATCH 15/41] add `token_validity_units` --- aws/resource_aws_cognito_user_pool_client.go | 90 ++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 791359c3e05..e05899c655c 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -178,6 +178,33 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { ), }, }, + "token_validity_units": { + Type: schema.TypeList, + Optional: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "access_token": { + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.TimeUnitsTypeHours, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), + }, + "id_token": { + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.TimeUnitsTypeHours, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), + }, + "refresh_token": { + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.TimeUnitsTypeDays, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.TimeUnitsType_Values(), false), + }, + }, + }, + }, "analytics_configuration": { Type: schema.TypeList, Optional: true, @@ -288,6 +315,10 @@ func resourceAwsCognitoUserPoolClientCreate(d *schema.ResourceData, meta interfa params.AnalyticsConfiguration = expandAwsCognitoUserPoolClientAnalyticsConfig(v.([]interface{})) } + if v, ok := d.GetOk("token_validity_units"); ok { + params.TokenValidityUnits = expandAwsCognitoUserPoolClientTokenValidityUnitsType(v.([]interface{})) + } + if v, ok := d.GetOk("prevent_user_existence_errors"); ok { params.PreventUserExistenceErrors = aws.String(v.(string)) } @@ -349,6 +380,10 @@ func resourceAwsCognitoUserPoolClientRead(d *schema.ResourceData, meta interface return fmt.Errorf("error setting analytics_configuration: %s", err) } + if err := d.Set("token_validity_units", flattenAwsCognitoUserPoolClientTokenValidityUnitsType(userPoolClient.TokenValidityUnits)); err != nil { + return fmt.Errorf("error setting token_validity_units: %w", err) + } + return nil } @@ -424,6 +459,10 @@ func resourceAwsCognitoUserPoolClientUpdate(d *schema.ResourceData, meta interfa params.AnalyticsConfiguration = expandAwsCognitoUserPoolClientAnalyticsConfig(v.([]interface{})) } + if v, ok := d.GetOk("token_validity_units"); ok { + params.TokenValidityUnits = expandAwsCognitoUserPoolClientTokenValidityUnitsType(v.([]interface{})) + } + log.Printf("[DEBUG] Updating Cognito User Pool Client: %s", params) _, err := conn.UpdateUserPoolClient(params) @@ -525,3 +564,54 @@ func flattenAwsCognitoUserPoolClientAnalyticsConfig(analyticsConfig *cognitoiden return []interface{}{m} } + +func expandAwsCognitoUserPoolClientTokenValidityUnitsType(l []interface{}) *cognitoidentityprovider.TokenValidityUnitsType { + if len(l) == 0 { + return nil + } + + m := l[0].(map[string]interface{}) + + tokenValidityConfig := &cognitoidentityprovider.TokenValidityUnitsType{} + + if v, ok := m["access_token"]; ok { + tokenValidityConfig.AccessToken = aws.String(v.(string)) + } + + if v, ok := m["id_token"]; ok { + tokenValidityConfig.IdToken = aws.String(v.(string)) + } + + if v, ok := m["refresh_token"]; ok { + tokenValidityConfig.RefreshToken = aws.String(v.(string)) + } + + return tokenValidityConfig +} + +func flattenAwsCognitoUserPoolClientTokenValidityUnitsType(tokenValidityConfig *cognitoidentityprovider.TokenValidityUnitsType) []interface{} { + if tokenValidityConfig == nil { + return nil + } + + //tokenValidityConfig is never nil and if everything is empty it causes diffs + if tokenValidityConfig.IdToken == nil && tokenValidityConfig.AccessToken == nil && tokenValidityConfig.RefreshToken == nil { + return nil + } + + m := map[string]interface{}{} + + if tokenValidityConfig.IdToken != nil { + m["id_token"] = aws.StringValue(tokenValidityConfig.IdToken) + } + + if tokenValidityConfig.AccessToken != nil { + m["access_token"] = aws.StringValue(tokenValidityConfig.AccessToken) + } + + if tokenValidityConfig.RefreshToken != nil { + m["refresh_token"] = aws.StringValue(tokenValidityConfig.RefreshToken) + } + + return []interface{}{m} +} From c2070957f9ad8b2c6a337aa8caa1680f65e50a0c Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 16:46:37 +0300 Subject: [PATCH 16/41] token_validity_units tests --- ...ource_aws_cognito_user_pool_client_test.go | 130 +++++++++++++++++- 1 file changed, 127 insertions(+), 3 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 721450eea57..290bd07b4fc 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -30,6 +30,8 @@ func TestAccAWSCognitoUserPoolClient_basic(t *testing.T) { resource.TestCheckResourceAttr(resourceName, "name", clientName), resource.TestCheckResourceAttr(resourceName, "explicit_auth_flows.#", "1"), resource.TestCheckTypeSetElemAttr(resourceName, "explicit_auth_flows.*", "ADMIN_NO_SRP_AUTH"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.#", "0"), + resource.TestCheckResourceAttr(resourceName, "analytics_configuration.#", "0"), ), }, { @@ -42,7 +44,7 @@ func TestAccAWSCognitoUserPoolClient_basic(t *testing.T) { }) } -func TestAccAWSCognitoUserPoolClient_RefreshTokenValidity(t *testing.T) { +func TestAccAWSCognitoUserPoolClient_refreshTokenValidity(t *testing.T) { var client cognitoidentityprovider.UserPoolClientType rName := acctest.RandomWithPrefix("tf-acc-test") resourceName := "aws_cognito_user_pool_client.test" @@ -76,7 +78,7 @@ func TestAccAWSCognitoUserPoolClient_RefreshTokenValidity(t *testing.T) { }) } -func TestAccAWSCognitoUserPoolClient_AccessTokenValidity(t *testing.T) { +func TestAccAWSCognitoUserPoolClient_accessTokenValidity(t *testing.T) { var client cognitoidentityprovider.UserPoolClientType rName := acctest.RandomWithPrefix("tf-acc-test") resourceName := "aws_cognito_user_pool_client.test" @@ -110,7 +112,7 @@ func TestAccAWSCognitoUserPoolClient_AccessTokenValidity(t *testing.T) { }) } -func TestAccAWSCognitoUserPoolClient_IdTokenValidity(t *testing.T) { +func TestAccAWSCognitoUserPoolClient_idTokenValidity(t *testing.T) { var client cognitoidentityprovider.UserPoolClientType rName := acctest.RandomWithPrefix("tf-acc-test") resourceName := "aws_cognito_user_pool_client.test" @@ -144,6 +146,88 @@ func TestAccAWSCognitoUserPoolClient_IdTokenValidity(t *testing.T) { }) } +func TestAccAWSCognitoUserPoolClient_tokenValidityUnits(t *testing.T) { + var client cognitoidentityprovider.UserPoolClientType + rName := acctest.RandomWithPrefix("tf-acc-test") + resourceName := "aws_cognito_user_pool_client.test" + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSCognitoUserPoolClientConfigTokenValidityUnits(rName, "days"), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.#", "1"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.access_token", "days"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.id_token", "days"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.refresh_token", "days"), + ), + }, + { + ResourceName: resourceName, + ImportStateIdFunc: testAccAWSCognitoUserPoolClientImportStateIDFunc(resourceName), + ImportState: true, + ImportStateVerify: true, + }, + { + Config: testAccAWSCognitoUserPoolClientConfigTokenValidityUnits(rName, "hours"), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.#", "1"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.access_token", "hours"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.id_token", "hours"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.refresh_token", "hours"), + ), + }, + }, + }) +} + +func TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity(t *testing.T) { + var client cognitoidentityprovider.UserPoolClientType + rName := acctest.RandomWithPrefix("tf-acc-test") + resourceName := "aws_cognito_user_pool_client.test" + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSCognitoUserPoolClientConfigTokenValidityUnitsWithTokenValidity(rName, "days"), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.#", "1"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.access_token", "days"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.id_token", "days"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.refresh_token", "days"), + resource.TestCheckResourceAttr(resourceName, "id_token_validity", "1"), + ), + }, + { + ResourceName: resourceName, + ImportStateIdFunc: testAccAWSCognitoUserPoolClientImportStateIDFunc(resourceName), + ImportState: true, + ImportStateVerify: true, + }, + { + Config: testAccAWSCognitoUserPoolClientConfigTokenValidityUnitsWithTokenValidity(rName, "hours"), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.#", "1"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.access_token", "hours"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.id_token", "hours"), + resource.TestCheckResourceAttr(resourceName, "token_validity_units.0.refresh_token", "hours"), + resource.TestCheckResourceAttr(resourceName, "id_token_validity", "1"), + ), + }, + }, + }) +} + func TestAccAWSCognitoUserPoolClient_Name(t *testing.T) { var client cognitoidentityprovider.UserPoolClientType rName := acctest.RandomWithPrefix("tf-acc-test") @@ -542,6 +626,46 @@ resource "aws_cognito_user_pool_client" "test" { `, rName, rName, validity) } +func testAccAWSCognitoUserPoolClientConfigTokenValidityUnits(rName, units string) string { + return fmt.Sprintf(` +resource "aws_cognito_user_pool" "test" { + name = %[1]q +} + +resource "aws_cognito_user_pool_client" "test" { + name = %[1]q + user_pool_id = aws_cognito_user_pool.test.id + + token_validity_units { + access_token = %[2]q + id_token = %[2]q + refresh_token = %[2]q + } +} +`, rName, units) +} + +func testAccAWSCognitoUserPoolClientConfigTokenValidityUnitsWithTokenValidity(rName, units string) string { + return fmt.Sprintf(` +resource "aws_cognito_user_pool" "test" { + name = %[1]q +} + +resource "aws_cognito_user_pool_client" "test" { + name = %[1]q + user_pool_id = aws_cognito_user_pool.test.id + + id_token_validity = 1 + + token_validity_units { + access_token = %[2]q + id_token = %[2]q + refresh_token = %[2]q + } +} +`, rName, units) +} + func testAccAWSCognitoUserPoolClientConfig_Name(rName, name string) string { return fmt.Sprintf(` resource "aws_cognito_user_pool" "test" { From 6f53751bde9dd38b3b7330088499ff3b5afa2659 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 17:17:48 +0300 Subject: [PATCH 17/41] docs --- website/docs/r/cognito_user_pool_client.markdown | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/website/docs/r/cognito_user_pool_client.markdown b/website/docs/r/cognito_user_pool_client.markdown index f4370361456..963701937dd 100644 --- a/website/docs/r/cognito_user_pool_client.markdown +++ b/website/docs/r/cognito_user_pool_client.markdown @@ -132,6 +132,7 @@ The following arguments are supported: * `user_pool_id` - (Required) The user pool the client belongs to. * `write_attributes` - (Optional) List of user pool attributes the application client can write to. * `analytics_configuration` - (Optional) The Amazon Pinpoint analytics configuration for collecting metrics for this user pool. +* `token_validity_units` - (Optional) The units in which the validity times are represented in. see [Token Validity Units](#token-validity-units). ### Analytics Configuration @@ -143,7 +144,16 @@ Either `application_arn` or `application_id` is required. * `role_arn` - (Optional) The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. Conflicts with `application_arn`. * `user_data_shared` (Optional) If set to `true`, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics. -## Attributes Reference +### Token Validity Units + +Valid values for the following arguments are: `seconds`, `minutes`, `hours` or `days`. + +* `access_token` - (Optional) A time unit in for the value in `access_token_validity`, defaults to `hours`. +* `id_token` - (Optional) A time unit in for the value in `id_token_validity`, defaults to `hours`. +* `refresh_token` - (Optional) A time unit in for the value in `refresh_token_validity`, defaults to `days`. + + +## Attribute Reference In addition to all arguments above, the following attributes are exported: From 029ad2808512770208f27f6beeb8de292266ca82 Mon Sep 17 00:00:00 2001 From: DrFaust92 Date: Tue, 1 Sep 2020 17:37:04 +0300 Subject: [PATCH 18/41] add another disappears test --- ...ource_aws_cognito_user_pool_client_test.go | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 290bd07b4fc..2df91c898cb 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -485,6 +485,29 @@ func TestAccAWSCognitoUserPoolClient_disappears(t *testing.T) { }) } +func TestAccAWSCognitoUserPoolClient_disappears_userPool(t *testing.T) { + var client cognitoidentityprovider.UserPoolClientType + userPoolName := fmt.Sprintf("tf-acc-cognito-user-pool-%s", acctest.RandString(7)) + clientName := acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum) + resourceName := "aws_cognito_user_pool_client.test" + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, + Steps: []resource.TestStep{ + { + Config: testAccAWSCognitoUserPoolClientConfig_basic(userPoolName, clientName), + Check: resource.ComposeAggregateTestCheckFunc( + testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), + testAccCheckResourceDisappears(testAccProvider, resourceAwsCognitoUserPool(), "aws_cognito_user_pool.test"), + ), + ExpectNonEmptyPlan: true, + }, + }, + }) +} + func testAccAWSCognitoUserPoolClientImportStateIDFunc(resourceName string) resource.ImportStateIdFunc { return func(s *terraform.State) (string, error) { rs, ok := s.RootModule().Resources[resourceName] From 11310bd6c599ac3a8130e8dc0234b9b9a3a89a72 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Mon, 9 Nov 2020 22:28:31 +0200 Subject: [PATCH 19/41] fmt --- aws/resource_aws_cognito_user_pool_client_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 2df91c898cb..223e4fd4c0e 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -656,8 +656,8 @@ resource "aws_cognito_user_pool" "test" { } resource "aws_cognito_user_pool_client" "test" { - name = %[1]q - user_pool_id = aws_cognito_user_pool.test.id + name = %[1]q + user_pool_id = aws_cognito_user_pool.test.id token_validity_units { access_token = %[2]q @@ -677,7 +677,6 @@ resource "aws_cognito_user_pool" "test" { resource "aws_cognito_user_pool_client" "test" { name = %[1]q user_pool_id = aws_cognito_user_pool.test.id - id_token_validity = 1 token_validity_units { From 7a12728125b11ba28da63bd701422bb959fb133c Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Sat, 12 Dec 2020 00:15:19 +0200 Subject: [PATCH 20/41] pinpoint test more specific --- aws/resource_aws_cognito_user_pool_client_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 223e4fd4c0e..1006d4bae13 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -382,6 +382,7 @@ func TestAccAWSCognitoUserPoolClient_analyticsConfig(t *testing.T) { userPoolName := fmt.Sprintf("tf-acc-cognito-user-pool-%s", acctest.RandString(7)) clientName := acctest.RandString(10) resourceName := "aws_cognito_user_pool_client.test" + pinpointResourceName:= "aws_pinpoint_app.test" resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { @@ -397,6 +398,7 @@ func TestAccAWSCognitoUserPoolClient_analyticsConfig(t *testing.T) { Check: resource.ComposeAggregateTestCheckFunc( testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), resource.TestCheckResourceAttr(resourceName, "analytics_configuration.#", "1"), + resource.TestCheckResourceAttrPair(resourceName, "analytics_configuration.0.application_id", pinpointResourceName, "id"), resource.TestCheckResourceAttr(resourceName, "analytics_configuration.0.external_id", clientName), resource.TestCheckResourceAttr(resourceName, "analytics_configuration.0.user_data_shared", "false"), ), @@ -419,6 +421,7 @@ func TestAccAWSCognitoUserPoolClient_analyticsConfig(t *testing.T) { Check: resource.ComposeAggregateTestCheckFunc( testAccCheckAWSCognitoUserPoolClientExists(resourceName, &client), resource.TestCheckResourceAttr(resourceName, "analytics_configuration.#", "1"), + resource.TestCheckResourceAttrPair(resourceName, "analytics_configuration.0.application_id", pinpointResourceName, "id"), resource.TestCheckResourceAttr(resourceName, "analytics_configuration.0.external_id", clientName), resource.TestCheckResourceAttr(resourceName, "analytics_configuration.0.user_data_shared", "true"), ), From 82353ceec87ebec80025233b506b676737386162 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Sat, 12 Dec 2020 00:16:40 +0200 Subject: [PATCH 21/41] fmt --- aws/resource_aws_cognito_user_pool_client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 1006d4bae13..2900a82d53c 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -382,7 +382,7 @@ func TestAccAWSCognitoUserPoolClient_analyticsConfig(t *testing.T) { userPoolName := fmt.Sprintf("tf-acc-cognito-user-pool-%s", acctest.RandString(7)) clientName := acctest.RandString(10) resourceName := "aws_cognito_user_pool_client.test" - pinpointResourceName:= "aws_pinpoint_app.test" + pinpointResourceName := "aws_pinpoint_app.test" resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { From 3ef8bac035cc12b621fbf5bfb02e85ef3b64b83c Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Sat, 9 Jan 2021 19:05:49 +0200 Subject: [PATCH 22/41] fmt --- aws/resource_aws_cognito_user_pool_client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 2900a82d53c..c4af6d01f17 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -491,7 +491,7 @@ func TestAccAWSCognitoUserPoolClient_disappears(t *testing.T) { func TestAccAWSCognitoUserPoolClient_disappears_userPool(t *testing.T) { var client cognitoidentityprovider.UserPoolClientType userPoolName := fmt.Sprintf("tf-acc-cognito-user-pool-%s", acctest.RandString(7)) - clientName := acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum) + clientName := acctest.RandString(10) resourceName := "aws_cognito_user_pool_client.test" resource.ParallelTest(t, resource.TestCase{ From 4ac51f80de64d2474e3664168becac0144b5c458 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Wed, 17 Feb 2021 16:56:44 +0200 Subject: [PATCH 23/41] changelog --- .changelog/14935.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changelog/14935.txt diff --git a/.changelog/14935.txt b/.changelog/14935.txt new file mode 100644 index 00000000000..9aade54f6c4 --- /dev/null +++ b/.changelog/14935.txt @@ -0,0 +1,7 @@ +```release-note:enhancement +resource/aws_cognito_user_pool_client: Add plan time validation for `name`, `default_redirect_uri`, `supported_identity_providers` +``` + +```release-note:enhancement +resource/aws_cognito_user_pool_client: Add support for `access_token_validity` and `id_token_validity`, `token_validity_units` +``` From db186702e6c3212c69bf40ac16118007868e1ef0 Mon Sep 17 00:00:00 2001 From: Ilia Lazebnik Date: Wed, 17 Feb 2021 17:27:17 +0200 Subject: [PATCH 24/41] Delete a.txt --- a.txt | 4716 --------------------------------------------------------- 1 file changed, 4716 deletions(-) delete mode 100644 a.txt diff --git a/a.txt b/a.txt deleted file mode 100644 index 59002575ddd..00000000000 --- a/a.txt +++ /dev/null @@ -1,4716 +0,0 @@ -==> Checking that code complies with gofmt requirements... -TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSagemakerFeatureGroup_tags -timeout 120m -=== RUN TestAccAWSSagemakerFeatureGroup_tags -=== PAUSE TestAccAWSSagemakerFeatureGroup_tags -=== CONT TestAccAWSSagemakerFeatureGroup_tags -2020/12/11 23:26:51 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:26:51 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:26:51 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=f912730bb343f08513ee0345004b595759f6ab160310395a28b645611cbf2ce7 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212651Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:26:52 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:26:52 GMT -X-Amzn-Requestid: 276502d5-c4cf-415d-b50d-4364ca8ea2c4 - - ------------------------------------------------------ -2020/12/11 23:26:52 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 276502d5-c4cf-415d-b50d-4364ca8ea2c4 - - -2020/12/11 23:26:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:26:52 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=394e042f51fcbd23807a41dedd7e668bc490e83bf0b94ce63100bb4fd5be252e -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212652Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:26:53 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:26:52 GMT -X-Amzn-Requestid: c19a518e-5d40-47df-b127-fb83553092f6 - - ------------------------------------------------------ -2020/12/11 23:26:53 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - c19a518e-5d40-47df-b127-fb83553092f6 - - -2020/12/11 23:26:53 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=477f827783661a7b555f0d5d65e0d3f6403395e2a6f238132becc00c0685b319 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212653Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:26:55 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:26:54 GMT -Server: AmazonEC2 -X-Amzn-Requestid: b15b8956-81c3-47d3-8d3a-3711bba079d5 - - ------------------------------------------------------ -2020/12/11 23:26:55 [DEBUG] [aws-sdk-go] - - b15b8956-81c3-47d3-8d3a-3711bba079d5 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:26:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:26:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:26:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:26:56 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:26:56 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:26:56 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d6176cd310c8f5acc91788c5456024a5db77d36dbe4da47d9ae8df791e50c26a -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212656Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:26:57 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:26:56 GMT -X-Amzn-Requestid: 527e37fb-1cf2-4a61-97f7-1ebcb182c055 - - ------------------------------------------------------ -2020/12/11 23:26:57 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 527e37fb-1cf2-4a61-97f7-1ebcb182c055 - - -2020/12/11 23:26:57 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:26:57 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=70402520f079426a41830211a0fba25a520a07f05ef1124111a2e5a16c15571f -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212657Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:26:58 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:26:57 GMT -X-Amzn-Requestid: 2023ead5-14b5-473c-9fee-9d594cabc84e - - ------------------------------------------------------ -2020/12/11 23:26:58 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 2023ead5-14b5-473c-9fee-9d594cabc84e - - -2020/12/11 23:26:58 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=ac088e2ec463dc2d710b66ac1d56bf84a47b56579a737c2f11d2c05a562d1853 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212658Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:00 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:26:59 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 30292eed-aa97-4a5f-9e21-c1b5356508c5 - - ------------------------------------------------------ -2020/12/11 23:27:00 [DEBUG] [aws-sdk-go] - - 30292eed-aa97-4a5f-9e21-c1b5356508c5 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:00 [DEBUG] Reading Partition. -2020/12/11 23:27:00 [DEBUG] Setting AWS Partition to aws. -2020/12/11 23:27:00 [DEBUG] Setting AWS URL Suffix to amazonaws.com. -2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:00 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:00 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:27:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:00 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c1ed670ca70af360d5be423b14e08c786ef40372f26b9275cc7a29f435188a00 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212700Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:01 GMT -X-Amzn-Requestid: f1e4c463-f882-47ff-9ca0-148a4372925a - - ------------------------------------------------------ -2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - f1e4c463-f882-47ff-9ca0-148a4372925a - - -2020/12/11 23:27:01 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:01 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=403340c7e770d6aeb3269d22027a499fa665d42a99e6f48da2c099d6e8e3fc64 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212701Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:01 GMT -X-Amzn-Requestid: 34dc2ad9-502d-4993-9a32-b0d579916b94 - - ------------------------------------------------------ -2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 34dc2ad9-502d-4993-9a32-b0d579916b94 - - -2020/12/11 23:27:01 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d4d05b25eb6790cfe473b72d95f4c3cab2fa24bbcc9db3268dad9bb1326902c6 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212701Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:02 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:27:02 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 34038472-ad1f-4c24-9726-4e06b6d85e15 - - ------------------------------------------------------ -2020/12/11 23:27:02 [DEBUG] [aws-sdk-go] - - 34038472-ad1f-4c24-9726-4e06b6d85e15 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:03 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:27:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:03 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bbac028d0b78263afc3f22462ac9fb89efab72309a927f2ef410ccc990ec6585 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212703Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:03 GMT -X-Amzn-Requestid: 7c8b4120-8ac3-4506-863d-7e06f6cc1f8e - - ------------------------------------------------------ -2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 7c8b4120-8ac3-4506-863d-7e06f6cc1f8e - - -2020/12/11 23:27:04 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:04 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=4a66451f8ddd429517cf83ef4ed30cc450766939c4536593a68992e8a433bb5e -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212704Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:04 GMT -X-Amzn-Requestid: 62a54e74-657d-4b1c-82d1-f61626594c43 - - ------------------------------------------------------ -2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 62a54e74-657d-4b1c-82d1-f61626594c43 - - -2020/12/11 23:27:04 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c522ad02fa2d2655e7da8be95f7ddb3a748dabea69272812fcfc60e51d2581fb -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212704Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:27:06 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 654d36be-17f4-4113-bf0b-842efe144ea4 - - ------------------------------------------------------ -2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] - - 654d36be-17f4-4113-bf0b-842efe144ea4 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] DEBUG: Request iam/CreatePolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 351 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=35a5568dd3bc27ecab977c8df8254d5bcef49d4d6cbe8a5ec3ee9301163e3005 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212706Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=CreatePolicy&Description=&Path=%2F&PolicyDocument=%7B%0A++%22Version%22%3A+%222012-10-17%22%2C%0A++%22Statement%22%3A+%5B%7B%0A++++%22Effect%22%3A+%22Allow%22%2C%0A++++%22Resource%22%3A+%22%2A%22%2C%0A++++%22Action%22%3A+%5B%0A++++++%22s3%3A%2A%22%0A++++%5D%0A++%7D%5D%0A%7D%0A&PolicyName=terraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:06 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:27:06 [DEBUG] [aws-sdk-go] DEBUG: Request iam/CreateRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 461 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7b75efdfa176ef233b9c8226084057a737143090b6573450951a56808bbd2214 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212706Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=CreateRole&AssumeRolePolicyDocument=%7B%0A++%22Version%22%3A+%222012-10-17%22%2C%0A++%22Statement%22%3A+%5B%0A++++%7B%0A++++++%22Sid%22%3A+%22%22%2C%0A++++++%22Effect%22%3A+%22Allow%22%2C%0A++++++%22Action%22%3A+%22sts%3AAssumeRole%22%2C%0A++++++%22Principal%22%3A+%7B%0A++++++++%22Service%22%3A+%22sagemaker.amazonaws.com%22%0A++++++%7D%0A++++%7D%0A++%5D%0A%7D&MaxSessionDuration=3600&Path=%2F&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/CreatePolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 807 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:07 GMT -X-Amzn-Requestid: 1b062af0-9bb6-4b2e-b77e-1d4a7811539c - - ------------------------------------------------------ -2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] - - - 0 - / - 2020-12-11T21:27:07Z - v1 - ANPAX5UOQS552PCJGB7JJ - true - terraform-20201211212706934100000001 - 0 - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - 2020-12-11T21:27:07Z - - - - 1b062af0-9bb6-4b2e-b77e-1d4a7811539c - - -2020/12/11 23:27:07 [DEBUG] Getting IAM Policy: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" -} -2020/12/11 23:27:07 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 127 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1f6096ff122e3bd2b143561f39fab77e661bbdb28b824bbdd303a1ad8d9a06e2 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212707Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/CreateRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 1026 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:07 GMT -X-Amzn-Requestid: 6248428e-f891-4622-9fc7-129048a77429 - - ------------------------------------------------------ -2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] - - - / - %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%22Sid%22%3A%20%22%22%2C%0A%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%22Action%22%3A%20%22sts%3AAssumeRole%22%2C%0A%20%20%20%20%20%20%22Principal%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22Service%22%3A%20%22sagemaker.amazonaws.com%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%5D%0A%7D - AROAX5UOQS55YJ6LR4IKB - tf-acc-test-6871308186836168313 - arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 - 2020-12-11T21:27:07Z - - - - 6248428e-f891-4622-9fc7-129048a77429 - - -2020/12/11 23:27:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 74 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=5698249583881d5c3f9ed3dbc20a901278ed5d6c74f425fb9f7fba9709597e8c -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212707Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 795 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:07 GMT -X-Amzn-Requestid: 50c8a13b-bd27-4b19-a28a-b493e6fe693a - - ------------------------------------------------------ -2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] - - - 0 - / - 2020-12-11T21:27:07Z - v1 - ANPAX5UOQS552PCJGB7JJ - true - terraform-20201211212706934100000001 - 0 - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - 2020-12-11T21:27:07Z - - - - 50c8a13b-bd27-4b19-a28a-b493e6fe693a - - -2020/12/11 23:27:08 [DEBUG] Getting IAM Policy Version: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", - VersionId: "v1" -} -2020/12/11 23:27:08 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 147 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e967394cb6a3417eb147153bf5e8d740db494c3f96105b971615066d2cbd0df3 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212708Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 ------------------------------------------------------ -2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 875 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:07 GMT -X-Amzn-Requestid: 82788ef6-2424-4fb2-aade-c2952e5f77f6 - - ------------------------------------------------------ -2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] - - - / - %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D - 3600 - AROAX5UOQS55YJ6LR4IKB - - tf-acc-test-6871308186836168313 - arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 - 2020-12-11T21:27:07Z - - - - 82788ef6-2424-4fb2-aade-c2952e5f77f6 - - -2020/12/11 23:27:08 [DEBUG] Sagemaker Feature Group create config: { - EventTimeFeatureName: "tf-acc-test-6871308186836168313", - FeatureDefinitions: [{ - FeatureName: "tf-acc-test-6871308186836168313", - FeatureType: "String" - }], - FeatureGroupName: "tf-acc-test-6871308186836168313", - OnlineStoreConfig: { - EnableOnlineStore: true - }, - RecordIdentifierFeatureName: "tf-acc-test-6871308186836168313", - RoleArn: "arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313", - Tags: [{ - Key: "key1", - Value: "value1" - }] -} -2020/12/11 23:27:08 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/CreateFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 434 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=f6eaf8c92320fb2a49c6991a9c5af4f9e64ae73b086e0075043b0ec8f0a53e35 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212708Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.CreateFeatureGroup -Accept-Encoding: gzip - -{"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupName":"tf-acc-test-6871308186836168313","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313","Tags":[{"Key":"key1","Value":"value1"}]} ------------------------------------------------------ -2020/12/11 23:27:09 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 761 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:08 GMT -X-Amzn-Requestid: ca104807-ebec-4643-a138-17bbdc9a89d7 - - ------------------------------------------------------ -2020/12/11 23:27:09 [DEBUG] [aws-sdk-go] - - - v1 - true - %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A - 2020-12-11T21:27:07Z - - - - ca104807-ebec-4643-a138-17bbdc9a89d7 - - -2020/12/11 23:27:09 [DEBUG] [aws-sdk-go] DEBUG: Request iam/AttachRolePolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 175 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2ece4deacec56cdd2aea594a7297321ce1c200ebedf9734c032e56d0d344df80 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212709Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=AttachRolePolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/CreateFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 108 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:09 GMT -X-Amzn-Requestid: aeb82c9e-798a-42d4-a54e-17f0fa654f6f - - ------------------------------------------------------ -2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] {"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:10 [DEBUG] Waiting for state to become: [Created] -2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=578816caec9b154871f3d4a6b0b36e23926969afd89b75b9abf36dcd4f55b6eb -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212710Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Response iam/AttachRolePolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 212 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:09 GMT -X-Amzn-Requestid: e11b63da-3db5-40b2-b3c0-5635503f1ca1 - - ------------------------------------------------------ -2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] - - e11b63da-3db5-40b2-b3c0-5635503f1ca1 - - -2020/12/11 23:27:10 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 91 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=08aa73aea1dd0f30056452edfe4c5f15be360b091e71514ccbe1088ad9cfbab1 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212710Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 585 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:10 GMT -X-Amzn-Requestid: e1c6aa2b-0861-4983-be67-b4e7f598a492 - - ------------------------------------------------------ -2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] - - false - - - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - terraform-20201211212706934100000001 - - - - - e1c6aa2b-0861-4983-be67-b4e7f598a492 - - -2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 564 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:11 GMT -X-Amzn-Requestid: 850eb0ac-2f5a-4046-bec0-710b4b6649f4 - - ------------------------------------------------------ -2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:11 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=2cf164f7aa2d3d8b831b89776b1961d151d9dadf7c2f7d0e7e2897e4766bc6e1 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212711Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:12 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 564 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:11 GMT -X-Amzn-Requestid: f1187444-357c-4046-9172-4467b653ab51 - - ------------------------------------------------------ -2020/12/11 23:27:12 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:12 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=e3d3cff6b6a63db38a15c4ee55adf3bd50e7cdb7dcbee53276862f4dc1de4b1c -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212712Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:14 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 564 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:13 GMT -X-Amzn-Requestid: 948aece6-a7a0-4c4a-9545-8f3c44796d35 - - ------------------------------------------------------ -2020/12/11 23:27:14 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:14 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=aec4e85bd0c0708717c006412315983fd89e7fba4782502d1a8d81f9fd69dd44 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212714Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:16 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 564 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:15 GMT -X-Amzn-Requestid: 03a9dedb-0930-42dd-a139-763fefd77991 - - ------------------------------------------------------ -2020/12/11 23:27:16 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:17 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=e43991946f35d102bff9d5ae0546754fa773217a64c48abeabc57c3c7bde7f58 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212717Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:18 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 564 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:17 GMT -X-Amzn-Requestid: 448ef7c4-e3c5-4900-bb21-1a6379ff92b3 - - ------------------------------------------------------ -2020/12/11 23:27:18 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:22 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=27d8abaf08ebad33e5531e0906dbe20586ef0788b9a187212875527ea3f9bc8b -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212722Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:24 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 564 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:23 GMT -X-Amzn-Requestid: 3d861e03-4bcd-45d3-b338-1aeade222f2f - - ------------------------------------------------------ -2020/12/11 23:27:24 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Creating","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:30 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=d45e7bfad44ac54c283d12abb89d7f673561973f24be6a978aff9af23b18723d -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212730Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:31 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:31 GMT -X-Amzn-Requestid: 9f258b3b-a39c-49d0-9de3-a428c32456f3 - - ------------------------------------------------------ -2020/12/11 23:27:31 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:31 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=6dc4aa55d40c31af2b4a49e60306adc7a26783acec11e68705be8b51b44944a1 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212731Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:32 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:32 GMT -X-Amzn-Requestid: 06b3a4dd-ef06-4e61-8403-bd14517403dd - - ------------------------------------------------------ -2020/12/11 23:27:32 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:32 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=5842c7527923375b85e888405477ad9eae227fe5074764057881609157e1ad26 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212732Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:33 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 42 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:33 GMT -X-Amzn-Requestid: eb8fb632-5e58-47dc-b0ca-a2af8f9b61e3 - - ------------------------------------------------------ -2020/12/11 23:27:33 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} -2020/12/11 23:27:34 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=fe21670c7629917cf488c7d9d6c4a076e7079276ae36211775856de49ce8f769 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212734Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:35 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:34 GMT -X-Amzn-Requestid: 8a04ca2d-6bff-4970-8e6f-1a159f096c28 - - ------------------------------------------------------ -2020/12/11 23:27:35 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:35 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:35 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:35 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:35 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:27:35 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:35 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a32a3b2eb9a70143c32aa8e0e7b6262fa665bcb94c0705c587007a1e5e05f82d -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212735Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:36 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:35 GMT -X-Amzn-Requestid: ca9f8e54-f3bb-414d-a64b-69d324c5d293 - - ------------------------------------------------------ -2020/12/11 23:27:36 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - ca9f8e54-f3bb-414d-a64b-69d324c5d293 - - -2020/12/11 23:27:36 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:36 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b6effb86e9f08eb8f4b4002235bad63e0328ead0c1005a5012c9a9de7814d83c -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212736Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:37 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:36 GMT -X-Amzn-Requestid: c9c0d42a-fbf6-487f-a681-ee76797c2f5b - - ------------------------------------------------------ -2020/12/11 23:27:37 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - c9c0d42a-fbf6-487f-a681-ee76797c2f5b - - -2020/12/11 23:27:37 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=433a2d7815f121a303497c4d2495d30b29cb96581bb720062386feb576dd185a -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212737Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:39 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:27:38 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 3649b93c-2261-4c42-960d-f4ddd38d0e10 - - ------------------------------------------------------ -2020/12/11 23:27:39 [DEBUG] [aws-sdk-go] - - 3649b93c-2261-4c42-960d-f4ddd38d0e10 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:39 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:39 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:27:39 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:39 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=f4fdd403233914d815601a21e863af0a90d066f78d6e9faedb21ab71a5bf2245 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212739Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:40 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:40 GMT -X-Amzn-Requestid: 4c145c2e-9d61-494b-af11-be26be27df0b - - ------------------------------------------------------ -2020/12/11 23:27:40 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 4c145c2e-9d61-494b-af11-be26be27df0b - - -2020/12/11 23:27:40 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:40 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=085a63261917f6f72d04d1c6746bdcef639cecfb3704bec90df5642fb81bdd02 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212740Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:41 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:40 GMT -X-Amzn-Requestid: af379589-4d6b-4d0d-880e-35f673c309f4 - - ------------------------------------------------------ -2020/12/11 23:27:41 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - af379589-4d6b-4d0d-880e-35f673c309f4 - - -2020/12/11 23:27:41 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d11fbdeb0455772cdb354f017241bd7a17fa68235cf2ff49dc194406c480e2aa -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212741Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:27:42 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 1e624b43-ee07-425a-9569-edf31f0f5734 - - ------------------------------------------------------ -2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] - - 1e624b43-ee07-425a-9569-edf31f0f5734 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:42 [DEBUG] Reading Partition. -2020/12/11 23:27:42 [DEBUG] Setting AWS Partition to aws. -2020/12/11 23:27:42 [DEBUG] Setting AWS URL Suffix to amazonaws.com. -2020/12/11 23:27:42 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:42 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:42 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:42 [DEBUG] Getting IAM Policy: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" -} -2020/12/11 23:27:42 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 127 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d2d5ea4ddaed74d8d01f94240cd39067986d8ad18de43be486b6200ef2b4f978 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212742Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:42 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 74 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a1f1b49d627ca73df8b0b9880f0c619c5a050ae097560f5d2f0ca69b1125a0bb -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212742Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 795 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:42 GMT -X-Amzn-Requestid: a594227d-65c0-4f91-8065-6854a196c342 - - ------------------------------------------------------ -2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] - - - 0 - / - 2020-12-11T21:27:07Z - v1 - ANPAX5UOQS552PCJGB7JJ - true - terraform-20201211212706934100000001 - 1 - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - 2020-12-11T21:27:07Z - - - - a594227d-65c0-4f91-8065-6854a196c342 - - -2020/12/11 23:27:43 [DEBUG] Getting IAM Policy Version: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", - VersionId: "v1" -} -2020/12/11 23:27:43 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 147 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=9976defd8b2f63509d1f2fdbc1d73009de73c9a552ae30a8dbc6f4417ff8d3f2 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212743Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 ------------------------------------------------------ -2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 875 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:42 GMT -X-Amzn-Requestid: 9c35f71a-2f1c-4ee4-a984-605169436dad - - ------------------------------------------------------ -2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] - - - / - %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D - 3600 - AROAX5UOQS55YJ6LR4IKB - - tf-acc-test-6871308186836168313 - arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 - 2020-12-11T21:27:07Z - - - - 9c35f71a-2f1c-4ee4-a984-605169436dad - - -2020/12/11 23:27:43 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=208d1b7d4f3e143f50e9573a1a88afebfc1c9f338e18e763cbbcb1eae824fccb -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212743Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 761 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:43 GMT -X-Amzn-Requestid: 67ccc76d-e9e8-4273-8c4a-eecac3764dcd - - ------------------------------------------------------ -2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] - - - v1 - true - %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A - 2020-12-11T21:27:07Z - - - - 67ccc76d-e9e8-4273-8c4a-eecac3764dcd - - -2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 91 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d709407adedf41bb1ca354a407bf3e777d3ddbf04c847c5602aaad1e11a2dd43 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212744Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 585 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:44 GMT -X-Amzn-Requestid: 73c51b0b-2cbf-4482-a716-6b77a616e16c - - ------------------------------------------------------ -2020/12/11 23:27:44 [DEBUG] [aws-sdk-go] - - false - - - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - terraform-20201211212706934100000001 - - - - - 73c51b0b-2cbf-4482-a716-6b77a616e16c - - -2020/12/11 23:27:45 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:44 GMT -X-Amzn-Requestid: 74268bb6-ca74-4a00-a587-344086138e6f - - ------------------------------------------------------ -2020/12/11 23:27:45 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:45 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=704dfac39d543ccefd8f36eeba3b024211ff70dc0e1fbd483add5da16f96388b -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212745Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:46 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 42 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:45 GMT -X-Amzn-Requestid: 24dd7ac8-7158-4df2-a458-b8ae45d78153 - - ------------------------------------------------------ -2020/12/11 23:27:46 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} -2020/12/11 23:27:46 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:46 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:46 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:46 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:27:46 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:46 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8b39b50a6416e0f834e41ecf3d3e8863b28efeed3eae9e33b15ae147879d81e7 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212746Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:47 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:47 GMT -X-Amzn-Requestid: 291c50e7-c370-4c39-92dc-40fa479e5bca - - ------------------------------------------------------ -2020/12/11 23:27:47 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 291c50e7-c370-4c39-92dc-40fa479e5bca - - -2020/12/11 23:27:47 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:47 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=4245850b7edebf842ac092361d2f79377be80a393ae4a683c87fa6db4d73e009 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212747Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:48 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:47 GMT -X-Amzn-Requestid: 484cb5df-485c-423f-8ea0-b49eed2c429a - - ------------------------------------------------------ -2020/12/11 23:27:48 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 484cb5df-485c-423f-8ea0-b49eed2c429a - - -2020/12/11 23:27:48 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=ecefe3681f99fa7e47482deb5d811ebaa2c98a40c2662b70cc33ea189ee840fc -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212748Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:49 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:27:49 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 5494bceb-c0a6-4e11-9eba-ad63cecf992c - - ------------------------------------------------------ -2020/12/11 23:27:49 [DEBUG] [aws-sdk-go] - - 5494bceb-c0a6-4e11-9eba-ad63cecf992c - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:51 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:27:51 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:51 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=507ee62afa602979da94387b88326ba1a6b867a86355b0abc1bf3273ca46ae99 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212751Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:51 GMT -X-Amzn-Requestid: e5708fa7-cadd-4913-8af4-f31e9fdb79b8 - - ------------------------------------------------------ -2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - e5708fa7-cadd-4913-8af4-f31e9fdb79b8 - - -2020/12/11 23:27:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:52 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1d33961d82b59bb4ccc8937257819134b9df0f22c3f41748e2cc63b2ac3f4197 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212752Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:52 GMT -X-Amzn-Requestid: 2b49222a-1851-4f59-8145-2ef3d88818da - - ------------------------------------------------------ -2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 2b49222a-1851-4f59-8145-2ef3d88818da - - -2020/12/11 23:27:52 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=eb8e1d9b985fcdf9e47f1ef5e529ce81b2a77688eb09f61215eddebfba187e44 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212752Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:53 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:27:53 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 3cec902e-1804-421a-8792-1ab389032802 - - ------------------------------------------------------ -2020/12/11 23:27:53 [DEBUG] [aws-sdk-go] - - 3cec902e-1804-421a-8792-1ab389032802 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:53 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=08263d2555b9edc046e8e5b2dc5828dc1fd3d1426b0578b51041a56a35b4af3d -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212753Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:54 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:54 GMT -X-Amzn-Requestid: e28e79c6-fe4c-44c7-8320-03d4c122cdd4 - - ------------------------------------------------------ -2020/12/11 23:27:54 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:27:54 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=ab32f81999ae1912937d4e0a23744c10729a08d35c1f09d92cabf944b8a7fd78 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212754Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:27:56 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 42 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:27:55 GMT -X-Amzn-Requestid: d39eff12-8062-4f9c-a306-726b7d110922 - - ------------------------------------------------------ -2020/12/11 23:27:56 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} -2020/12/11 23:27:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:56 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:57 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:27:57 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:57 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a29f6daa126a08e3d2805e476576077e5f94e1ec66ac7aedcb2eeb1d5f9ccab4 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212757Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:57 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:57 GMT -X-Amzn-Requestid: fe5e8122-34e6-43d5-a0ed-705db6f79399 - - ------------------------------------------------------ -2020/12/11 23:27:57 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - fe5e8122-34e6-43d5-a0ed-705db6f79399 - - -2020/12/11 23:27:57 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:27:57 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a29f6daa126a08e3d2805e476576077e5f94e1ec66ac7aedcb2eeb1d5f9ccab4 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212757Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:27:58 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:58 GMT -X-Amzn-Requestid: b08e10e8-2426-4da6-a466-d0d525ade895 - - ------------------------------------------------------ -2020/12/11 23:27:58 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - b08e10e8-2426-4da6-a466-d0d525ade895 - - -2020/12/11 23:27:58 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=cb3de6df811909ce5831ab5236d09a3c760b7bf169404012339a5495613a3c22 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212758Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:27:59 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 9ae295d0-2664-4c27-a420-34a9df4e5a41 - - ------------------------------------------------------ -2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] - - 9ae295d0-2664-4c27-a420-34a9df4e5a41 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:27:59 [DEBUG] Reading Partition. -2020/12/11 23:27:59 [DEBUG] Setting AWS Partition to aws. -2020/12/11 23:27:59 [DEBUG] Setting AWS URL Suffix to amazonaws.com. -2020/12/11 23:27:59 [DEBUG] Getting IAM Policy: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" -} -2020/12/11 23:27:59 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:27:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 127 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=baec0fb5810baf197a8eb1f2d078933dbfb7bba2cee2b002e5a4efb40269c379 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212759Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:27:59 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 74 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=01680373eb8294603f9dded566cece4afde68670df4427c85fc491ea9cd33ba2 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212759Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 875 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:59 GMT -X-Amzn-Requestid: faca5c77-bef2-4c66-8535-020aa67f1193 - - ------------------------------------------------------ -2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] - - - / - %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D - 3600 - AROAX5UOQS55YJ6LR4IKB - - tf-acc-test-6871308186836168313 - arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 - 2020-12-11T21:27:07Z - - - - faca5c77-bef2-4c66-8535-020aa67f1193 - - -2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=07fe7a93b5dd892ab15002f66d7bf8ae8b90c72e073e1a4869f43dea02ddb0b5 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212800Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 795 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:27:59 GMT -X-Amzn-Requestid: 01d247fd-46c0-478b-b6bb-415843458327 - - ------------------------------------------------------ -2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] - - - 0 - / - 2020-12-11T21:27:07Z - v1 - ANPAX5UOQS552PCJGB7JJ - true - terraform-20201211212706934100000001 - 1 - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - 2020-12-11T21:27:07Z - - - - 01d247fd-46c0-478b-b6bb-415843458327 - - -2020/12/11 23:28:00 [DEBUG] Getting IAM Policy Version: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", - VersionId: "v1" -} -2020/12/11 23:28:00 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:28:00 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 147 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a6bd3378b9e64f6c22fe2ccaffbf4df1d858690b6be61e6248c2312e36066970 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212800Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 ------------------------------------------------------ -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 761 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:00 GMT -X-Amzn-Requestid: 8f2e8d72-fb78-4e33-88d4-8cadc0faccec - - ------------------------------------------------------ -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] - - - v1 - true - %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A - 2020-12-11T21:27:07Z - - - - 8f2e8d72-fb78-4e33-88d4-8cadc0faccec - - -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 91 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=75f1576935ddaf8ebb37175c1c8339c14956deed2c5f5655eeb6b4b57527f58a -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212801Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:00 GMT -X-Amzn-Requestid: e9a023ce-0a6f-4b7e-a0a6-00a7a7d3a3f6 - - ------------------------------------------------------ -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=7c02802f3c9a420f0254f8d8e7c9c3c866ca5ceca7edddb7f78a158a9cb93a25 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212801Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 585 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:00 GMT -X-Amzn-Requestid: c7fe5d46-f74a-4b3f-b7c9-c0c7b7bab569 - - ------------------------------------------------------ -2020/12/11 23:28:01 [DEBUG] [aws-sdk-go] - - false - - - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - terraform-20201211212706934100000001 - - - - - c7fe5d46-f74a-4b3f-b7c9-c0c7b7bab569 - - -2020/12/11 23:28:02 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 42 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:02 GMT -X-Amzn-Requestid: 8f46f39a-4d0c-413c-ad49-5ff9fce2c1c9 - - ------------------------------------------------------ -2020/12/11 23:28:02 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1"}]} -2020/12/11 23:28:02 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:02 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:02 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:02 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:02 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:02 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2659477ed29f0c159fb05e0bb28f8bebeff6d88fd68851c6d4524878ba0fc8fa -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212802Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:03 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:02 GMT -X-Amzn-Requestid: 2b6f603d-b2ef-424b-bb01-e565744a0956 - - ------------------------------------------------------ -2020/12/11 23:28:03 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 2b6f603d-b2ef-424b-bb01-e565744a0956 - - -2020/12/11 23:28:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:03 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b3357ac38a83df5d787d791ea7b4f3d80394a02cdafcc49bca2584e7db792920 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212803Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:03 GMT -X-Amzn-Requestid: 7a1ddaa1-8d95-4aad-ae56-153f0fdbae6b - - ------------------------------------------------------ -2020/12/11 23:28:04 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 7a1ddaa1-8d95-4aad-ae56-153f0fdbae6b - - -2020/12/11 23:28:04 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7fa4064e6811613f070c4d6752661ce9e7238b45b22e2fc0e0a1283df7dc6851 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212804Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:05 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:04 GMT -Server: AmazonEC2 -X-Amzn-Requestid: bb98c0b6-7535-4d0d-a369-ae589fdc86cc - - ------------------------------------------------------ -2020/12/11 23:28:05 [DEBUG] [aws-sdk-go] - - bb98c0b6-7535-4d0d-a369-ae589fdc86cc - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:05 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:05 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:05 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=831db13638052e2883ebfdc25b93f02eafe3db84c7cae4a5933a032edb233f3e -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212805Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:06 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:05 GMT -X-Amzn-Requestid: 05a50ece-c52e-404d-9b45-19c75b6b8f57 - - ------------------------------------------------------ -2020/12/11 23:28:06 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 05a50ece-c52e-404d-9b45-19c75b6b8f57 - - -2020/12/11 23:28:06 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:06 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a2ab2529dc9dbf7c24c6b632d72f3442434e7c834d72eb9edc4512eb4171dfc4 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212806Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:07 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:06 GMT -X-Amzn-Requestid: 232bd1ec-49d7-458c-bdfe-9db628d32d82 - - ------------------------------------------------------ -2020/12/11 23:28:07 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 232bd1ec-49d7-458c-bdfe-9db628d32d82 - - -2020/12/11 23:28:07 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2a2af4ae6ef074eb3e88b24aba9ede938120b9a4f915a90ca600657549b6d06d -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212807Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:08 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:08 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 763d913e-f330-4f9c-928d-3c86f6227e83 - - ------------------------------------------------------ -2020/12/11 23:28:08 [DEBUG] [aws-sdk-go] - - 763d913e-f330-4f9c-928d-3c86f6227e83 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:08 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/AddTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 184 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=a738146731c915c7efe70b8b7bc71b64f3d357b1bb0fec9d30b8f1f7bbeaf309 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212808Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.AddTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","Tags":[{"Key":"key2","Value":"value2"},{"Key":"key1","Value":"value1updated"}]} ------------------------------------------------------ -2020/12/11 23:28:09 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/AddTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 81 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:09 GMT -X-Amzn-Requestid: 101452fe-e278-4ce2-afb1-a65d382c4a0d - - ------------------------------------------------------ -2020/12/11 23:28:09 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key2","Value":"value2"},{"Key":"key1","Value":"value1updated"}]} -2020/12/11 23:28:09 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=6424f49078eec78b15ee3f0c7899ba3466543fb9a6426ef1fea5e5c10ed5f520 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212809Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:10 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:10 GMT -X-Amzn-Requestid: ac745556-49cc-42b6-8a62-06d5649ef7b9 - - ------------------------------------------------------ -2020/12/11 23:28:10 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:10 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=52534273892cb894c38b994df2ac8ddfb84754ab1b9cea5cc9f6e9884af261a9 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212810Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:12 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 81 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:11 GMT -X-Amzn-Requestid: cc1cee9d-dc46-4215-a120-c7a3cf46813c - - ------------------------------------------------------ -2020/12/11 23:28:12 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1updated"},{"Key":"key2","Value":"value2"}]} -2020/12/11 23:28:12 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=553195df23ab36e601b6976f9b67329f3a317c48458464ff825bc007aaedbb1c -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212812Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:14 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:13 GMT -X-Amzn-Requestid: 5befcf7d-8efa-487c-a2dc-d475d6251033 - - ------------------------------------------------------ -2020/12/11 23:28:14 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:14 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:14 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:14 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:14 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:14 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:14 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bd769b8bb4a9e5b1367b6e6457f0853a85206ef9c6b70d402c08172012ce9ab5 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212814Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:15 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:15 GMT -X-Amzn-Requestid: c6adcb5f-f9c6-410c-aed1-dbe626da80fd - - ------------------------------------------------------ -2020/12/11 23:28:15 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - c6adcb5f-f9c6-410c-aed1-dbe626da80fd - - -2020/12/11 23:28:15 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:15 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e4fbc02c8754e54295dbf45b712101d50f0bcba36b901a58ddaf09210f4f5d9c -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212815Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:16 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:15 GMT -X-Amzn-Requestid: c6d16326-44b6-40b2-8bb9-035adc6707ca - - ------------------------------------------------------ -2020/12/11 23:28:16 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - c6d16326-44b6-40b2-8bb9-035adc6707ca - - -2020/12/11 23:28:16 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e63b58d3b9c652d42e6f3a997fcbadc573e0ba99d0717b047b73527bdb27c90e -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212816Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:17 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:17 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 88ed791c-ffa7-4cc0-a3d3-20ef65bab7a8 - - ------------------------------------------------------ -2020/12/11 23:28:17 [DEBUG] [aws-sdk-go] - - 88ed791c-ffa7-4cc0-a3d3-20ef65bab7a8 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:18 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:18 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:18 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:19 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:19 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:19 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=46f85e23e281d27f24c9462f4eb2f005a7a5bd069c0fae7440033ec39b2798ac -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212819Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:19 GMT -X-Amzn-Requestid: 71870be7-a269-4046-832a-1060a5480018 - - ------------------------------------------------------ -2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 71870be7-a269-4046-832a-1060a5480018 - - -2020/12/11 23:28:20 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:20 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0a30f429fe566a71391b47e8100875626ecf9e01c903609eaa222912e59e1b4a -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212820Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:19 GMT -X-Amzn-Requestid: d28ab121-6637-43a7-b89f-36e805645257 - - ------------------------------------------------------ -2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - d28ab121-6637-43a7-b89f-36e805645257 - - -2020/12/11 23:28:20 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7f634800ac1859750a0463e423797a0bade95f606a390cdeb45510fed76c7c4e -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212820Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:21 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 7eaae7aa-7547-4fdc-930b-c2db7f137abf - - ------------------------------------------------------ -2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] - - 7eaae7aa-7547-4fdc-930b-c2db7f137abf - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:21 [DEBUG] Reading Partition. -2020/12/11 23:28:21 [DEBUG] Setting AWS Partition to aws. -2020/12/11 23:28:21 [DEBUG] Setting AWS URL Suffix to amazonaws.com. -2020/12/11 23:28:21 [DEBUG] Getting IAM Policy: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" -} -2020/12/11 23:28:21 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:28:21 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:21 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:21 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 127 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0c17e1861a606a8ee0bf28591731971da85d78fc6ca17f7f0ee49b9574106bd6 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212821Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:21 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 74 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=796144dc7daaa77bd1ee808cbf1da1e9e7e201463743747b24f9359f39e71645 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212821Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 795 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:22 GMT -X-Amzn-Requestid: 4eadfd6e-cb9c-4d3e-84a2-77abccd69aa7 - - ------------------------------------------------------ -2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] - - - 0 - / - 2020-12-11T21:27:07Z - v1 - ANPAX5UOQS552PCJGB7JJ - true - terraform-20201211212706934100000001 - 1 - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - 2020-12-11T21:27:07Z - - - - 4eadfd6e-cb9c-4d3e-84a2-77abccd69aa7 - - -2020/12/11 23:28:22 [DEBUG] Getting IAM Policy Version: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", - VersionId: "v1" -} -2020/12/11 23:28:22 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 147 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=58a28b6eb7005ea902e4c9d7a90cf537f5fc52e5e864aa6832fc25d934854b0b -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212822Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 ------------------------------------------------------ -2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 875 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:22 GMT -X-Amzn-Requestid: 7526bddc-9337-4b49-9b22-cdd89f134799 - - ------------------------------------------------------ -2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] - - - / - %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D - 3600 - AROAX5UOQS55YJ6LR4IKB - - tf-acc-test-6871308186836168313 - arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 - 2020-12-11T21:27:07Z - - - - 7526bddc-9337-4b49-9b22-cdd89f134799 - - -2020/12/11 23:28:22 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=70bdcdde2484c41d39704254d883464975810d49d4e89edaba92a35aa50b3670 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212822Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 761 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:23 GMT -X-Amzn-Requestid: 4e034949-3e1d-4036-ae0c-30325da2ad9e - - ------------------------------------------------------ -2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] - - - v1 - true - %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A - 2020-12-11T21:27:07Z - - - - 4e034949-3e1d-4036-ae0c-30325da2ad9e - - -2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 91 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e84f848321b6c89cd86c33aeda4596409be7d79fb287409b384e4df55e5a209b -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212823Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:23 GMT -X-Amzn-Requestid: 95a5b3e6-fb59-4e6e-a48d-c4bea43af635 - - ------------------------------------------------------ -2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:23 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=dd828150a91949cc8ebddb85384d7db1ef789411bdb52454e6e0e2339b93fd7e -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212823Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 585 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:24 GMT -X-Amzn-Requestid: 4e73d2ce-5a46-4980-8988-04488917d54e - - ------------------------------------------------------ -2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] - - false - - - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - terraform-20201211212706934100000001 - - - - - 4e73d2ce-5a46-4980-8988-04488917d54e - - -2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 81 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:24 GMT -X-Amzn-Requestid: e22af580-42d6-44fe-9ce4-a1774bf407ce - - ------------------------------------------------------ -2020/12/11 23:28:24 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1updated"},{"Key":"key2","Value":"value2"}]} -2020/12/11 23:28:25 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:25 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:25 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:25 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:25 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:25 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=782008c20f504fe544decb478fc6153de401f73f04235f7d9a7372681186b8af -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212825Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:26 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:26 GMT -X-Amzn-Requestid: 57f47e22-05e7-48ef-a00c-80bde0db5806 - - ------------------------------------------------------ -2020/12/11 23:28:26 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 57f47e22-05e7-48ef-a00c-80bde0db5806 - - -2020/12/11 23:28:26 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:26 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=3f044fa6cb27d2612c0943351eb1d315466e8a5accd67090cc8d48a7c3d4efa4 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212826Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:27 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:26 GMT -X-Amzn-Requestid: a965d705-e59c-47e8-9296-94f0889148e5 - - ------------------------------------------------------ -2020/12/11 23:28:27 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - a965d705-e59c-47e8-9296-94f0889148e5 - - -2020/12/11 23:28:27 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7c93adadd68d3a480a2abcd03dc78d81375830d69341aeebb125e5216820819c -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212827Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:28 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:27 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 5236f6e0-2136-49fb-b9a6-ef8e2e8247dc - - ------------------------------------------------------ -2020/12/11 23:28:28 [DEBUG] [aws-sdk-go] - - 5236f6e0-2136-49fb-b9a6-ef8e2e8247dc - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:29 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:29 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:29 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:29 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:29 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:29 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d2e0465002abfc952882dee762831aad14e6aa3ae7231a5d394f59c65afe2d9a -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212829Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:30 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:30 GMT -X-Amzn-Requestid: de880ea6-903e-4df9-bc06-5ee6bdbdfaa2 - - ------------------------------------------------------ -2020/12/11 23:28:30 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - de880ea6-903e-4df9-bc06-5ee6bdbdfaa2 - - -2020/12/11 23:28:30 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:30 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=4f2463af578fd988f840c910bacb5121950509ff60db512898b5c2ca0a9287f2 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212830Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:31 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:30 GMT -X-Amzn-Requestid: b06f4806-eae9-46b2-acb1-ee389cc42365 - - ------------------------------------------------------ -2020/12/11 23:28:31 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - b06f4806-eae9-46b2-acb1-ee389cc42365 - - -2020/12/11 23:28:31 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1fea6de4f6540f186e6b2478e6a8b8b45e9f00f805815eb116ae67e5a866a7fc -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212831Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:32 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 09f0f401-3053-4e58-9d83-2bd20b59f704 - - ------------------------------------------------------ -2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] - - 09f0f401-3053-4e58-9d83-2bd20b59f704 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:33 [DEBUG] Reading Partition. -2020/12/11 23:28:33 [DEBUG] Setting AWS Partition to aws. -2020/12/11 23:28:33 [DEBUG] Setting AWS URL Suffix to amazonaws.com. -2020/12/11 23:28:33 [DEBUG] Getting IAM Policy: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" -} -2020/12/11 23:28:33 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:28:33 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:33 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:33 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 127 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0edc5b788950a712f4eee7cf88ac0030eef6fa53a16f2be3cfe18b86ce00a6a7 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212833Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:33 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 74 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=be16d7baf3f9da79fbd214674d8ec992a9b3099beb36f6445deea8f5032264db -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212833Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 795 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:34 GMT -X-Amzn-Requestid: 49b06c87-cac4-46b7-8abc-6d777c868751 - - ------------------------------------------------------ -2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] - - - 0 - / - 2020-12-11T21:27:07Z - v1 - ANPAX5UOQS552PCJGB7JJ - true - terraform-20201211212706934100000001 - 1 - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - 2020-12-11T21:27:07Z - - - - 49b06c87-cac4-46b7-8abc-6d777c868751 - - -2020/12/11 23:28:34 [DEBUG] Getting IAM Policy Version: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", - VersionId: "v1" -} -2020/12/11 23:28:34 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 147 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=fda938b5a8ade4513ddcd3dac5d8b762dde56812c255244aac69ed6c14aa37d5 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212834Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 ------------------------------------------------------ -2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 875 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:34 GMT -X-Amzn-Requestid: ff43588d-abb1-4967-af05-c2952d70af84 - - ------------------------------------------------------ -2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] - - - / - %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D - 3600 - AROAX5UOQS55YJ6LR4IKB - - tf-acc-test-6871308186836168313 - arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 - 2020-12-11T21:27:07Z - - - - ff43588d-abb1-4967-af05-c2952d70af84 - - -2020/12/11 23:28:34 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=eef819ae989e763b970b5cb38cab4cd942055f75fb202cf712a144c1c6bb871d -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212834Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 761 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:34 GMT -X-Amzn-Requestid: 085c1f3c-e973-4336-99e9-6b5a5c4dbd11 - - ------------------------------------------------------ -2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] - - - v1 - true - %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A - 2020-12-11T21:27:07Z - - - - 085c1f3c-e973-4336-99e9-6b5a5c4dbd11 - - -2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 91 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=9d4f5449c822cfd5947c7f3b63d754084a397e2375ee5fe57ab934998fa48dab -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212835Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:35 GMT -X-Amzn-Requestid: b8b018e7-8f48-41d8-9540-16c8bcdb17b0 - - ------------------------------------------------------ -2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:35 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=a42a40aa7783bb731c801d3917b165aaf7c0a5f68ef2de1762e4ff45f236fbbe -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212835Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 585 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:35 GMT -X-Amzn-Requestid: 5852d357-a858-4c1e-a493-4ea7adc78b6c - - ------------------------------------------------------ -2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] - - false - - - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - terraform-20201211212706934100000001 - - - - - 5852d357-a858-4c1e-a493-4ea7adc78b6c - - -2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 81 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:36 GMT -X-Amzn-Requestid: 1bfdae7b-83aa-46f1-a92f-1169cb0358d1 - - ------------------------------------------------------ -2020/12/11 23:28:36 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key1","Value":"value1updated"},{"Key":"key2","Value":"value2"}]} -2020/12/11 23:28:37 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:37 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:37 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:37 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:37 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:37 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8c08ea8a2c240c19547275878c0dd65ec3900612d855d2d7eba3805a04a30d81 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212837Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:38 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:38 GMT -X-Amzn-Requestid: 1fafe3fc-3d3a-42e5-b734-ae1aaf869318 - - ------------------------------------------------------ -2020/12/11 23:28:38 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 1fafe3fc-3d3a-42e5-b734-ae1aaf869318 - - -2020/12/11 23:28:38 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:38 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=caec6f8a77bd9a9240af90fec78716a279cee602b31be601cb63b4da52339779 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212838Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:39 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:38 GMT -X-Amzn-Requestid: 51acb55e-ef16-43ed-823f-c37e687214e2 - - ------------------------------------------------------ -2020/12/11 23:28:39 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 51acb55e-ef16-43ed-823f-c37e687214e2 - - -2020/12/11 23:28:39 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=196e295c2b9a9793b723f36b1b7cb7a495d5ec22f65b88b65e68d56f2c3a1bc6 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212839Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:40 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:39 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 38f9ec19-aab7-461f-835e-b15e9db942b8 - - ------------------------------------------------------ -2020/12/11 23:28:40 [DEBUG] [aws-sdk-go] - - 38f9ec19-aab7-461f-835e-b15e9db942b8 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:40 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:40 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:40 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bc1f20be3bb57d369e212670dcea446ef3f63239d3ae00179cd72ba57d4dd790 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212840Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:41 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:41 GMT -X-Amzn-Requestid: 9c0f70e4-3f15-4163-9868-57bd60e3e1ab - - ------------------------------------------------------ -2020/12/11 23:28:41 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 9c0f70e4-3f15-4163-9868-57bd60e3e1ab - - -2020/12/11 23:28:41 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:41 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c0b70e423669bc5b17e81659c87f28499a687b19203b0f6af9b0886b7aa8a946 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212841Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:42 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:41 GMT -X-Amzn-Requestid: f609ac76-eced-40ac-b2e4-d22ec882d6d7 - - ------------------------------------------------------ -2020/12/11 23:28:42 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - f609ac76-eced-40ac-b2e4-d22ec882d6d7 - - -2020/12/11 23:28:42 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=1df21b201ae8ccd4f5fcddfd7f5c891a43b531f09544278e841c91213f288f9b -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212842Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:43 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:42 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 46f33212-f336-42f2-b4ee-b6dcd328340f - - ------------------------------------------------------ -2020/12/11 23:28:43 [DEBUG] [aws-sdk-go] - - 46f33212-f336-42f2-b4ee-b6dcd328340f - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:43 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DeleteTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 123 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=9084be3f5cff6ea2335f27f48854d4e74a5538042ce763917bc790a30579ae3a -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212843Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DeleteTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","TagKeys":["key1"]} ------------------------------------------------------ -2020/12/11 23:28:44 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DeleteTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 2 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:44 GMT -X-Amzn-Requestid: b650d641-a648-4f89-a757-bb4ff544eaf4 - - ------------------------------------------------------ -2020/12/11 23:28:44 [DEBUG] [aws-sdk-go] {} -2020/12/11 23:28:44 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=dec619bc656adc1c69673d5ba87da554321330494161352478a8817390568388 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212844Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:45 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:45 GMT -X-Amzn-Requestid: 69386c40-9470-48ed-be74-f7e56bb8a1b9 - - ------------------------------------------------------ -2020/12/11 23:28:45 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:45 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=c5e041be44a13767437b3be3ebc38c197eef274de9cd21110220e4db6af86feb -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212845Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:47 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 42 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:46 GMT -X-Amzn-Requestid: e7125340-a347-408e-a95a-c4d6901942e3 - - ------------------------------------------------------ -2020/12/11 23:28:47 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key2","Value":"value2"}]} -2020/12/11 23:28:47 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=173f0ee2b820c4dc76052de6c31d322c3b6efc0fe33de0d5de26809a44a1cb85 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212847Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:48 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:47 GMT -X-Amzn-Requestid: 2579a1ad-7917-4609-b6f0-faab01d95224 - - ------------------------------------------------------ -2020/12/11 23:28:48 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:48 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:48 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:48 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:49 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:49 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:49 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=354d089a4f7428c09c87c00edf12dfab2df0dcaa5e6d53b47ea2d4e65351ea6b -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212849Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:49 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:49 GMT -X-Amzn-Requestid: dd7d8ee8-279b-482d-b5eb-a0171ea2d7c2 - - ------------------------------------------------------ -2020/12/11 23:28:49 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - dd7d8ee8-279b-482d-b5eb-a0171ea2d7c2 - - -2020/12/11 23:28:49 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:49 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=354d089a4f7428c09c87c00edf12dfab2df0dcaa5e6d53b47ea2d4e65351ea6b -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212849Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:50 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:50 GMT -X-Amzn-Requestid: 0d05048e-512e-40b2-ad4b-2fc9985dd085 - - ------------------------------------------------------ -2020/12/11 23:28:50 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 0d05048e-512e-40b2-ad4b-2fc9985dd085 - - -2020/12/11 23:28:50 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8c0c617b13f41435758a7a2fad9fc129065e79f042b870d8f8610f1c2ab108eb -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212850Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:51 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:51 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 94d8c33a-8b68-4a0e-a490-6cde87877852 - - ------------------------------------------------------ -2020/12/11 23:28:51 [DEBUG] [aws-sdk-go] - - 94d8c33a-8b68-4a0e-a490-6cde87877852 - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:52 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:52 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:52 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:52 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:52 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c6433ec52f68e37345d051c97e4060b7103246c01bf767aad49fcef250e87f15 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212852Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:53 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:53 GMT -X-Amzn-Requestid: 4acc3595-c3d7-4fce-912e-fe01c455c22b - - ------------------------------------------------------ -2020/12/11 23:28:53 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 4acc3595-c3d7-4fce-912e-fe01c455c22b - - -2020/12/11 23:28:53 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:53 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=2388e1af1c949eb81a8ec42c77534739de3f38e6fbfd44bc2ae76ad8eb6badfe -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212853Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:28:54 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:54 GMT -X-Amzn-Requestid: 1c4ce61a-f3aa-4ea6-8b1f-21069f5d094b - - ------------------------------------------------------ -2020/12/11 23:28:54 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 1c4ce61a-f3aa-4ea6-8b1f-21069f5d094b - - -2020/12/11 23:28:54 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=8c3e6052601bd95e026ece0f9c2ffa29935f8b99042608eb3eb1b9c39a196e5b -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212854Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:28:54 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 8d67b3d2-aed7-430e-9b4a-80c2da2e432b - - ------------------------------------------------------ -2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] - - 8d67b3d2-aed7-430e-9b4a-80c2da2e432b - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:28:55 [DEBUG] Reading Partition. -2020/12/11 23:28:55 [DEBUG] Setting AWS Partition to aws. -2020/12/11 23:28:55 [DEBUG] Setting AWS URL Suffix to amazonaws.com. -2020/12/11 23:28:55 [DEBUG] Getting IAM Policy: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001" -} -2020/12/11 23:28:55 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:28:55 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 127 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b1388a61621522cfaf1bf7e65a2608c789989fa37bc73f8fcb913a6843ca95da -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212855Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:55 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:55 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:55 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 74 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=da60467de7ac618355981a31e626893c05213d888ecce2b75a81e235a2cd2320 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212855Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 795 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:56 GMT -X-Amzn-Requestid: d057c9b8-56fa-42df-a9b6-948dc5932bed - - ------------------------------------------------------ -2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] - - - 0 - / - 2020-12-11T21:27:07Z - v1 - ANPAX5UOQS552PCJGB7JJ - true - terraform-20201211212706934100000001 - 1 - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - 2020-12-11T21:27:07Z - - - - d057c9b8-56fa-42df-a9b6-948dc5932bed - - -2020/12/11 23:28:56 [DEBUG] Getting IAM Policy Version: { - PolicyArn: "arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001", - VersionId: "v1" -} -2020/12/11 23:28:56 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Request iam/GetPolicyVersion Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 147 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=7bc382dccc9d99d2c5dcc09df5f54f45fc471a0165cd530fd6fe29834d2dee1b -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212856Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetPolicyVersion&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08&VersionId=v1 ------------------------------------------------------ -2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 875 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:56 GMT -X-Amzn-Requestid: a900f925-738d-41ca-bc57-e8bc48fe4206 - - ------------------------------------------------------ -2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] - - - / - %7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%22sagemaker.amazonaws.com%22%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D - 3600 - AROAX5UOQS55YJ6LR4IKB - - tf-acc-test-6871308186836168313 - arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313 - 2020-12-11T21:27:07Z - - - - a900f925-738d-41ca-bc57-e8bc48fe4206 - - -2020/12/11 23:28:56 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=a3a665c581a1a7f335252d4203dbb41f030bafee56b5ef4badaa949d56a595e6 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212856Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Response iam/GetPolicyVersion Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 761 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:56 GMT -X-Amzn-Requestid: b393295f-18c6-4a04-a354-13126b71fdd1 - - ------------------------------------------------------ -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] - - - v1 - true - %7B%0A%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%22Statement%22%3A%20%5B%7B%0A%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%22Resource%22%3A%20%22%2A%22%2C%0A%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%5D%0A%20%20%7D%5D%0A%7D%0A - 2020-12-11T21:27:07Z - - - - b393295f-18c6-4a04-a354-13126b71fdd1 - - -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListAttachedRolePolicies Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 91 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=bd0879e53558270a7d4ede6f551a5d2a3d01458ea2710bf2e9ad08e6b910e8be -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212857Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListAttachedRolePolicies&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 563 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:57 GMT -X-Amzn-Requestid: d6407abe-520f-4ab7-8a84-62d606a08923 - - ------------------------------------------------------ -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] {"CreationTime":1.607722029933E9,"EventTimeFeatureName":"tf-acc-test-6871308186836168313","FeatureDefinitions":[{"FeatureName":"tf-acc-test-6871308186836168313","FeatureType":"String"}],"FeatureGroupArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313","FeatureGroupName":"tf-acc-test-6871308186836168313","FeatureGroupStatus":"Created","OnlineStoreConfig":{"EnableOnlineStore":true},"RecordIdentifierFeatureName":"tf-acc-test-6871308186836168313","RoleArn":"arn:aws:iam::544685987707:role/tf-acc-test-6871308186836168313"} -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/ListTags Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 104 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=ff7760a562b07a5e890fab0a4f53aea7a7662d3202ddd505705ec78ca3ccd8f8 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212857Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.ListTags -Accept-Encoding: gzip - -{"ResourceArn":"arn:aws:sagemaker:us-west-2:544685987707:feature-group/tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListAttachedRolePolicies Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 585 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:57 GMT -X-Amzn-Requestid: b4af00f2-a8e4-4614-8cb4-36c1febef1e3 - - ------------------------------------------------------ -2020/12/11 23:28:57 [DEBUG] [aws-sdk-go] - - false - - - arn:aws:iam::544685987707:policy/terraform-20201211212706934100000001 - terraform-20201211212706934100000001 - - - - - b4af00f2-a8e4-4614-8cb4-36c1febef1e3 - - -2020/12/11 23:28:58 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/ListTags Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 42 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:28:58 GMT -X-Amzn-Requestid: d29fbcce-e206-4705-95c8-b9510443a70a - - ------------------------------------------------------ -2020/12/11 23:28:58 [DEBUG] [aws-sdk-go] {"Tags":[{"Key":"key2","Value":"value2"}]} -2020/12/11 23:28:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:59 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:28:59 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:28:59 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:28:59 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=a61ee73c4bca449cdaed7f21d03224811f3fcff145004a8156898cab18f427f5 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212859Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:29:00 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:28:59 GMT -X-Amzn-Requestid: 6e210be0-5a23-439f-889a-dad901e11f51 - - ------------------------------------------------------ -2020/12/11 23:29:00 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 6e210be0-5a23-439f-889a-dad901e11f51 - - -2020/12/11 23:29:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:29:00 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=afdc4dd7869177fc69ab52cfb473b4dabb5f290e312ee39031294ffbf724b9dd -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212900Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:29:01 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:00 GMT -X-Amzn-Requestid: 5ecc1f0e-076e-490b-93cd-4dac4b0c43c2 - - ------------------------------------------------------ -2020/12/11 23:29:01 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - 5ecc1f0e-076e-490b-93cd-4dac4b0c43c2 - - -2020/12/11 23:29:01 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=777112ab013e735849f76d2c858e3ba01d2263b0511f9e715ece7535f51b04f5 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212901Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:29:02 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:29:01 GMT -Server: AmazonEC2 -X-Amzn-Requestid: 3767ed37-ef55-499b-9835-81f080f7b21d - - ------------------------------------------------------ -2020/12/11 23:29:02 [DEBUG] [aws-sdk-go] - - 3767ed37-ef55-499b-9835-81f080f7b21d - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:29:03 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:29:03 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:29:03 [WARN] Truncating attribute path of 0 diagnostics for TypeSet -2020/12/11 23:29:03 [INFO] AWS Auth provider used: "EnvProvider" -2020/12/11 23:29:03 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:29:03 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=0496458bbe2ca993e786b33dd767f3c84d0af66889c5ce4f072c446cee6c6f7c -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212903Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:29:04 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:03 GMT -X-Amzn-Requestid: d7eef57f-9eaa-4604-803f-5af121bd6234 - - ------------------------------------------------------ -2020/12/11 23:29:04 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - d7eef57f-9eaa-4604-803f-5af121bd6234 - - -2020/12/11 23:29:04 [DEBUG] Trying to get account information via sts:GetCallerIdentity -2020/12/11 23:29:04 [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.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 43 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/sts/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=b5234afb41f4d0bcc4b356bdb452ff8096c9c231cb8d004f64e9dc1ca26f556e -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212904Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=GetCallerIdentity&Version=2011-06-15 ------------------------------------------------------ -2020/12/11 23:29:05 [DEBUG] [aws-sdk-go] DEBUG: Response sts/GetCallerIdentity Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 431 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:04 GMT -X-Amzn-Requestid: f3db58df-7288-4a8d-b695-bbc640939ee4 - - ------------------------------------------------------ -2020/12/11 23:29:05 [DEBUG] [aws-sdk-go] - - arn:aws:sts::544685987707:assumed-role/haha/tf-session - AROAX5UOQS553LGJ5QU5N:tf-session - 544685987707 - - - f3db58df-7288-4a8d-b695-bbc640939ee4 - - -2020/12/11 23:29:05 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: ec2.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 87 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=c7243a25d89873a6c75f5cd14036f1f050891317094d36c191dbbf99cab23571 -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212905Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15 ------------------------------------------------------ -2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 540 -Content-Type: text/xml;charset=UTF-8 -Date: Fri, 11 Dec 2020 21:29:05 GMT -Server: AmazonEC2 -X-Amzn-Requestid: a5b87ca7-684d-4d0e-a7c7-1698b199820e - - ------------------------------------------------------ -2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] - - a5b87ca7-684d-4d0e-a7c7-1698b199820e - - - supported-platforms - - - VPC - - - - - -2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] DEBUG: Request iam/DetachRolePolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 175 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=914db5a25e7dabd7d5e2a60d7c1edcfdfd14c5dea505ef491e87052621ae2aad -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212906Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DetachRolePolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:29:06 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DeleteFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=829665c87b98f01079ebffdb7f7b6f1b622a51717d59796f6cfb67b6480f84d2 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212906Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DeleteFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/DetachRolePolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 212 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:06 GMT -X-Amzn-Requestid: 9ab0993a-e531-4aee-b9a9-a6d69a6bc31a - - ------------------------------------------------------ -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] - - 9ab0993a-e531-4aee-b9a9-a6d69a6bc31a - - -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListPolicyVersions Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 136 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e3880cd99e14dc28512942eaf6d99862fe6169a52e90b13de4d2ec757f8f22ce -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212907Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListPolicyVersions&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DeleteFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 0 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:29:06 GMT -X-Amzn-Requestid: 8bcdc8ff-1729-4b71-96bf-d667d5fb2a09 - - ------------------------------------------------------ -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] -2020/12/11 23:29:07 [DEBUG] Waiting for state to become: [] -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=b80c33e8afdc613f875d2e76cf1530fddb996f5f5377d0a6001df9a7f9bd24b0 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212907Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListPolicyVersions Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 512 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:07 GMT -X-Amzn-Requestid: 990f7ad7-a32b-4c5c-9533-6ded88fbe41f - - ------------------------------------------------------ -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] - - false - - - v1 - true - 2020-12-11T21:27:07Z - - - - - 990f7ad7-a32b-4c5c-9533-6ded88fbe41f - - -2020/12/11 23:29:07 [DEBUG] [aws-sdk-go] DEBUG: Request iam/DeletePolicy Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 130 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=e5397a99390398da49fc9adff60cee8be70947634589ff237622966a07317e9c -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212907Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DeletePolicy&PolicyArn=arn%3Aaws%3Aiam%3A%3A544685987707%3Apolicy%2Fterraform-20201211212706934100000001&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 400 Bad Request -Connection: close -Content-Length: 146 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:29:08 GMT -X-Amzn-Requestid: f5e7b087-953b-4af5-bf6b-e1f6711614da - - ------------------------------------------------------ -2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] {"__type":"ResourceNotFound","Message":"Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313"} -2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sagemaker/DescribeFeatureGroup failed, attempt 0/25, error ResourceNotFound: Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313 -2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Request iam/ListInstanceProfilesForRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 94 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=d177cde2bc9f6a90c623739569a291b304ecd5f4d409e3b6e48ea9a7a74057af -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212908Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=ListInstanceProfilesForRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] DEBUG: Response iam/DeletePolicy Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 204 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:08 GMT -X-Amzn-Requestid: c37c3c57-b874-4a17-866c-c8569beb785c - - ------------------------------------------------------ -2020/12/11 23:29:08 [DEBUG] [aws-sdk-go] - - c37c3c57-b874-4a17-866c-c8569beb785c - - -2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Response iam/ListInstanceProfilesForRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 372 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:09 GMT -X-Amzn-Requestid: 96385b86-aad9-44aa-9b27-0ae4ed7c545c - - ------------------------------------------------------ -2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] - - false - - - - 96385b86-aad9-44aa-9b27-0ae4ed7c545c - - -2020/12/11 23:29:10 [DEBUG] Waiting for state to become: [success] -2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Request iam/DeleteRole Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: iam.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 77 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-east-1/iam/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=cb03d003a13fcdaeedf4b2ff266555a9cdfac2b4bb6bff84e78eaaa7aa19946e -Content-Type: application/x-www-form-urlencoded; charset=utf-8 -X-Amz-Date: 20201211T212910Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -Accept-Encoding: gzip - -Action=DeleteRole&RoleName=tf-acc-test-6871308186836168313&Version=2010-05-08 ------------------------------------------------------ -2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Response iam/DeleteRole Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 200 OK -Connection: close -Content-Length: 200 -Content-Type: text/xml -Date: Fri, 11 Dec 2020 21:29:10 GMT -X-Amzn-Requestid: 4ccb151f-7be8-458c-8828-b5025b6ba255 - - ------------------------------------------------------ -2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] - - 4ccb151f-7be8-458c-8828-b5025b6ba255 - - -2020/12/11 23:29:10 [DEBUG] [aws-sdk-go] DEBUG: Request sagemaker/DescribeFeatureGroup Details: ----[ REQUEST POST-SIGN ]----------------------------- -POST / HTTP/1.1 -Host: api.sagemaker.us-west-2.amazonaws.com -User-Agent: aws-sdk-go/1.36.0 (go1.15.5; darwin; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.29 (+https://www.terraform.io) -Content-Length: 54 -Authorization: AWS4-HMAC-SHA256 Credential=ASIAX5UOQS557HRMHM6H/20201211/us-west-2/sagemaker/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-security-token;x-amz-target, Signature=2e5b0f05e656f1a5f1fdfb340b0a0a5393e023403d8ef9dc812d0b0ba5e1fc21 -Content-Type: application/x-amz-json-1.1 -X-Amz-Date: 20201211T212910Z -X-Amz-Security-Token: FwoGZXIvYXdzEA8aDHtntdlKAWIf5x7VSCKuAef0KAOxX0nARePMxeRwBnB7CcwRhcRB2CljDh+KupRTyqGbOFZPpMA+zYHJiY1rEp7fodIur0epZdrW9zuxB8j/lwDdPdLBL9t+mtF9kPCmhjrs6jnmMfEHWkoqm/88cG+6RRBtmG6Lrotwbt7nPmlz6JwRhGFxLytk2p/La/11OnB3aZS+KMlHiRBlFZWXauEupDIuG44a2IHxU5sUBwSbNxGgFSpJNZCXYMQhDSjpxM/+BTItBmcpN/0eBgB3Bc3soh7qjHGYwpDe8hzgyqEMviFZ5ZnqU0u6Fs64V+Og45cO -X-Amz-Target: SageMaker.DescribeFeatureGroup -Accept-Encoding: gzip - -{"FeatureGroupName":"tf-acc-test-6871308186836168313"} ------------------------------------------------------ -2020/12/11 23:29:11 [DEBUG] [aws-sdk-go] DEBUG: Response sagemaker/DescribeFeatureGroup Details: ----[ RESPONSE ]-------------------------------------- -HTTP/1.1 400 Bad Request -Connection: close -Content-Length: 146 -Content-Type: application/x-amz-json-1.1 -Date: Fri, 11 Dec 2020 21:29:11 GMT -X-Amzn-Requestid: d5882979-dc72-4354-b585-ca77e9e36b27 - - ------------------------------------------------------ -2020/12/11 23:29:11 [DEBUG] [aws-sdk-go] {"__type":"ResourceNotFound","Message":"Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313"} -2020/12/11 23:29:11 [DEBUG] [aws-sdk-go] DEBUG: Validate Response sagemaker/DescribeFeatureGroup failed, attempt 0/25, error ResourceNotFound: Resource Not Found: Amazon SageMaker can't find a FeatureGroup with name tf-acc-test-6871308186836168313 ---- PASS: TestAccAWSSagemakerFeatureGroup_tags (140.86s) -PASS -ok github.com/terraform-providers/terraform-provider-aws/aws 143.036s From 16cdfde2afb1c828bdc43ae8f2de41271e19d6d3 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Mon, 8 Mar 2021 17:54:51 -0500 Subject: [PATCH 25/41] tests/resource/cognito_user_pool_client: Add ErrorCheck for GovCloud --- aws/resource_aws_cognito_user_pool_client_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index c4af6d01f17..5f153e8b181 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -390,6 +390,7 @@ func TestAccAWSCognitoUserPoolClient_analyticsConfig(t *testing.T) { testAccPreCheckAWSCognitoIdentityProvider(t) testAccPreCheckAWSPinpointApp(t) }, + ErrorCheck: testAccErrorCheckSkipCognito(t), Providers: testAccProviders, CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, Steps: []resource.TestStep{ @@ -442,6 +443,7 @@ func TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn(t *testing.T) { testAccPreCheckAWSCognitoIdentityProvider(t) testAccPreCheckAWSPinpointApp(t) }, + ErrorCheck: testAccErrorCheckSkipCognito(t), Providers: testAccProviders, CheckDestroy: testAccCheckAWSCognitoUserPoolClientDestroy, Steps: []resource.TestStep{ @@ -511,6 +513,12 @@ func TestAccAWSCognitoUserPoolClient_disappears_userPool(t *testing.T) { }) } +func testAccErrorCheckSkipCognito(t *testing.T) resource.ErrorCheckFunc { + return testAccErrorCheckSkipMessagesContaining(t, + "The integration with Pinpoint is not supported", + ) +} + func testAccAWSCognitoUserPoolClientImportStateIDFunc(resourceName string) resource.ImportStateIdFunc { return func(s *terraform.State) (string, error) { rs, ok := s.RootModule().Resources[resourceName] From 0c7dd90f7afe0c8a2fb03015860a1e955d7528c0 Mon Sep 17 00:00:00 2001 From: John Gallagher Date: Mon, 14 Dec 2020 12:40:08 +0000 Subject: [PATCH 26/41] Add configuration set attribute --- aws/resource_aws_cognito_user_pool.go | 12 ++++++++++++ aws/resource_aws_cognito_user_pool_test.go | 16 ++++++++++++---- aws/structure.go | 4 ++++ 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool.go b/aws/resource_aws_cognito_user_pool.go index 341ee3043f1..4957416ef0f 100644 --- a/aws/resource_aws_cognito_user_pool.go +++ b/aws/resource_aws_cognito_user_pool.go @@ -155,6 +155,10 @@ func resourceAwsCognitoUserPool() *schema.Resource { cognitoidentityprovider.EmailSendingAccountTypeDeveloper, }, false), }, + "configuration_set": { + Type: schema.TypeString, + Optional: true, + }, }, }, }, @@ -622,6 +626,10 @@ func resourceAwsCognitoUserPoolCreate(d *schema.ResourceData, meta interface{}) emailConfigurationType.EmailSendingAccount = aws.String(v.(string)) } + if v, ok := config["configuration_set"]; ok && v.(string) != "" { + emailConfigurationType.ConfigurationSet = aws.String(v.(string)) + } + params.EmailConfiguration = emailConfigurationType } } @@ -1076,6 +1084,10 @@ func resourceAwsCognitoUserPoolUpdate(d *schema.ResourceData, meta interface{}) emailConfigurationType.From = aws.String(v.(string)) } + if v, ok := config["configuration_set"]; ok && v.(string) != "" { + emailConfigurationType.ConfigurationSet = aws.String(v.(string)) + } + params.EmailConfiguration = emailConfigurationType } } diff --git a/aws/resource_aws_cognito_user_pool_test.go b/aws/resource_aws_cognito_user_pool_test.go index 4f4b941ff8b..12438b3db86 100644 --- a/aws/resource_aws_cognito_user_pool_test.go +++ b/aws/resource_aws_cognito_user_pool_test.go @@ -728,18 +728,24 @@ func TestAccAWSCognitoUserPool_withEmailConfiguration(t *testing.T) { t.Skip("'TEST_AWS_SES_VERIFIED_EMAIL_ARN' not set, skipping test.") } + configurationSet, ok := os.LookupEnv("TEST_AWS_SES_CONFIGURATION_SET") + if !ok { + t.Skip("'TEST_AWS_SES_CONFIGURATION_SET' not set, skipping test.") + } + resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, Providers: testAccProviders, CheckDestroy: testAccCheckAWSCognitoUserPoolDestroy, Steps: []resource.TestStep{ { - Config: testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, "", "", "", "COGNITO_DEFAULT"), + Config: testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, "", "", "", "COGNITO_DEFAULT", ""), Check: resource.ComposeAggregateTestCheckFunc( resource.TestCheckResourceAttr(resourceName, "email_configuration.#", "1"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.reply_to_email_address", ""), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.email_sending_account", "COGNITO_DEFAULT"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.from_email_address", ""), + resource.TestCheckResourceAttr(resourceName, "email_configuration.0.configuration_set", ""), ), }, { @@ -748,13 +754,14 @@ func TestAccAWSCognitoUserPool_withEmailConfiguration(t *testing.T) { ImportStateVerify: true, }, { - Config: testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, replyTo, sourceARN, "John Smith ", "DEVELOPER"), + Config: testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, replyTo, sourceARN, "John Smith ", "DEVELOPER", configurationSet), Check: resource.ComposeAggregateTestCheckFunc( resource.TestCheckResourceAttr(resourceName, "email_configuration.#", "1"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.reply_to_email_address", replyTo), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.email_sending_account", "DEVELOPER"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.source_arn", sourceARN), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.from_email_address", "John Smith "), + resource.TestCheckResourceAttr(resourceName, "email_configuration.0.configuration_set", configurationSet), ), }, }, @@ -1594,7 +1601,7 @@ resource "aws_cognito_user_pool" "test" { `, rName, tagKey1, tagValue1, tagKey2, tagValue2) } -func testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, email, arn, from, account string) string { +func testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, email, arn, from, account, configuration_set string) string { return fmt.Sprintf(` resource "aws_cognito_user_pool" "test" { name = %[1]q @@ -1604,9 +1611,10 @@ resource "aws_cognito_user_pool" "test" { source_arn = %[3]q from_email_address = %[4]q email_sending_account = %[5]q + configuration_set = %[6]q } } -`, rName, email, arn, from, account) +`, rName, email, arn, from, account, configuration_set) } func testAccAWSCognitoUserPoolConfig_withAliasAttributes(rName string) string { diff --git a/aws/structure.go b/aws/structure.go index dca6f400f6d..712ef92b2f1 100644 --- a/aws/structure.go +++ b/aws/structure.go @@ -2370,6 +2370,10 @@ func flattenCognitoUserPoolEmailConfiguration(s *cognitoidentityprovider.EmailCo m["email_sending_account"] = *s.EmailSendingAccount } + if s.ConfigurationSet != nil { + m["configuration_set"] = *s.ConfigurationSet + } + if len(m) > 0 { return []map[string]interface{}{m} } From 149dde9d7a79a88bc86c3fd751733eb399e3b363 Mon Sep 17 00:00:00 2001 From: John Gallagher Date: Mon, 14 Dec 2020 12:48:32 +0000 Subject: [PATCH 27/41] Add documentation for configuration set --- website/docs/r/cognito_user_pool.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/r/cognito_user_pool.markdown b/website/docs/r/cognito_user_pool.markdown index db80695b8ec..1dd5251136b 100644 --- a/website/docs/r/cognito_user_pool.markdown +++ b/website/docs/r/cognito_user_pool.markdown @@ -112,6 +112,7 @@ The following arguments are supported: * `source_arn` (Optional) - The ARN of the SES verified email identity to to use. Required if `email_sending_account` is set to `DEVELOPER`. * `from_email_address` (Optional) - Sender’s email address or sender’s display name with their email address (e.g. `john@example.com`, `John Smith ` or `\"John Smith Ph.D.\" `). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). * `email_sending_account` (Optional) - The email delivery method to use. `COGNITO_DEFAULT` for the default email functionality built into Cognito or `DEVELOPER` to use your Amazon SES configuration. +* `configuration_set` (Optional) - The email configuration set name from SES. #### Lambda Configuration From f33953ff20954a46d555273c382e1300588dcdc3 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Mon, 8 Mar 2021 18:13:05 -0500 Subject: [PATCH 28/41] resource/cognito_user_pool: Organize email configuration --- aws/resource_aws_cognito_user_pool.go | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool.go b/aws/resource_aws_cognito_user_pool.go index 4957416ef0f..1eab312e72e 100644 --- a/aws/resource_aws_cognito_user_pool.go +++ b/aws/resource_aws_cognito_user_pool.go @@ -128,21 +128,7 @@ func resourceAwsCognitoUserPool() *schema.Resource { DiffSuppressFunc: suppressMissingOptionalConfigurationBlock, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "reply_to_email_address": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.Any( - validation.StringInSlice([]string{""}, false), - validation.StringMatch(regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+@[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), - `must satisfy regular expression pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+@[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), - ), - }, - "source_arn": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validateArn, - }, - "from_email_address": { + "configuration_set": { Type: schema.TypeString, Optional: true, }, @@ -155,9 +141,23 @@ func resourceAwsCognitoUserPool() *schema.Resource { cognitoidentityprovider.EmailSendingAccountTypeDeveloper, }, false), }, - "configuration_set": { + "from_email_address": { + Type: schema.TypeString, + Optional: true, + }, + "reply_to_email_address": { Type: schema.TypeString, Optional: true, + ValidateFunc: validation.Any( + validation.StringInSlice([]string{""}, false), + validation.StringMatch(regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+@[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), + `must satisfy regular expression pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+@[\p{L}\p{M}\p{S}\p{N}\p{P}]+`), + ), + }, + "source_arn": { + Type: schema.TypeString, + Optional: true, + ValidateFunc: validateArn, }, }, }, From 9e8700efbe3bd29954a946427711e955cb4b8de2 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Mon, 8 Mar 2021 21:12:24 -0500 Subject: [PATCH 29/41] tests/cognito_user_pool: Add ErrorCheck, split email test --- ...ource_aws_cognito_user_pool_client_test.go | 2 +- aws/resource_aws_cognito_user_pool_test.go | 69 ++++++++++++++----- 2 files changed, 51 insertions(+), 20 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client_test.go b/aws/resource_aws_cognito_user_pool_client_test.go index 5f153e8b181..c6f90a14c5a 100644 --- a/aws/resource_aws_cognito_user_pool_client_test.go +++ b/aws/resource_aws_cognito_user_pool_client_test.go @@ -515,7 +515,7 @@ func TestAccAWSCognitoUserPoolClient_disappears_userPool(t *testing.T) { func testAccErrorCheckSkipCognito(t *testing.T) resource.ErrorCheckFunc { return testAccErrorCheckSkipMessagesContaining(t, - "The integration with Pinpoint is not supported", + "not supported in this region", ) } diff --git a/aws/resource_aws_cognito_user_pool_test.go b/aws/resource_aws_cognito_user_pool_test.go index 12438b3db86..29cdc422b70 100644 --- a/aws/resource_aws_cognito_user_pool_test.go +++ b/aws/resource_aws_cognito_user_pool_test.go @@ -6,6 +6,7 @@ import ( "log" "os" "regexp" + "strings" "testing" "github.com/aws/aws-sdk-go/aws" @@ -215,6 +216,7 @@ func TestAccAWSCognitoUserPool_withAdvancedSecurityMode(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, + ErrorCheck: testAccErrorCheckSkipCognito(t), Providers: testAccProviders, CheckDestroy: testAccCheckAWSCognitoUserPoolDestroy, Steps: []resource.TestStep{ @@ -720,32 +722,20 @@ func TestAccAWSCognitoUserPool_SmsVerificationMessage(t *testing.T) { func TestAccAWSCognitoUserPool_withEmailConfiguration(t *testing.T) { rName := acctest.RandomWithPrefix("tf-acc-test") - replyTo := fmt.Sprintf("tf-acc-reply-%s@terraformtesting.com", rName) resourceName := "aws_cognito_user_pool.test" - sourceARN, ok := os.LookupEnv("TEST_AWS_SES_VERIFIED_EMAIL_ARN") - if !ok { - t.Skip("'TEST_AWS_SES_VERIFIED_EMAIL_ARN' not set, skipping test.") - } - - configurationSet, ok := os.LookupEnv("TEST_AWS_SES_CONFIGURATION_SET") - if !ok { - t.Skip("'TEST_AWS_SES_CONFIGURATION_SET' not set, skipping test.") - } - resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, Providers: testAccProviders, CheckDestroy: testAccCheckAWSCognitoUserPoolDestroy, Steps: []resource.TestStep{ { - Config: testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, "", "", "", "COGNITO_DEFAULT", ""), + Config: testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName), Check: resource.ComposeAggregateTestCheckFunc( resource.TestCheckResourceAttr(resourceName, "email_configuration.#", "1"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.reply_to_email_address", ""), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.email_sending_account", "COGNITO_DEFAULT"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.from_email_address", ""), - resource.TestCheckResourceAttr(resourceName, "email_configuration.0.configuration_set", ""), ), }, { @@ -753,15 +743,36 @@ func TestAccAWSCognitoUserPool_withEmailConfiguration(t *testing.T) { ImportState: true, ImportStateVerify: true, }, + }, + }) +} + +func TestAccAWSCognitoUserPool_withEmailConfigurationSource(t *testing.T) { + rName := acctest.RandomWithPrefix("tf-acc-test") + replyTo := fmt.Sprintf("tf-acc-reply-%s@terraformtesting.com", rName) + resourceName := "aws_cognito_user_pool.test" + resourceName2 := "aws_ses_configuration_set.test" + + sourceARN, ok := os.LookupEnv("TEST_AWS_SES_VERIFIED_EMAIL_ARN") + if !ok { + t.Skip("'TEST_AWS_SES_VERIFIED_EMAIL_ARN' not set, skipping test.") + } + emailTo := sourceARN[strings.LastIndex(sourceARN, "/")+1:] + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSCognitoIdentityProvider(t) }, + Providers: testAccProviders, + CheckDestroy: testAccCheckAWSCognitoUserPoolDestroy, + Steps: []resource.TestStep{ { - Config: testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, replyTo, sourceARN, "John Smith ", "DEVELOPER", configurationSet), + Config: testAccAWSCognitoUserPoolConfig_withEmailConfigurationSource(rName, replyTo, sourceARN, emailTo, "DEVELOPER"), Check: resource.ComposeAggregateTestCheckFunc( resource.TestCheckResourceAttr(resourceName, "email_configuration.#", "1"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.reply_to_email_address", replyTo), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.email_sending_account", "DEVELOPER"), resource.TestCheckResourceAttr(resourceName, "email_configuration.0.source_arn", sourceARN), - resource.TestCheckResourceAttr(resourceName, "email_configuration.0.from_email_address", "John Smith "), - resource.TestCheckResourceAttr(resourceName, "email_configuration.0.configuration_set", configurationSet), + resource.TestCheckResourceAttr(resourceName, "email_configuration.0.from_email_address", emailTo), + resource.TestCheckResourceAttrPair(resourceName, "email_configuration.0.configuration_set", resourceName2, "name"), ), }, }, @@ -1601,8 +1612,28 @@ resource "aws_cognito_user_pool" "test" { `, rName, tagKey1, tagValue1, tagKey2, tagValue2) } -func testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName, email, arn, from, account, configuration_set string) string { +func testAccAWSCognitoUserPoolConfig_withEmailConfiguration(rName string) string { return fmt.Sprintf(` +resource "aws_cognito_user_pool" "test" { + name = %[1]q + + email_configuration { + email_sending_account = "COGNITO_DEFAULT" + } +} +`, rName) +} + +func testAccAWSCognitoUserPoolConfig_withEmailConfigurationSource(rName, email, arn, from, account string) string { + return fmt.Sprintf(` +resource "aws_ses_configuration_set" "test" { + name = %[1]q + + delivery_options { + tls_policy = "Optional" + } +} + resource "aws_cognito_user_pool" "test" { name = %[1]q @@ -1611,10 +1642,10 @@ resource "aws_cognito_user_pool" "test" { source_arn = %[3]q from_email_address = %[4]q email_sending_account = %[5]q - configuration_set = %[6]q + configuration_set = aws_ses_configuration_set.test.name } } -`, rName, email, arn, from, account, configuration_set) +`, rName, email, arn, from, account) } func testAccAWSCognitoUserPoolConfig_withAliasAttributes(rName string) string { From 8a1e81ccf9d9a7a4b4a7e30292c1ba10a2799d6b Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 08:51:28 -0500 Subject: [PATCH 30/41] docs/r/cognito_user_pool: Clean up docs --- website/docs/r/cognito_user_pool.markdown | 187 +++++++++++----------- 1 file changed, 94 insertions(+), 93 deletions(-) diff --git a/website/docs/r/cognito_user_pool.markdown b/website/docs/r/cognito_user_pool.markdown index 1dd5251136b..7b725ddc974 100644 --- a/website/docs/r/cognito_user_pool.markdown +++ b/website/docs/r/cognito_user_pool.markdown @@ -62,93 +62,99 @@ resource "aws_cognito_user_pool" "test" { ## Argument Reference -The following arguments are supported: - -* `admin_create_user_config` (Optional) - The configuration for [AdminCreateUser](#admin-create-user-config) requests. -* `alias_attributes` - (Optional) Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username. Conflicts with `username_attributes`. -* `auto_verified_attributes` - (Optional) The attributes to be auto-verified. Possible values: email, phone_number. -* `device_configuration` (Optional) - The configuration for the [user pool's device tracking](#device-configuration). -* `email_configuration` (Optional) - The [Email Configuration](#email-configuration). -* `name` - (Required) The name of the user pool. -* `email_verification_subject` - (Optional) A string representing the email verification subject. Conflicts with `verification_message_template` configuration block `email_subject` argument. -* `email_verification_message` - (Optional) A string representing the email verification message. Conflicts with `verification_message_template` configuration block `email_message` argument. -* `lambda_config` (Optional) - A container for the AWS [Lambda triggers](#lambda-configuration) associated with the user pool. -* `mfa_configuration` - (Optional) Multi-Factor Authentication (MFA) configuration for the User Pool. Defaults of `OFF`. Valid values: - * `OFF` - MFA tokens are not required. - * `ON` - MFA is required for all users to sign in. Requires at least one of `sms_configuration` or `software_token_mfa_configuration` to be configured. - * `OPTIONAL` - MFA will be required only for individual users who have MFA enabled. Requires at least one of `sms_configuration` or `software_token_mfa_configuration` to be configured. -* `password_policy` (Optional) - A container for information about the [user pool password policy](#password-policy). -* `schema` (Optional) - A container with the [schema attributes](#schema-attributes) of a user pool. Schema attributes from the [standard attribute set](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#cognito-user-pools-standard-attributes) only need to be specified if they are different from the default configuration. Maximum of 50 attributes. -* `sms_authentication_message` - (Optional) A string representing the SMS authentication message. The message must contain the `{####}` placeholder, which will be replaced with the code. -* `sms_configuration` (Optional) - Configuration block for Short Message Service (SMS) settings. Detailed below. These settings apply to SMS user verification and SMS Multi-Factor Authentication (MFA). Due to Cognito API restrictions, the SMS configuration cannot be removed without recreating the Cognito User Pool. For user data safety, this resource will ignore the removal of this configuration by disabling drift detection. To force resource recreation after this configuration has been applied, see the [`taint` command](https://www.terraform.io/docs/commands/taint.html). -* `sms_verification_message` - (Optional) A string representing the SMS verification message. Conflicts with `verification_message_template` configuration block `sms_message` argument. -* `software_token_mfa_configuration` - (Optional) Configuration block for software token Mult-Factor Authentication (MFA) settings. Detailed below. -* `tags` - (Optional) A map of tags to assign to the User Pool. -* `username_attributes` - (Optional) Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up. Conflicts with `alias_attributes`. -* `username_configuration` - (Optional) The [Username Configuration](#username-configuration). -* `user_pool_add_ons` - (Optional) Configuration block for [user pool add-ons](#user-pool-add-ons) to enable user pool advanced security mode features. -* `verification_message_template` (Optional) - The [verification message templates](#verification-message-template) configuration. -* `account_recovery_setting` (Optional) - The [account_recovery_setting](#account-recovery-setting) configuration. - -#### Admin Create User Config +The following argument is required: + +* `name` - (Required) Name of the user pool. + +The following arguments are optional: + +* `account_recovery_setting` (Optional) - Configuration block to define which verified available method a user can use to recover their forgotten password. [Detailed below](#account_recovery_setting). +* `admin_create_user_config` (Optional) - Configuration block for creating a new user profile. [Detailed below](#admin_create_user_config). +* `alias_attributes` - (Optional) Attributes supported as an alias for this user pool. Valid values: `phone_number`, `email`, or `preferred_username`. Conflicts with `username_attributes`. +* `auto_verified_attributes` - (Optional) Attributes to be auto-verified. Valid values: `email`, `phone_number`. +* `device_configuration` (Optional) - Configuration block for the user pool's device tracking. [Detailed below](#device_configuration). +* `email_configuration` (Optional) - Configuration block for configuring email. [Detailed below](#email_configuration). +* `email_verification_message` - (Optional) String representing the email verification message. Conflicts with `verification_message_template` configuration block `email_message` argument. +* `email_verification_subject` - (Optional) String representing the email verification subject. Conflicts with `verification_message_template` configuration block `email_subject` argument. +* `lambda_config` (Optional) - Configuration block for the AWS Lambda triggers associated with the user pool. [Detailed below](#lambda_configuration). +* `mfa_configuration` - (Optional) Multi-Factor Authentication (MFA) configuration for the User Pool. Defaults of `OFF`. Valid values are `OFF` (MFA Tokens are not required), `ON` (MFA is required for all users to sign in; requires at least one of `sms_configuration` or `software_token_mfa_configuration` to be configured), or `OPTIONAL` (MFA Will be required only for individual users who have MFA Enabled; requires at least one of `sms_configuration` or `software_token_mfa_configuration` to be configured). +* `password_policy` (Optional) - Configuration blocked for information about the user pool password policy. [Detailed below](#password_policy). +* `schema` (Optional) - Configuration block for the schema attributes of a user pool. [Detailed below](#schema). Schema attributes from the [standard attribute set](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#cognito-user-pools-standard-attributes) only need to be specified if they are different from the default configuration. Maximum of 50 attributes. +* `sms_authentication_message` - (Optional) String representing the SMS authentication message. The Message must contain the `{####}` placeholder, which will be replaced with the code. +* `sms_configuration` (Optional) - Configuration block for Short Message Service (SMS) settings. [Detailed below](#sms_configuration). These settings apply to SMS user verification and SMS Multi-Factor Authentication (MFA). Due to Cognito API restrictions, the SMS configuration cannot be removed without recreating the Cognito User Pool. For user data safety, this resource will ignore the removal of this configuration by disabling drift detection. To force resource recreation after this configuration has been applied, see the [`taint` command](https://www.terraform.io/docs/commands/taint.html). +* `sms_verification_message` - (Optional) String representing the SMS verification message. Conflicts with `verification_message_template` configuration block `sms_message` argument. +* `software_token_mfa_configuration` - (Optional) Configuration block for software token Mult-Factor Authentication (MFA) settings. [Detailed below](#software_token_mfa_configuration). +* `tags` - (Optional) Map of tags to assign to the User Pool. +* `user_pool_add_ons` - (Optional) Configuration block for user pool add-ons to enable user pool advanced security mode features. [Detailed below](#user_pool_add_ons). +* `username_attributes` - (Optional) Whether email addresses or phone numbers can be specified as usernames when a user signs up. Conflicts with `alias_attributes`. +* `username_configuration` - (Optional) Configuration block for username configuration. [Detailed below](#username_configuration). +* `verification_message_template` (Optional) - Configuration block for verification message templates. [Detailed below](#verification_message_template). + +### account_recovery_setting + +* `recovery_mechanism` (Required) - List of Account Recovery Options of the following structure: + * `name` (Required) - Recovery method for a user. Can be of the following: `verified_email`, `verified_phone_number`, and `admin_only`. + * `priority` (Required) - Positive integer specifying priority of a method with 1 being the highest priority. + +### admin_create_user_config * `allow_admin_create_user_only` (Optional) - Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app. -* `invite_message_template` (Optional) - The [invite message template structure](#invite-message-template). +* `invite_message_template` (Optional) - Invite message template structure. [Detailed below](#invite_message_template). -##### Invite Message template +#### invite_message_template -* `email_message` (Optional) - The message template for email messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. -* `email_subject` (Optional) - The subject line for email messages. -* `sms_message` (Optional) - The message template for SMS messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. +* `email_message` (Optional) - Message template for email messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. +* `email_subject` (Optional) - Subject line for email messages. +* `sms_message` (Optional) - Message template for SMS messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. -#### Device Configuration +### device_configuration -* `challenge_required_on_new_device` (Optional) - Indicates whether a challenge is required on a new device. Only applicable to a new device. -* `device_only_remembered_on_user_prompt` (Optional) - If true, a device is only remembered on user prompt. +* `challenge_required_on_new_device` (Optional) - Whether a challenge is required on a new device. Only applicable to a new device. +* `device_only_remembered_on_user_prompt` (Optional) - Whether a device is only remembered on user prompt. -#### Email Configuration +### email_configuration -* `reply_to_email_address` (Optional) - The REPLY-TO email address. -* `source_arn` (Optional) - The ARN of the SES verified email identity to to use. Required if `email_sending_account` is set to `DEVELOPER`. +* `configuration_set` (Optional) - Email configuration set name from SES. +* `email_sending_account` (Optional) - Email delivery method to use. `COGNITO_DEFAULT` for the default email functionality built into Cognito or `DEVELOPER` to use your Amazon SES configuration. * `from_email_address` (Optional) - Sender’s email address or sender’s display name with their email address (e.g. `john@example.com`, `John Smith ` or `\"John Smith Ph.D.\" `). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). -* `email_sending_account` (Optional) - The email delivery method to use. `COGNITO_DEFAULT` for the default email functionality built into Cognito or `DEVELOPER` to use your Amazon SES configuration. -* `configuration_set` (Optional) - The email configuration set name from SES. +* `reply_to_email_address` (Optional) - REPLY-TO email address. +* `source_arn` (Optional) - ARN of the SES verified email identity to to use. Required if `email_sending_account` is set to `DEVELOPER`. -#### Lambda Configuration +### lambda_config -* `create_auth_challenge` (Optional) - The ARN of the lambda creating an authentication challenge. -* `custom_message` (Optional) - A custom Message AWS Lambda trigger. +* `create_auth_challenge` (Optional) - ARN of the lambda creating an authentication challenge. +* `custom_message` (Optional) - Custom Message AWS Lambda trigger. * `define_auth_challenge` (Optional) - Defines the authentication challenge. -* `post_authentication` (Optional) - A post-authentication AWS Lambda trigger. -* `post_confirmation` (Optional) - A post-confirmation AWS Lambda trigger. -* `pre_authentication` (Optional) - A pre-authentication AWS Lambda trigger. -* `pre_sign_up` (Optional) - A pre-registration AWS Lambda trigger. +* `post_authentication` (Optional) - Post-authentication AWS Lambda trigger. +* `post_confirmation` (Optional) - Post-confirmation AWS Lambda trigger. +* `pre_authentication` (Optional) - Pre-authentication AWS Lambda trigger. +* `pre_sign_up` (Optional) - Pre-registration AWS Lambda trigger. * `pre_token_generation` (Optional) - Allow to customize identity token claims before token generation. -* `user_migration` (Optional) - The user migration Lambda config type. +* `user_migration` (Optional) - User migration Lambda config type. * `verify_auth_challenge_response` (Optional) - Verifies the authentication challenge response. -#### Password Policy +### password_policy -* `minimum_length` (Optional) - The minimum length of the password policy that you have set. +* `minimum_length` (Optional) - Minimum length of the password policy that you have set. * `require_lowercase` (Optional) - Whether you have required users to use at least one lowercase letter in their password. * `require_numbers` (Optional) - Whether you have required users to use at least one number in their password. * `require_symbols` (Optional) - Whether you have required users to use at least one symbol in their password. * `require_uppercase` (Optional) - Whether you have required users to use at least one uppercase letter in their password. * `temporary_password_validity_days` (Optional) - In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator. -#### Schema Attributes +### schema ~> **NOTE:** When defining an `attribute_data_type` of `String` or `Number`, the respective attribute constraints configuration block (e.g `string_attribute_constraints` or `number_attribute_contraints`) is required to prevent recreation of the Terraform resource. This requirement is true for both standard (e.g. name, email) and custom schema attributes. -* `attribute_data_type` (Required) - The attribute data type. Must be one of `Boolean`, `Number`, `String`, `DateTime`. -* `developer_only_attribute` (Optional) - Specifies whether the attribute type is developer only. -* `mutable` (Optional) - Specifies whether the attribute can be changed once it has been created. -* `name` (Required) - The name of the attribute. -* `number_attribute_constraints` (Optional) - Specifies the [constraints for an attribute of the number type](#number-attribute-constraints). -* `required` (Optional) - Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail. -* `string_attribute_constraints` (Optional) -Specifies the [constraints for an attribute of the string type](#string-attribute-constraints). +* `attribute_data_type` (Required) - Attribute data type. Must be one of `Boolean`, `Number`, `String`, `DateTime`. +* `developer_only_attribute` (Optional) - Whether the attribute type is developer only. +* `mutable` (Optional) - Whether the attribute can be changed once it has been created. +* `name` (Required) - Name of the attribute. +* `number_attribute_constraints` (Optional) - Configuration block for the constraints for an attribute of the number type. [Detailed below](#number_attribute_constraints). +* `required` (Optional) - Whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail. +* `string_attribute_constraints` (Optional) - Constraints for an attribute of the string type. [Detailed below](#string_attribute_constraints). -##### Defaults for Standard Attributes +#### schema: Defaults for Standard Attributes The [standard attributes](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#cognito-user-pools-standard-attributes) have the following defaults. Note that attributes which match the default values are not stored in Terraform state when importing. @@ -170,59 +176,54 @@ resource "aws_cognito_user_pool" "example" { } ``` -##### Number Attribute Constraints +#### number_attribute_constraints -* `max_value` (Optional) - The maximum value of an attribute that is of the number data type. -* `min_value` (Optional) - The minimum value of an attribute that is of the number data type. +* `max_value` (Optional) - Maximum value of an attribute that is of the number data type. +* `min_value` (Optional) - Minimum value of an attribute that is of the number data type. -##### String Attribute Constraints +#### string_attribute_constraints -* `max_length` (Optional) - The maximum length of an attribute value of the string type. -* `min_length` (Optional) - The minimum length of an attribute value of the string type. +* `max_length` (Optional) - Maximum length of an attribute value of the string type. +* `min_length` (Optional) - Minimum length of an attribute value of the string type. -#### SMS Configuration +### sms_configuration -* `external_id` (Required) - The external ID used in IAM role trust relationships. For more information about using external IDs, see [How to Use an External ID When Granting Access to Your AWS Resources to a Third Party](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html). -* `sns_caller_arn` (Required) - The ARN of the Amazon SNS caller. This is usually the IAM role that you've given Cognito permission to assume. +* `external_id` (Required) - External ID used in IAM role trust relationships. For more information about using external IDs, see [How to Use an External ID When Granting Access to Your AWS Resources to a Third Party](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html). +* `sns_caller_arn` (Required) - ARN of the Amazon SNS caller. This is usually the IAM role that you've given Cognito permission to assume. -### Software Token MFA Configuration +### software_token_mfa_configuration The following arguments are required in the `software_token_mfa_configuration` configuration block: -* `enabled` - (Required) Boolean whether to enable software token Multi-Factor (MFA) tokens, such as Time-based One-Time Password (TOTP). To disable software token MFA when `sms_configuration` is not present, the `mfa_configuration` argument must be set to `OFF` and the `software_token_mfa_configuration` configuration block must be fully removed. +* `enabled` - (Required) Boolean whether to enable software token Multi-Factor (MFA) tokens, such as Time-based One-Time Password (TOTP). To disable software token MFA When `sms_configuration` is not present, the `mfa_configuration` argument must be set to `OFF` and the `software_token_mfa_configuration` configuration block must be fully removed. -#### Username Configuration +### user_pool_add_ons -* `case_sensitive` (Required) - Specifies whether username case sensitivity will be applied for all users in the user pool through Cognito APIs. +* `advanced_security_mode` (Required) - Mode for advanced security, must be one of `OFF`, `AUDIT` or `ENFORCED`. -#### User Pool Add-ons +### username_configuration -* `advanced_security_mode` (Required) - The mode for advanced security, must be one of `OFF`, `AUDIT` or `ENFORCED`. +* `case_sensitive` (Required) - Whether username case sensitivity will be applied for all users in the user pool through Cognito APIs. -#### Verification Message Template +### verification_message_template -* `default_email_option` (Optional) - The default email option. Must be either `CONFIRM_WITH_CODE` or `CONFIRM_WITH_LINK`. Defaults to `CONFIRM_WITH_CODE`. -* `email_message` (Optional) - The email message template. Must contain the `{####}` placeholder. Conflicts with `email_verification_message` argument. -* `email_message_by_link` (Optional) - The email message template for sending a confirmation link to the user, it must contain the `{##Click Here##}` placeholder. -* `email_subject` (Optional) - The subject line for the email message template. Conflicts with `email_verification_subject` argument. -* `email_subject_by_link` (Optional) - The subject line for the email message template for sending a confirmation link to the user. -* `sms_message` (Optional) - The SMS message template. Must contain the `{####}` placeholder. Conflicts with `sms_verification_message` argument. +* `default_email_option` (Optional) - Default email option. Must be either `CONFIRM_WITH_CODE` or `CONFIRM_WITH_LINK`. Defaults to `CONFIRM_WITH_CODE`. +* `email_message` (Optional) - Email message template. Must contain the `{####}` placeholder. Conflicts with `email_verification_message` argument. +* `email_message_by_link` (Optional) - Email message template for sending a confirmation link to the user, it must contain the `{##Click Here##}` placeholder. +* `email_subject` (Optional) - Subject line for the email message template. Conflicts with `email_verification_subject` argument. +* `email_subject_by_link` (Optional) - Subject line for the email message template for sending a confirmation link to the user. +* `sms_message` (Optional) - SMS message template. Must contain the `{####}` placeholder. Conflicts with `sms_verification_message` argument. -### Account Recovery Setting - -* `recovery_mechanism` (Required) - The list of Account Recovery Options of the following structure: - * `name` (Required) - Specifies the recovery method for a user. Can be of the following: `verified_email`, `verified_phone_number`, and `admin_only`. - * `priority` (Required) - A positive integer specifying priority of a method with 1 being the highest priority. ## Attributes Reference In addition to all arguments above, the following attributes are exported: -* `id` - The id of the user pool. -* `arn` - The ARN of the user pool. -* `endpoint` - The endpoint name of the user pool. Example format: cognito-idp.REGION.amazonaws.com/xxxx_yyyyy -* `creation_date` - The date the user pool was created. -* `last_modified_date` - The date the user pool was last modified. +* `arn` - ARN of the user pool. +* `creation_date` - Date the user pool was created. +* `endpoint` - Endpoint name of the user pool. Example format: `cognito-idp.REGION.amazonaws.com/xxxx_yyyyy` +* `id` - ID of the user pool. +* `last_modified_date` - Date the user pool was last modified. ## Import From 4e21eb6de210eefa8391f6e48d64000a3db3a6f5 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 08:55:21 -0500 Subject: [PATCH 31/41] tests/r/cognito_user_pool: Fix lint --- aws/resource_aws_cognito_user_pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_cognito_user_pool_test.go b/aws/resource_aws_cognito_user_pool_test.go index 29cdc422b70..e8b138421f0 100644 --- a/aws/resource_aws_cognito_user_pool_test.go +++ b/aws/resource_aws_cognito_user_pool_test.go @@ -1642,7 +1642,7 @@ resource "aws_cognito_user_pool" "test" { source_arn = %[3]q from_email_address = %[4]q email_sending_account = %[5]q - configuration_set = aws_ses_configuration_set.test.name + configuration_set = aws_ses_configuration_set.test.name } } `, rName, email, arn, from, account) From 95d6462271925638f21ffaa312ee91c3ce130230 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 10:10:54 -0500 Subject: [PATCH 32/41] docs/r/cognito_user_pool: Move optional/required to other side of dash --- website/docs/r/cognito_user_pool.markdown | 122 +++++++++++----------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/website/docs/r/cognito_user_pool.markdown b/website/docs/r/cognito_user_pool.markdown index 7b725ddc974..28da2772419 100644 --- a/website/docs/r/cognito_user_pool.markdown +++ b/website/docs/r/cognito_user_pool.markdown @@ -68,91 +68,91 @@ The following argument is required: The following arguments are optional: -* `account_recovery_setting` (Optional) - Configuration block to define which verified available method a user can use to recover their forgotten password. [Detailed below](#account_recovery_setting). -* `admin_create_user_config` (Optional) - Configuration block for creating a new user profile. [Detailed below](#admin_create_user_config). +* `account_recovery_setting` - (Optional) Configuration block to define which verified available method a user can use to recover their forgotten password. [Detailed below](#account_recovery_setting). +* `admin_create_user_config` - (Optional) Configuration block for creating a new user profile. [Detailed below](#admin_create_user_config). * `alias_attributes` - (Optional) Attributes supported as an alias for this user pool. Valid values: `phone_number`, `email`, or `preferred_username`. Conflicts with `username_attributes`. * `auto_verified_attributes` - (Optional) Attributes to be auto-verified. Valid values: `email`, `phone_number`. -* `device_configuration` (Optional) - Configuration block for the user pool's device tracking. [Detailed below](#device_configuration). -* `email_configuration` (Optional) - Configuration block for configuring email. [Detailed below](#email_configuration). +* `device_configuration` - (Optional) Configuration block for the user pool's device tracking. [Detailed below](#device_configuration). +* `email_configuration` - (Optional) Configuration block for configuring email. [Detailed below](#email_configuration). * `email_verification_message` - (Optional) String representing the email verification message. Conflicts with `verification_message_template` configuration block `email_message` argument. * `email_verification_subject` - (Optional) String representing the email verification subject. Conflicts with `verification_message_template` configuration block `email_subject` argument. -* `lambda_config` (Optional) - Configuration block for the AWS Lambda triggers associated with the user pool. [Detailed below](#lambda_configuration). +* `lambda_config` - (Optional) Configuration block for the AWS Lambda triggers associated with the user pool. [Detailed below](#lambda_configuration). * `mfa_configuration` - (Optional) Multi-Factor Authentication (MFA) configuration for the User Pool. Defaults of `OFF`. Valid values are `OFF` (MFA Tokens are not required), `ON` (MFA is required for all users to sign in; requires at least one of `sms_configuration` or `software_token_mfa_configuration` to be configured), or `OPTIONAL` (MFA Will be required only for individual users who have MFA Enabled; requires at least one of `sms_configuration` or `software_token_mfa_configuration` to be configured). -* `password_policy` (Optional) - Configuration blocked for information about the user pool password policy. [Detailed below](#password_policy). -* `schema` (Optional) - Configuration block for the schema attributes of a user pool. [Detailed below](#schema). Schema attributes from the [standard attribute set](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#cognito-user-pools-standard-attributes) only need to be specified if they are different from the default configuration. Maximum of 50 attributes. +* `password_policy` - (Optional) Configuration blocked for information about the user pool password policy. [Detailed below](#password_policy). +* `schema` - (Optional) Configuration block for the schema attributes of a user pool. [Detailed below](#schema). Schema attributes from the [standard attribute set](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#cognito-user-pools-standard-attributes) only need to be specified if they are different from the default configuration. Maximum of 50 attributes. * `sms_authentication_message` - (Optional) String representing the SMS authentication message. The Message must contain the `{####}` placeholder, which will be replaced with the code. -* `sms_configuration` (Optional) - Configuration block for Short Message Service (SMS) settings. [Detailed below](#sms_configuration). These settings apply to SMS user verification and SMS Multi-Factor Authentication (MFA). Due to Cognito API restrictions, the SMS configuration cannot be removed without recreating the Cognito User Pool. For user data safety, this resource will ignore the removal of this configuration by disabling drift detection. To force resource recreation after this configuration has been applied, see the [`taint` command](https://www.terraform.io/docs/commands/taint.html). +* `sms_configuration` - (Optional) Configuration block for Short Message Service (SMS) settings. [Detailed below](#sms_configuration). These settings apply to SMS user verification and SMS Multi-Factor Authentication (MFA). Due to Cognito API restrictions, the SMS configuration cannot be removed without recreating the Cognito User Pool. For user data safety, this resource will ignore the removal of this configuration by disabling drift detection. To force resource recreation after this configuration has been applied, see the [`taint` command](https://www.terraform.io/docs/commands/taint.html). * `sms_verification_message` - (Optional) String representing the SMS verification message. Conflicts with `verification_message_template` configuration block `sms_message` argument. * `software_token_mfa_configuration` - (Optional) Configuration block for software token Mult-Factor Authentication (MFA) settings. [Detailed below](#software_token_mfa_configuration). * `tags` - (Optional) Map of tags to assign to the User Pool. * `user_pool_add_ons` - (Optional) Configuration block for user pool add-ons to enable user pool advanced security mode features. [Detailed below](#user_pool_add_ons). * `username_attributes` - (Optional) Whether email addresses or phone numbers can be specified as usernames when a user signs up. Conflicts with `alias_attributes`. * `username_configuration` - (Optional) Configuration block for username configuration. [Detailed below](#username_configuration). -* `verification_message_template` (Optional) - Configuration block for verification message templates. [Detailed below](#verification_message_template). +* `verification_message_template` - (Optional) Configuration block for verification message templates. [Detailed below](#verification_message_template). ### account_recovery_setting -* `recovery_mechanism` (Required) - List of Account Recovery Options of the following structure: - * `name` (Required) - Recovery method for a user. Can be of the following: `verified_email`, `verified_phone_number`, and `admin_only`. - * `priority` (Required) - Positive integer specifying priority of a method with 1 being the highest priority. +* `recovery_mechanism` - (Required) List of Account Recovery Options of the following structure: + * `name` - (Required) Recovery method for a user. Can be of the following: `verified_email`, `verified_phone_number`, and `admin_only`. + * `priority` - (Required) Positive integer specifying priority of a method with 1 being the highest priority. ### admin_create_user_config -* `allow_admin_create_user_only` (Optional) - Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app. -* `invite_message_template` (Optional) - Invite message template structure. [Detailed below](#invite_message_template). +* `allow_admin_create_user_only` - (Optional) Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app. +* `invite_message_template` - (Optional) Invite message template structure. [Detailed below](#invite_message_template). #### invite_message_template -* `email_message` (Optional) - Message template for email messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. -* `email_subject` (Optional) - Subject line for email messages. -* `sms_message` (Optional) - Message template for SMS messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. +* `email_message` - (Optional) Message template for email messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. +* `email_subject` - (Optional) Subject line for email messages. +* `sms_message` - (Optional) Message template for SMS messages. Must contain `{username}` and `{####}` placeholders, for username and temporary password, respectively. ### device_configuration -* `challenge_required_on_new_device` (Optional) - Whether a challenge is required on a new device. Only applicable to a new device. -* `device_only_remembered_on_user_prompt` (Optional) - Whether a device is only remembered on user prompt. +* `challenge_required_on_new_device` - (Optional) Whether a challenge is required on a new device. Only applicable to a new device. +* `device_only_remembered_on_user_prompt` - (Optional) Whether a device is only remembered on user prompt. ### email_configuration -* `configuration_set` (Optional) - Email configuration set name from SES. -* `email_sending_account` (Optional) - Email delivery method to use. `COGNITO_DEFAULT` for the default email functionality built into Cognito or `DEVELOPER` to use your Amazon SES configuration. -* `from_email_address` (Optional) - Sender’s email address or sender’s display name with their email address (e.g. `john@example.com`, `John Smith ` or `\"John Smith Ph.D.\" `). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). -* `reply_to_email_address` (Optional) - REPLY-TO email address. -* `source_arn` (Optional) - ARN of the SES verified email identity to to use. Required if `email_sending_account` is set to `DEVELOPER`. +* `configuration_set` - (Optional) Email configuration set name from SES. +* `email_sending_account` - (Optional) Email delivery method to use. `COGNITO_DEFAULT` for the default email functionality built into Cognito or `DEVELOPER` to use your Amazon SES configuration. +* `from_email_address` - (Optional) Sender’s email address or sender’s display name with their email address (e.g. `john@example.com`, `John Smith ` or `\"John Smith Ph.D.\" `). Escaped double quotes are required around display names that contain certain characters as specified in [RFC 5322](https://tools.ietf.org/html/rfc5322). +* `reply_to_email_address` - (Optional) REPLY-TO email address. +* `source_arn` - (Optional) ARN of the SES verified email identity to to use. Required if `email_sending_account` is set to `DEVELOPER`. ### lambda_config -* `create_auth_challenge` (Optional) - ARN of the lambda creating an authentication challenge. -* `custom_message` (Optional) - Custom Message AWS Lambda trigger. -* `define_auth_challenge` (Optional) - Defines the authentication challenge. -* `post_authentication` (Optional) - Post-authentication AWS Lambda trigger. -* `post_confirmation` (Optional) - Post-confirmation AWS Lambda trigger. -* `pre_authentication` (Optional) - Pre-authentication AWS Lambda trigger. -* `pre_sign_up` (Optional) - Pre-registration AWS Lambda trigger. -* `pre_token_generation` (Optional) - Allow to customize identity token claims before token generation. -* `user_migration` (Optional) - User migration Lambda config type. -* `verify_auth_challenge_response` (Optional) - Verifies the authentication challenge response. +* `create_auth_challenge` - (Optional) ARN of the lambda creating an authentication challenge. +* `custom_message` - (Optional) Custom Message AWS Lambda trigger. +* `define_auth_challenge` - (Optional) Defines the authentication challenge. +* `post_authentication` - (Optional) Post-authentication AWS Lambda trigger. +* `post_confirmation` - (Optional) Post-confirmation AWS Lambda trigger. +* `pre_authentication` - (Optional) Pre-authentication AWS Lambda trigger. +* `pre_sign_up` - (Optional) Pre-registration AWS Lambda trigger. +* `pre_token_generation` - (Optional) Allow to customize identity token claims before token generation. +* `user_migration` - (Optional) User migration Lambda config type. +* `verify_auth_challenge_response` - (Optional) Verifies the authentication challenge response. ### password_policy -* `minimum_length` (Optional) - Minimum length of the password policy that you have set. -* `require_lowercase` (Optional) - Whether you have required users to use at least one lowercase letter in their password. -* `require_numbers` (Optional) - Whether you have required users to use at least one number in their password. -* `require_symbols` (Optional) - Whether you have required users to use at least one symbol in their password. -* `require_uppercase` (Optional) - Whether you have required users to use at least one uppercase letter in their password. -* `temporary_password_validity_days` (Optional) - In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator. +* `minimum_length` - (Optional) Minimum length of the password policy that you have set. +* `require_lowercase` - (Optional) Whether you have required users to use at least one lowercase letter in their password. +* `require_numbers` - (Optional) Whether you have required users to use at least one number in their password. +* `require_symbols` - (Optional) Whether you have required users to use at least one symbol in their password. +* `require_uppercase` - (Optional) Whether you have required users to use at least one uppercase letter in their password. +* `temporary_password_validity_days` - (Optional) In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator. ### schema ~> **NOTE:** When defining an `attribute_data_type` of `String` or `Number`, the respective attribute constraints configuration block (e.g `string_attribute_constraints` or `number_attribute_contraints`) is required to prevent recreation of the Terraform resource. This requirement is true for both standard (e.g. name, email) and custom schema attributes. -* `attribute_data_type` (Required) - Attribute data type. Must be one of `Boolean`, `Number`, `String`, `DateTime`. -* `developer_only_attribute` (Optional) - Whether the attribute type is developer only. -* `mutable` (Optional) - Whether the attribute can be changed once it has been created. -* `name` (Required) - Name of the attribute. -* `number_attribute_constraints` (Optional) - Configuration block for the constraints for an attribute of the number type. [Detailed below](#number_attribute_constraints). -* `required` (Optional) - Whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail. -* `string_attribute_constraints` (Optional) - Constraints for an attribute of the string type. [Detailed below](#string_attribute_constraints). +* `attribute_data_type` - (Required) Attribute data type. Must be one of `Boolean`, `Number`, `String`, `DateTime`. +* `developer_only_attribute` - (Optional) Whether the attribute type is developer only. +* `mutable` - (Optional) Whether the attribute can be changed once it has been created. +* `name` - (Required) Name of the attribute. +* `number_attribute_constraints` - (Optional) Configuration block for the constraints for an attribute of the number type. [Detailed below](#number_attribute_constraints). +* `required` - (Optional) Whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail. +* `string_attribute_constraints` - (Optional) Constraints for an attribute of the string type. [Detailed below](#string_attribute_constraints). #### schema: Defaults for Standard Attributes @@ -178,18 +178,18 @@ resource "aws_cognito_user_pool" "example" { #### number_attribute_constraints -* `max_value` (Optional) - Maximum value of an attribute that is of the number data type. -* `min_value` (Optional) - Minimum value of an attribute that is of the number data type. +* `max_value` - (Optional) Maximum value of an attribute that is of the number data type. +* `min_value` - (Optional) Minimum value of an attribute that is of the number data type. #### string_attribute_constraints -* `max_length` (Optional) - Maximum length of an attribute value of the string type. -* `min_length` (Optional) - Minimum length of an attribute value of the string type. +* `max_length` - (Optional) Maximum length of an attribute value of the string type. +* `min_length` - (Optional) Minimum length of an attribute value of the string type. ### sms_configuration -* `external_id` (Required) - External ID used in IAM role trust relationships. For more information about using external IDs, see [How to Use an External ID When Granting Access to Your AWS Resources to a Third Party](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html). -* `sns_caller_arn` (Required) - ARN of the Amazon SNS caller. This is usually the IAM role that you've given Cognito permission to assume. +* `external_id` - (Required) External ID used in IAM role trust relationships. For more information about using external IDs, see [How to Use an External ID When Granting Access to Your AWS Resources to a Third Party](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html). +* `sns_caller_arn` - (Required) ARN of the Amazon SNS caller. This is usually the IAM role that you've given Cognito permission to assume. ### software_token_mfa_configuration @@ -199,20 +199,20 @@ The following arguments are required in the `software_token_mfa_configuration` c ### user_pool_add_ons -* `advanced_security_mode` (Required) - Mode for advanced security, must be one of `OFF`, `AUDIT` or `ENFORCED`. +* `advanced_security_mode` - (Required) Mode for advanced security, must be one of `OFF`, `AUDIT` or `ENFORCED`. ### username_configuration -* `case_sensitive` (Required) - Whether username case sensitivity will be applied for all users in the user pool through Cognito APIs. +* `case_sensitive` - (Required) Whether username case sensitivity will be applied for all users in the user pool through Cognito APIs. ### verification_message_template -* `default_email_option` (Optional) - Default email option. Must be either `CONFIRM_WITH_CODE` or `CONFIRM_WITH_LINK`. Defaults to `CONFIRM_WITH_CODE`. -* `email_message` (Optional) - Email message template. Must contain the `{####}` placeholder. Conflicts with `email_verification_message` argument. -* `email_message_by_link` (Optional) - Email message template for sending a confirmation link to the user, it must contain the `{##Click Here##}` placeholder. -* `email_subject` (Optional) - Subject line for the email message template. Conflicts with `email_verification_subject` argument. -* `email_subject_by_link` (Optional) - Subject line for the email message template for sending a confirmation link to the user. -* `sms_message` (Optional) - SMS message template. Must contain the `{####}` placeholder. Conflicts with `sms_verification_message` argument. +* `default_email_option` - (Optional) Default email option. Must be either `CONFIRM_WITH_CODE` or `CONFIRM_WITH_LINK`. Defaults to `CONFIRM_WITH_CODE`. +* `email_message` - (Optional) Email message template. Must contain the `{####}` placeholder. Conflicts with `email_verification_message` argument. +* `email_message_by_link` - (Optional) Email message template for sending a confirmation link to the user, it must contain the `{##Click Here##}` placeholder. +* `email_subject` - (Optional) Subject line for the email message template. Conflicts with `email_verification_subject` argument. +* `email_subject_by_link` - (Optional) Subject line for the email message template for sending a confirmation link to the user. +* `sms_message` - (Optional) SMS message template. Must contain the `{####}` placeholder. Conflicts with `sms_verification_message` argument. ## Attributes Reference From a4e373d558f0df454d05d6a76824ad1c3c2ce837 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 10:19:47 -0500 Subject: [PATCH 33/41] docs/r/cognito_user_pool_client: Clean up docs --- .../docs/r/cognito_user_pool_client.markdown | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/website/docs/r/cognito_user_pool_client.markdown b/website/docs/r/cognito_user_pool_client.markdown index 963701937dd..c8b6ec2193e 100644 --- a/website/docs/r/cognito_user_pool_client.markdown +++ b/website/docs/r/cognito_user_pool_client.markdown @@ -112,53 +112,55 @@ resource "aws_cognito_user_pool_client" "test" { ## Argument Reference -The following arguments are supported: +The following arguments are required: -* `allowed_oauth_flows` - (Optional) List of allowed OAuth flows (code, implicit, client_credentials). +* `name` - (Required) Name of the application client. +* `user_pool_id` - (Required) User pool the client belongs to. + +The following arguments are optional: + +* `access_token_validity` - (Optional) Time limit, between 5 minutes and 1 day, after which the access token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `token_validity_units`. * `allowed_oauth_flows_user_pool_client` - (Optional) Whether the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. +* `allowed_oauth_flows` - (Optional) List of allowed OAuth flows (code, implicit, client_credentials). * `allowed_oauth_scopes` - (Optional) List of allowed OAuth scopes (phone, email, openid, profile, and aws.cognito.signin.user.admin). +* `analytics_configuration` - (Optional) Configuration block for Amazon Pinpoint analytics for collecting metrics for this user pool. [Detailed below](#analytics_configuration). * `callback_urls` - (Optional) List of allowed callback URLs for the identity providers. -* `default_redirect_uri` - (Optional) The default redirect URI. Must be in the list of callback URLs. -* `explicit_auth_flows` - (Optional) List of authentication flows (ADMIN_NO_SRP_AUTH, CUSTOM_AUTH_FLOW_ONLY, USER_PASSWORD_AUTH, ALLOW_ADMIN_USER_PASSWORD_AUTH, ALLOW_CUSTOM_AUTH, ALLOW_USER_PASSWORD_AUTH, ALLOW_USER_SRP_AUTH, ALLOW_REFRESH_TOKEN_AUTH). +* `default_redirect_uri` - (Optional) Default redirect URI. Must be in the list of callback URLs. +* `explicit_auth_flows` - (Optional) List of authentication flows (ADMIN_NO_SRP_AUTH, CUSTOM_AUTH_FLOW_ONLY, USER_PASSWORD_AUTH, ALLOW_ADMIN_USER_PASSWORD_AUTH, ALLOW_CUSTOM_AUTH, ALLOW_USER_PASSWORD_AUTH, ALLOW_USER_SRP_AUTH, ALLOW_REFRESH_TOKEN_AUTH). * `generate_secret` - (Optional) Should an application secret be generated. +* `id_token_validity` - (Optional) Time limit, between 5 minutes and 1 day, after which the ID token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `token_validity_units`. * `logout_urls` - (Optional) List of allowed logout URLs for the identity providers. -* `name` - (Required) The name of the application client. * `prevent_user_existence_errors` - (Optional) Choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to `ENABLED` and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to `LEGACY`, those APIs will return a `UserNotFoundException` exception if the user does not exist in the user pool. * `read_attributes` - (Optional) List of user pool attributes the application client can read from. -* `refresh_token_validity` - (Optional) The time limit in days refresh tokens are valid for. -* `access_token_validity` - (Optional) The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `token_validity_units`. -* `id_token_validity` - (Optional) The time limit, between 5 minutes and 1 day, after which the ID token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `token_validity_units`. +* `refresh_token_validity` - (Optional) Time limit in days refresh tokens are valid for. * `supported_identity_providers` - (Optional) List of provider names for the identity providers that are supported on this client. -* `user_pool_id` - (Required) The user pool the client belongs to. +* `token_validity_units` - (Optional) Configuration block for units in which the validity times are represented in. [Detailed below](#token_validity_units). * `write_attributes` - (Optional) List of user pool attributes the application client can write to. -* `analytics_configuration` - (Optional) The Amazon Pinpoint analytics configuration for collecting metrics for this user pool. -* `token_validity_units` - (Optional) The units in which the validity times are represented in. see [Token Validity Units](#token-validity-units). -### Analytics Configuration +### analytics_configuration Either `application_arn` or `application_id` is required. -* `application_arn` - (Optional) The application ARN for an Amazon Pinpoint application. Conflicts with `external_id` and `role_arn`. -* `application_id` - (Optional) The application ID for an Amazon Pinpoint application. -* `external_id` - (Optional) An ID for the Analytics Configuration. Conflicts with `application_arn`. -* `role_arn` - (Optional) The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. Conflicts with `application_arn`. +* `application_arn` - (Optional) Application ARN for an Amazon Pinpoint application. Conflicts with `external_id` and `role_arn`. +* `application_id` - (Optional) Application ID for an Amazon Pinpoint application. +* `external_id` - (Optional) ID for the Analytics Configuration. Conflicts with `application_arn`. +* `role_arn` - (Optional) ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. Conflicts with `application_arn`. * `user_data_shared` (Optional) If set to `true`, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics. -### Token Validity Units +### token_validity_units Valid values for the following arguments are: `seconds`, `minutes`, `hours` or `days`. -* `access_token` - (Optional) A time unit in for the value in `access_token_validity`, defaults to `hours`. -* `id_token` - (Optional) A time unit in for the value in `id_token_validity`, defaults to `hours`. -* `refresh_token` - (Optional) A time unit in for the value in `refresh_token_validity`, defaults to `days`. - +* `access_token` - (Optional) Time unit in for the value in `access_token_validity`, defaults to `hours`. +* `id_token` - (Optional) Time unit in for the value in `id_token_validity`, defaults to `hours`. +* `refresh_token` - (Optional) Time unit in for the value in `refresh_token_validity`, defaults to `days`. ## Attribute Reference In addition to all arguments above, the following attributes are exported: -* `id` - The id of the user pool client. -* `client_secret` - The client secret of the user pool client. +* `client_secret` - Client secret of the user pool client. +* `id` - ID of the user pool client. ## Import From fab2a0178d61dec519ba2be752eca08798d97ae7 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 10:23:35 -0500 Subject: [PATCH 34/41] r/cognito_user_pool: Clean up errors --- aws/resource_aws_cognito_user_pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool.go b/aws/resource_aws_cognito_user_pool.go index 1eab312e72e..c7650f89b42 100644 --- a/aws/resource_aws_cognito_user_pool.go +++ b/aws/resource_aws_cognito_user_pool.go @@ -1202,7 +1202,7 @@ func resourceAwsCognitoUserPoolUpdate(d *schema.ResourceData, meta interface{}) _, err = conn.UpdateUserPool(params) } if err != nil { - return fmt.Errorf("Error updating Cognito User pool: %s", err) + return fmt.Errorf("error updating Cognito User pool (%s): %w", d.Id(), err) } } @@ -1221,7 +1221,7 @@ func resourceAwsCognitoUserPoolDelete(d *schema.ResourceData, meta interface{}) _, err := conn.DeleteUserPool(params) if err != nil { - return fmt.Errorf("Error deleting user pool: %s", err) + return fmt.Errorf("error deleting Cognito user pool (%s): %w", d.Id(), err) } return nil From 55c29802e260bb4c03e3d3c0b99457f77cd8f0ff Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 10:27:23 -0500 Subject: [PATCH 35/41] r/cognito_user_pool_client: Clean up errors --- aws/resource_aws_cognito_user_pool_client.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index e05899c655c..8f1d71d6a47 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -328,7 +328,7 @@ func resourceAwsCognitoUserPoolClientCreate(d *schema.ResourceData, meta interfa resp, err := conn.CreateUserPoolClient(params) if err != nil { - return fmt.Errorf("Error creating Cognito User Pool Client: %s", err) + return fmt.Errorf("error creating Cognito User Pool Client (%s): %w", d.Get("name").(string), err) } d.SetId(aws.StringValue(resp.UserPoolClient.ClientId)) @@ -377,7 +377,7 @@ func resourceAwsCognitoUserPoolClientRead(d *schema.ResourceData, meta interface d.Set("supported_identity_providers", flattenStringSet(userPoolClient.SupportedIdentityProviders)) if err := d.Set("analytics_configuration", flattenAwsCognitoUserPoolClientAnalyticsConfig(userPoolClient.AnalyticsConfiguration)); err != nil { - return fmt.Errorf("error setting analytics_configuration: %s", err) + return fmt.Errorf("error setting analytics_configuration: %w", err) } if err := d.Set("token_validity_units", flattenAwsCognitoUserPoolClientTokenValidityUnitsType(userPoolClient.TokenValidityUnits)); err != nil { @@ -467,7 +467,7 @@ func resourceAwsCognitoUserPoolClientUpdate(d *schema.ResourceData, meta interfa _, err := conn.UpdateUserPoolClient(params) if err != nil { - return fmt.Errorf("Error updating Cognito User Pool Client: %s", err) + return fmt.Errorf("error updating Cognito User Pool Client (%s): %w", d.Id(), err) } return resourceAwsCognitoUserPoolClientRead(d, meta) @@ -486,7 +486,7 @@ func resourceAwsCognitoUserPoolClientDelete(d *schema.ResourceData, meta interfa _, err := conn.DeleteUserPoolClient(params) if err != nil { - return fmt.Errorf("Error deleting Cognito User Pool Client: %s", err) + return fmt.Errorf("error deleting Cognito User Pool Client (%s): %w", d.Id(), err) } return nil @@ -494,7 +494,7 @@ func resourceAwsCognitoUserPoolClientDelete(d *schema.ResourceData, meta interfa func resourceAwsCognitoUserPoolClientImport(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) { if len(strings.Split(d.Id(), "/")) != 2 || len(d.Id()) < 3 { - return []*schema.ResourceData{}, fmt.Errorf("Wrong format of resource: %s. Please follow 'user-pool-id/client-id'", d.Id()) + return []*schema.ResourceData{}, fmt.Errorf("wrong format of resource: %s. Please follow 'user-pool-id/client-id'", d.Id()) } userPoolId := strings.Split(d.Id(), "/")[0] clientId := strings.Split(d.Id(), "/")[1] From 37cb598d455c1f441b5a46a449caac99479e43bc Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 10:37:03 -0500 Subject: [PATCH 36/41] r/cognito_user_pool: Update changelog --- .changelog/14935.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.changelog/14935.txt b/.changelog/14935.txt index 9aade54f6c4..e44d7120eea 100644 --- a/.changelog/14935.txt +++ b/.changelog/14935.txt @@ -5,3 +5,7 @@ resource/aws_cognito_user_pool_client: Add plan time validation for `name`, `def ```release-note:enhancement resource/aws_cognito_user_pool_client: Add support for `access_token_validity` and `id_token_validity`, `token_validity_units` ``` + +```release-note:enhancement +resource/aws_cognito_user_pool: Add support for `configuration_set` in `email_configuration` +``` From 9199b4ad8851d8c1023b72d3c2987a354af1fe5c Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 10:39:04 -0500 Subject: [PATCH 37/41] tests/r/cognito_user_pool: Lint --- aws/resource_aws_cognito_user_pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_cognito_user_pool_test.go b/aws/resource_aws_cognito_user_pool_test.go index e8b138421f0..1b0aa2d6097 100644 --- a/aws/resource_aws_cognito_user_pool_test.go +++ b/aws/resource_aws_cognito_user_pool_test.go @@ -1618,7 +1618,7 @@ resource "aws_cognito_user_pool" "test" { name = %[1]q email_configuration { - email_sending_account = "COGNITO_DEFAULT" + email_sending_account = "COGNITO_DEFAULT" } } `, rName) From 4473ce3b019b35d5d92e11bb42bbe8e13b7db26d Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 10:51:43 -0500 Subject: [PATCH 38/41] r/cognito_user_pool: Use enumeration functions --- aws/resource_aws_cognito_user_pool.go | 157 +++++++++----------------- 1 file changed, 52 insertions(+), 105 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool.go b/aws/resource_aws_cognito_user_pool.go index c7650f89b42..d4c62a7f92f 100644 --- a/aws/resource_aws_cognito_user_pool.go +++ b/aws/resource_aws_cognito_user_pool.go @@ -27,6 +27,33 @@ func resourceAwsCognitoUserPool() *schema.Resource { // https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html Schema: map[string]*schema.Schema{ + "account_recovery_setting": { + Type: schema.TypeList, + Optional: true, + MaxItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "recovery_mechanism": { + Type: schema.TypeSet, + Required: true, + MinItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Required: true, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.RecoveryOptionNameType_Values(), false), + }, + "priority": { + Type: schema.TypeInt, + Required: true, + }, + }, + }, + }, + }, + }, + }, "admin_create_user_config": { Type: schema.TypeList, Optional: true, @@ -65,44 +92,32 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "alias_attributes": { Type: schema.TypeSet, Optional: true, ForceNew: true, Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.AliasAttributeTypeEmail, - cognitoidentityprovider.AliasAttributeTypePhoneNumber, - cognitoidentityprovider.AliasAttributeTypePreferredUsername, - }, false), + Type: schema.TypeString, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.AliasAttributeType_Values(), false), }, ConflictsWith: []string{"username_attributes"}, }, - "arn": { Type: schema.TypeString, Computed: true, }, - "auto_verified_attributes": { Type: schema.TypeSet, Optional: true, Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.VerifiedAttributeTypePhoneNumber, - cognitoidentityprovider.VerifiedAttributeTypeEmail, - }, false), + Type: schema.TypeString, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.VerifiedAttributeType_Values(), false), }, }, - "creation_date": { Type: schema.TypeString, Computed: true, }, - "device_configuration": { Type: schema.TypeList, Optional: true, @@ -120,7 +135,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "email_configuration": { Type: schema.TypeList, Optional: true, @@ -133,13 +147,10 @@ func resourceAwsCognitoUserPool() *schema.Resource { Optional: true, }, "email_sending_account": { - Type: schema.TypeString, - Optional: true, - Default: cognitoidentityprovider.EmailSendingAccountTypeCognitoDefault, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.EmailSendingAccountTypeCognitoDefault, - cognitoidentityprovider.EmailSendingAccountTypeDeveloper, - }, false), + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.EmailSendingAccountTypeCognitoDefault, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.EmailSendingAccountType_Values(), false), }, "from_email_address": { Type: schema.TypeString, @@ -162,7 +173,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "email_verification_subject": { Type: schema.TypeString, Optional: true, @@ -170,7 +180,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { ValidateFunc: validateCognitoUserPoolEmailVerificationSubject, ConflictsWith: []string{"verification_message_template.0.email_subject"}, }, - "email_verification_message": { Type: schema.TypeString, Optional: true, @@ -178,12 +187,10 @@ func resourceAwsCognitoUserPool() *schema.Resource { ValidateFunc: validateCognitoUserPoolEmailVerificationMessage, ConflictsWith: []string{"verification_message_template.0.email_message"}, }, - "endpoint": { Type: schema.TypeString, Computed: true, }, - "lambda_config": { Type: schema.TypeList, Optional: true, @@ -244,29 +251,21 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "last_modified_date": { Type: schema.TypeString, Computed: true, }, - "mfa_configuration": { - Type: schema.TypeString, - Optional: true, - Default: cognitoidentityprovider.UserPoolMfaTypeOff, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.UserPoolMfaTypeOff, - cognitoidentityprovider.UserPoolMfaTypeOn, - cognitoidentityprovider.UserPoolMfaTypeOptional, - }, false), + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.UserPoolMfaTypeOff, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.UserPoolMfaType_Values(), false), }, - "name": { Type: schema.TypeString, Required: true, ForceNew: true, }, - "password_policy": { Type: schema.TypeList, Optional: true, @@ -303,7 +302,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "schema": { Type: schema.TypeSet, Optional: true, @@ -313,15 +311,10 @@ func resourceAwsCognitoUserPool() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "attribute_data_type": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.AttributeDataTypeString, - cognitoidentityprovider.AttributeDataTypeNumber, - cognitoidentityprovider.AttributeDataTypeDateTime, - cognitoidentityprovider.AttributeDataTypeBoolean, - }, false), + Type: schema.TypeString, + Required: true, + ForceNew: true, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.AttributeDataType_Values(), false), }, "developer_only_attribute": { Type: schema.TypeBool, @@ -387,13 +380,11 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "sms_authentication_message": { Type: schema.TypeString, Optional: true, ValidateFunc: validateCognitoUserPoolSmsAuthenticationMessage, }, - "sms_configuration": { Type: schema.TypeList, Optional: true, @@ -413,7 +404,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "sms_verification_message": { Type: schema.TypeString, Optional: true, @@ -421,7 +411,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { ValidateFunc: validateCognitoUserPoolSmsVerificationMessage, ConflictsWith: []string{"verification_message_template.0.sms_message"}, }, - "software_token_mfa_configuration": { Type: schema.TypeList, Optional: true, @@ -436,23 +425,17 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "tags": tagsSchema(), - "username_attributes": { Type: schema.TypeList, Optional: true, ForceNew: true, Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.UsernameAttributeTypeEmail, - cognitoidentityprovider.UsernameAttributeTypePhoneNumber, - }, false), + Type: schema.TypeString, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.UsernameAttributeType_Values(), false), }, ConflictsWith: []string{"alias_attributes"}, }, - "username_configuration": { Type: schema.TypeList, Optional: true, @@ -467,7 +450,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "user_pool_add_ons": { Type: schema.TypeList, Optional: true, @@ -475,18 +457,13 @@ func resourceAwsCognitoUserPool() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "advanced_security_mode": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.AdvancedSecurityModeTypeAudit, - cognitoidentityprovider.AdvancedSecurityModeTypeEnforced, - cognitoidentityprovider.AdvancedSecurityModeTypeOff, - }, false), + Type: schema.TypeString, + Required: true, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.AdvancedSecurityModeType_Values(), false), }, }, }, }, - "verification_message_template": { Type: schema.TypeList, Optional: true, @@ -495,13 +472,10 @@ func resourceAwsCognitoUserPool() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "default_email_option": { - Type: schema.TypeString, - Optional: true, - Default: cognitoidentityprovider.DefaultEmailOptionTypeConfirmWithCode, - ValidateFunc: validation.StringInSlice([]string{ - cognitoidentityprovider.DefaultEmailOptionTypeConfirmWithLink, - cognitoidentityprovider.DefaultEmailOptionTypeConfirmWithCode, - }, false), + Type: schema.TypeString, + Optional: true, + Default: cognitoidentityprovider.DefaultEmailOptionTypeConfirmWithCode, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.DefaultEmailOptionType_Values(), false), }, "email_message": { Type: schema.TypeString, @@ -539,33 +513,6 @@ func resourceAwsCognitoUserPool() *schema.Resource { }, }, }, - "account_recovery_setting": { - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "recovery_mechanism": { - Type: schema.TypeSet, - Required: true, - MinItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(cognitoidentityprovider.RecoveryOptionNameType_Values(), false), - }, - "priority": { - Type: schema.TypeInt, - Required: true, - }, - }, - }, - }, - }, - }, - }, }, } } From 29c3c2d7ec8856cee7e5cf8fb25f91635227da48 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 11:02:15 -0500 Subject: [PATCH 39/41] r/cognito_user_pool_client: Clean up schema --- aws/resource_aws_cognito_user_pool_client.go | 197 +++++++++---------- 1 file changed, 91 insertions(+), 106 deletions(-) diff --git a/aws/resource_aws_cognito_user_pool_client.go b/aws/resource_aws_cognito_user_pool_client.go index 8f1d71d6a47..49a98fc2b7c 100644 --- a/aws/resource_aws_cognito_user_pool_client.go +++ b/aws/resource_aws_cognito_user_pool_client.go @@ -25,74 +25,10 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { // https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPoolClient.html Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.All( - validation.StringLenBetween(1, 128), - validation.StringMatch(regexp.MustCompile(`[\w\s+=,.@-]+`), - "must satisfy regular expression pattern: `[\\w\\s+=,.@-]+`"), - ), - }, - - "client_secret": { - Type: schema.TypeString, - Computed: true, - Sensitive: true, - }, - - "generate_secret": { - Type: schema.TypeBool, - Optional: true, - ForceNew: true, - }, - - "user_pool_id": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - }, - - "explicit_auth_flows": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - ValidateFunc: validation.StringInSlice(cognitoidentityprovider.ExplicitAuthFlowsType_Values(), false), - }, - }, - - "read_attributes": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - - "write_attributes": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - - "refresh_token_validity": { - Type: schema.TypeInt, - Optional: true, - Default: 30, - ValidateFunc: validation.IntBetween(0, 3650), - }, "access_token_validity": { Type: schema.TypeInt, Optional: true, }, - "id_token_validity": { - Type: schema.TypeInt, - Optional: true, - }, - "allowed_oauth_flows": { Type: schema.TypeSet, Optional: true, @@ -102,12 +38,10 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { ValidateFunc: validation.StringInSlice(cognitoidentityprovider.OAuthFlowType_Values(), false), }, }, - "allowed_oauth_flows_user_pool_client": { Type: schema.TypeBool, Optional: true, }, - "allowed_oauth_scopes": { Type: schema.TypeSet, Optional: true, @@ -120,7 +54,44 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { // Constraints seem like to be designed for custom scopes which are not supported yet? }, }, - + "analytics_configuration": { + Type: schema.TypeList, + Optional: true, + MaxItems: 1, + MinItems: 1, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "application_id": { + Type: schema.TypeString, + Optional: true, + ExactlyOneOf: []string{"analytics_configuration.0.application_id", "analytics_configuration.0.application_arn"}, + }, + "application_arn": { + Type: schema.TypeString, + Optional: true, + ExactlyOneOf: []string{"analytics_configuration.0.application_id", "analytics_configuration.0.application_arn"}, + ConflictsWith: []string{"analytics_configuration.0.external_id", "analytics_configuration.0.role_arn"}, + ValidateFunc: validateArn, + }, + "external_id": { + Type: schema.TypeString, + ConflictsWith: []string{"analytics_configuration.0.application_arn"}, + Optional: true, + }, + "role_arn": { + Type: schema.TypeString, + Optional: true, + Computed: true, + ConflictsWith: []string{"analytics_configuration.0.application_arn"}, + ValidateFunc: validateArn, + }, + "user_data_shared": { + Type: schema.TypeBool, + Optional: true, + }, + }, + }, + }, "callback_urls": { Type: schema.TypeSet, Optional: true, @@ -134,7 +105,11 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { ), }, }, - + "client_secret": { + Type: schema.TypeString, + Computed: true, + Sensitive: true, + }, "default_redirect_uri": { Type: schema.TypeString, Optional: true, @@ -144,7 +119,23 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { "must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+`"), ), }, - + "explicit_auth_flows": { + Type: schema.TypeSet, + Optional: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + ValidateFunc: validation.StringInSlice(cognitoidentityprovider.ExplicitAuthFlowsType_Values(), false), + }, + }, + "generate_secret": { + Type: schema.TypeBool, + Optional: true, + ForceNew: true, + }, + "id_token_validity": { + Type: schema.TypeInt, + Optional: true, + }, "logout_urls": { Type: schema.TypeSet, Optional: true, @@ -158,14 +149,34 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { ), }, }, - + "name": { + Type: schema.TypeString, + Required: true, + ValidateFunc: validation.All( + validation.StringLenBetween(1, 128), + validation.StringMatch(regexp.MustCompile(`[\w\s+=,.@-]+`), + "must satisfy regular expression pattern: `[\\w\\s+=,.@-]+`"), + ), + }, "prevent_user_existence_errors": { Type: schema.TypeString, Optional: true, Computed: true, ValidateFunc: validation.StringInSlice(cognitoidentityprovider.PreventUserExistenceErrorTypes_Values(), false), }, - + "read_attributes": { + Type: schema.TypeSet, + Optional: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "refresh_token_validity": { + Type: schema.TypeInt, + Optional: true, + Default: 30, + ValidateFunc: validation.IntBetween(0, 3650), + }, "supported_identity_providers": { Type: schema.TypeSet, Optional: true, @@ -205,42 +216,16 @@ func resourceAwsCognitoUserPoolClient() *schema.Resource { }, }, }, - "analytics_configuration": { - Type: schema.TypeList, + "user_pool_id": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + }, + "write_attributes": { + Type: schema.TypeSet, Optional: true, - MaxItems: 1, - MinItems: 1, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "application_id": { - Type: schema.TypeString, - Optional: true, - ExactlyOneOf: []string{"analytics_configuration.0.application_id", "analytics_configuration.0.application_arn"}, - }, - "application_arn": { - Type: schema.TypeString, - Optional: true, - ExactlyOneOf: []string{"analytics_configuration.0.application_id", "analytics_configuration.0.application_arn"}, - ConflictsWith: []string{"analytics_configuration.0.external_id", "analytics_configuration.0.role_arn"}, - ValidateFunc: validateArn, - }, - "external_id": { - Type: schema.TypeString, - ConflictsWith: []string{"analytics_configuration.0.application_arn"}, - Optional: true, - }, - "role_arn": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ConflictsWith: []string{"analytics_configuration.0.application_arn"}, - ValidateFunc: validateArn, - }, - "user_data_shared": { - Type: schema.TypeBool, - Optional: true, - }, - }, + Elem: &schema.Schema{ + Type: schema.TypeString, }, }, }, From 77b3c314022f403769b5aaeeaed68e95d34141ee Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Mar 2021 11:16:01 -0500 Subject: [PATCH 40/41] docs/r/cognito_user_pool: Clarify meaning --- website/docs/r/cognito_user_pool.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/cognito_user_pool.markdown b/website/docs/r/cognito_user_pool.markdown index 28da2772419..200754ddfc7 100644 --- a/website/docs/r/cognito_user_pool.markdown +++ b/website/docs/r/cognito_user_pool.markdown @@ -110,7 +110,7 @@ The following arguments are optional: ### device_configuration * `challenge_required_on_new_device` - (Optional) Whether a challenge is required on a new device. Only applicable to a new device. -* `device_only_remembered_on_user_prompt` - (Optional) Whether a device is only remembered on user prompt. +* `device_only_remembered_on_user_prompt` - (Optional) Whether a device is only remembered on user prompt. `false` equates to "Always" remember, `true` is "User Opt In," and not using a `device_configuration` block is "No." ### email_configuration From 50a1c3230e31f1e97cb0a226ac2b133b916faf83 Mon Sep 17 00:00:00 2001 From: mbordas09 Date: Mon, 27 Jul 2020 10:50:16 -0600 Subject: [PATCH 41/41] docs/r/cognito_user_pool: Clarify documentation --- website/docs/r/cognito_user_pool.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/r/cognito_user_pool.markdown b/website/docs/r/cognito_user_pool.markdown index 200754ddfc7..3fc8ee879e1 100644 --- a/website/docs/r/cognito_user_pool.markdown +++ b/website/docs/r/cognito_user_pool.markdown @@ -144,15 +144,15 @@ The following arguments are optional: ### schema -~> **NOTE:** When defining an `attribute_data_type` of `String` or `Number`, the respective attribute constraints configuration block (e.g `string_attribute_constraints` or `number_attribute_contraints`) is required to prevent recreation of the Terraform resource. This requirement is true for both standard (e.g. name, email) and custom schema attributes. +~> **NOTE:** When defining an `attribute_data_type` of `String` or `Number`, the respective attribute constraints configuration block (e.g `string_attribute_constraints` or `number_attribute_contraints`) is **required** to prevent recreation of the Terraform resource. This requirement is true for both standard (e.g. name, email) and custom schema attributes. * `attribute_data_type` - (Required) Attribute data type. Must be one of `Boolean`, `Number`, `String`, `DateTime`. * `developer_only_attribute` - (Optional) Whether the attribute type is developer only. * `mutable` - (Optional) Whether the attribute can be changed once it has been created. * `name` - (Required) Name of the attribute. -* `number_attribute_constraints` - (Optional) Configuration block for the constraints for an attribute of the number type. [Detailed below](#number_attribute_constraints). +* `number_attribute_constraints` - (Required when `attribute_data_type` is `Number`) Configuration block for the constraints for an attribute of the number type. [Detailed below](#number_attribute_constraints). * `required` - (Optional) Whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail. -* `string_attribute_constraints` - (Optional) Constraints for an attribute of the string type. [Detailed below](#string_attribute_constraints). +* `string_attribute_constraints` - (Required when `attribute_data_type` is `String`) Constraints for an attribute of the string type. [Detailed below](#string_attribute_constraints). #### schema: Defaults for Standard Attributes