Skip to content

Commit

Permalink
resource/aws_cognito_identity_provider: Address PR #10705 feedback
Browse files Browse the repository at this point in the history
Reference: #10705 (review)

Output from acceptance testing:

```
--- PASS: TestAccAWSCognitoIdentityProvider_basic (33.86s)
```
  • Loading branch information
bflad committed Apr 15, 2020
1 parent 19ecf49 commit 87996d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aws/resource_aws_cognito_identity_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ func resourceAwsCognitoIdentityProvider() *schema.Resource {
Optional: true,
Computed: true,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validation.StringLenBetween(1, 32),
Type: schema.TypeString,
},
},

"idp_identifiers": {
Type: schema.TypeList,
Optional: true,
MaxItems: 50,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validation.All(
Expand Down Expand Up @@ -71,6 +71,7 @@ func resourceAwsCognitoIdentityProvider() *schema.Resource {
cognitoidentityprovider.IdentityProviderTypeTypeGoogle,
cognitoidentityprovider.IdentityProviderTypeTypeLoginWithAmazon,
cognitoidentityprovider.IdentityProviderTypeTypeOidc,
cognitoidentityprovider.IdentityProviderTypeTypeSignInWithApple,
}, false),
},

Expand Down

0 comments on commit 87996d6

Please sign in to comment.