-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/cognito_user_pool - add custom_email_sender
, kms_key_id
and custom_sms_sender
to lambda_config
+ move cognito user pool function from strucute.go
#16502
Conversation
custom_email_sender
and custom_sms_sender
to lambda_config
+ move cognito user pool function from strucute.gocustom_email_sender
, kms_key_id
and custom_sms_sender
to lambda_config
+ move cognito user pool function from strucute.go
cc8c3aa
to
66d6b46
Compare
Closes #16760 |
84d3a48
to
5252aac
Compare
@DrFaust92 Any update here? The changes you made here for user pools are really welcome! |
5252aac
to
8044039
Compare
custom_email_sender
, kms_key_id
and custom_sms_sender
to lambda_config
+ move cognito user pool function from strucute.gocustom_email_sender
, kms_key_id
and custom_sms_sender
to lambda_config
+ move cognito user pool function from strucute.go
rebased:
|
4beb9a1
to
0436313
Compare
@DrFaust92 These changes are great, is there anything that can be done to get this merged in quicker 😃 |
@DrFaust92 how can we help you? This is great! |
0436313
to
75a9cf1
Compare
rebased
|
Thanks for updating this @DrFaust92 ! When will it be released? |
75a9cf1
to
f420288
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSCognitoUserPool_\|TestAccAWSCognitoUserPoolClient_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCognitoUserPool_\|TestAccAWSCognitoUserPoolClient_ -timeout 180m
=== RUN TestAccAWSCognitoUserPoolClient_basic
=== PAUSE TestAccAWSCognitoUserPoolClient_basic
=== RUN TestAccAWSCognitoUserPoolClient_refreshTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_refreshTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_accessTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_accessTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_idTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_idTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_tokenValidityUnits
=== PAUSE TestAccAWSCognitoUserPoolClient_tokenValidityUnits
=== RUN TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_Name
=== PAUSE TestAccAWSCognitoUserPoolClient_Name
=== RUN TestAccAWSCognitoUserPoolClient_allFields
=== PAUSE TestAccAWSCognitoUserPoolClient_allFields
=== RUN TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== PAUSE TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== RUN TestAccAWSCognitoUserPoolClient_analyticsConfig
=== PAUSE TestAccAWSCognitoUserPoolClient_analyticsConfig
=== RUN TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== PAUSE TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== RUN TestAccAWSCognitoUserPoolClient_disappears
=== PAUSE TestAccAWSCognitoUserPoolClient_disappears
=== RUN TestAccAWSCognitoUserPoolClient_disappears_userPool
=== PAUSE TestAccAWSCognitoUserPoolClient_disappears_userPool
=== RUN TestAccAWSCognitoUserPool_basic
=== PAUSE TestAccAWSCognitoUserPool_basic
=== RUN TestAccAWSCognitoUserPool_recovery
=== PAUSE TestAccAWSCognitoUserPool_recovery
=== RUN TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration
=== RUN TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy
=== PAUSE TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy
=== RUN TestAccAWSCognitoUserPool_withAdvancedSecurityMode
=== PAUSE TestAccAWSCognitoUserPool_withAdvancedSecurityMode
=== RUN TestAccAWSCognitoUserPool_withDeviceConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withDeviceConfiguration
=== RUN TestAccAWSCognitoUserPool_withEmailVerificationMessage
=== PAUSE TestAccAWSCognitoUserPool_withEmailVerificationMessage
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration
=== RUN TestAccAWSCognitoUserPool_SmsAuthenticationMessage
=== PAUSE TestAccAWSCognitoUserPool_SmsAuthenticationMessage
=== RUN TestAccAWSCognitoUserPool_SmsConfiguration
=== PAUSE TestAccAWSCognitoUserPool_SmsConfiguration
=== RUN TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId
=== PAUSE TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId
=== RUN TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn
=== PAUSE TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn
=== RUN TestAccAWSCognitoUserPool_SmsVerificationMessage
=== PAUSE TestAccAWSCognitoUserPool_SmsVerificationMessage
=== RUN TestAccAWSCognitoUserPool_withEmailConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withEmailConfiguration
=== RUN TestAccAWSCognitoUserPool_withEmailConfigurationSource
resource_aws_cognito_user_pool_test.go:799: 'TEST_AWS_SES_VERIFIED_EMAIL_ARN' not set, skipping test.
--- SKIP: TestAccAWSCognitoUserPool_withEmailConfigurationSource (0.00s)
=== RUN TestAccAWSCognitoUserPool_withTags
=== PAUSE TestAccAWSCognitoUserPool_withTags
=== RUN TestAccAWSCognitoUserPool_withAliasAttributes
=== PAUSE TestAccAWSCognitoUserPool_withAliasAttributes
=== RUN TestAccAWSCognitoUserPool_withUsernameAttributes
=== PAUSE TestAccAWSCognitoUserPool_withUsernameAttributes
=== RUN TestAccAWSCognitoUserPool_withPasswordPolicy
=== PAUSE TestAccAWSCognitoUserPool_withPasswordPolicy
=== RUN TestAccAWSCognitoUserPool_withUsernameConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withUsernameConfiguration
=== RUN TestAccAWSCognitoUserPool_withLambdaConfig
=== PAUSE TestAccAWSCognitoUserPool_withLambdaConfig
=== RUN TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig
=== PAUSE TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig
=== RUN TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig
=== PAUSE TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig
=== RUN TestAccAWSCognitoUserPool_schemaAttributes
=== PAUSE TestAccAWSCognitoUserPool_schemaAttributes
=== RUN TestAccAWSCognitoUserPool_schemaAttributesRemoved
=== PAUSE TestAccAWSCognitoUserPool_schemaAttributesRemoved
=== RUN TestAccAWSCognitoUserPool_schemaAttributesModified
=== PAUSE TestAccAWSCognitoUserPool_schemaAttributesModified
=== RUN TestAccAWSCognitoUserPool_withVerificationMessageTemplate
=== PAUSE TestAccAWSCognitoUserPool_withVerificationMessageTemplate
=== RUN TestAccAWSCognitoUserPool_update
=== PAUSE TestAccAWSCognitoUserPool_update
=== RUN TestAccAWSCognitoUserPool_disappears
=== PAUSE TestAccAWSCognitoUserPool_disappears
=== CONT TestAccAWSCognitoUserPoolClient_basic
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration
=== CONT TestAccAWSCognitoUserPoolClient_disappears_userPool
=== CONT TestAccAWSCognitoUserPool_withAdvancedSecurityMode
=== CONT TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy
=== CONT TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration
=== CONT TestAccAWSCognitoUserPool_recovery
=== CONT TestAccAWSCognitoUserPool_basic
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfig
=== CONT TestAccAWSCognitoUserPool_withDeviceConfiguration
=== CONT TestAccAWSCognitoUserPoolClient_disappears
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== CONT TestAccAWSCognitoUserPool_withEmailVerificationMessage
=== CONT TestAccAWSCognitoUserPoolClient_Name
=== CONT TestAccAWSCognitoUserPoolClient_idTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== CONT TestAccAWSCognitoUserPoolClient_allFields
--- PASS: TestAccAWSCognitoUserPoolClient_disappears_userPool (55.26s)
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
--- PASS: TestAccAWSCognitoUserPool_basic (59.66s)
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnits
--- PASS: TestAccAWSCognitoUserPoolClient_disappears (62.14s)
=== CONT TestAccAWSCognitoUserPoolClient_accessTokenValidity
--- PASS: TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy (67.24s)
=== CONT TestAccAWSCognitoUserPoolClient_refreshTokenValidity
--- PASS: TestAccAWSCognitoUserPoolClient_basic (67.82s)
=== CONT TestAccAWSCognitoUserPool_withUsernameConfiguration
--- PASS: TestAccAWSCognitoUserPoolClient_allFields (69.87s)
=== CONT TestAccAWSCognitoUserPool_SmsVerificationMessage
--- PASS: TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn (70.41s)
=== CONT TestAccAWSCognitoUserPool_withPasswordPolicy
--- PASS: TestAccAWSCognitoUserPool_withEmailVerificationMessage (107.73s)
=== CONT TestAccAWSCognitoUserPool_withUsernameAttributes
--- PASS: TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration (109.64s)
=== CONT TestAccAWSCognitoUserPool_withAliasAttributes
--- PASS: TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField (115.13s)
=== CONT TestAccAWSCognitoUserPool_withTags
--- PASS: TestAccAWSCognitoUserPool_withDeviceConfiguration (115.26s)
=== CONT TestAccAWSCognitoUserPool_withEmailConfiguration
--- PASS: TestAccAWSCognitoUserPoolClient_Name (119.65s)
=== CONT TestAccAWSCognitoUserPool_disappears
--- PASS: TestAccAWSCognitoUserPoolClient_idTokenValidity (122.35s)
=== CONT TestAccAWSCognitoUserPool_SmsConfiguration
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration (135.47s)
=== CONT TestAccAWSCognitoUserPool_update
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration (160.87s)
=== CONT TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId
--- PASS: TestAccAWSCognitoUserPool_withAdvancedSecurityMode (161.73s)
=== CONT TestAccAWSCognitoUserPool_SmsAuthenticationMessage
--- PASS: TestAccAWSCognitoUserPool_recovery (163.27s)
=== CONT TestAccAWSCognitoUserPool_schemaAttributes
--- PASS: TestAccAWSCognitoUserPool_disappears (48.43s)
=== CONT TestAccAWSCognitoUserPool_withVerificationMessageTemplate
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity (118.71s)
=== CONT TestAccAWSCognitoUserPool_schemaAttributesModified
--- PASS: TestAccAWSCognitoUserPoolClient_analyticsConfig (176.28s)
=== CONT TestAccAWSCognitoUserPool_schemaAttributesRemoved
--- PASS: TestAccAWSCognitoUserPool_withEmailConfiguration (64.01s)
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration
--- PASS: TestAccAWSCognitoUserPool_SmsVerificationMessage (112.42s)
=== CONT TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig
--- PASS: TestAccAWSCognitoUserPoolClient_accessTokenValidity (120.60s)
=== CONT TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnits (126.88s)
=== CONT TestAccAWSCognitoUserPool_withLambdaConfig
--- PASS: TestAccAWSCognitoUserPool_withPasswordPolicy (118.84s)
=== CONT TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn
--- PASS: TestAccAWSCognitoUserPoolClient_refreshTokenValidity (124.35s)
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration (191.96s)
--- PASS: TestAccAWSCognitoUserPool_withUsernameConfiguration (124.43s)
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration (198.52s)
--- PASS: TestAccAWSCognitoUserPool_withUsernameAttributes (108.29s)
--- PASS: TestAccAWSCognitoUserPool_withAliasAttributes (110.65s)
--- PASS: TestAccAWSCognitoUserPool_schemaAttributesModified (54.74s)
--- PASS: TestAccAWSCognitoUserPool_schemaAttributesRemoved (55.69s)
--- PASS: TestAccAWSCognitoUserPool_SmsAuthenticationMessage (80.31s)
--- PASS: TestAccAWSCognitoUserPool_withTags (128.71s)
--- PASS: TestAccAWSCognitoUserPool_withVerificationMessageTemplate (76.14s)
--- PASS: TestAccAWSCognitoUserPool_schemaAttributes (81.57s)
--- PASS: TestAccAWSCognitoUserPool_SmsConfiguration (130.92s)
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration (80.68s)
--- PASS: TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId (100.89s)
--- PASS: TestAccAWSCognitoUserPool_withLambdaConfig (82.25s)
--- PASS: TestAccAWSCognitoUserPool_update (137.65s)
--- PASS: TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig (92.01s)
--- PASS: TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn (90.30s)
--- PASS: TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig (105.38s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 291.049s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSCognitoUserPool_\|TestAccAWSCognitoUserPoolClient_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCognitoUserPool_\|TestAccAWSCognitoUserPoolClient_ -timeout 180m
=== RUN TestAccAWSCognitoUserPoolClient_basic
=== PAUSE TestAccAWSCognitoUserPoolClient_basic
=== RUN TestAccAWSCognitoUserPoolClient_refreshTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_refreshTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_accessTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_accessTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_idTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_idTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_tokenValidityUnits
=== PAUSE TestAccAWSCognitoUserPoolClient_tokenValidityUnits
=== RUN TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
=== PAUSE TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
=== RUN TestAccAWSCognitoUserPoolClient_Name
=== PAUSE TestAccAWSCognitoUserPoolClient_Name
=== RUN TestAccAWSCognitoUserPoolClient_allFields
=== PAUSE TestAccAWSCognitoUserPoolClient_allFields
=== RUN TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== PAUSE TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== RUN TestAccAWSCognitoUserPoolClient_analyticsConfig
=== PAUSE TestAccAWSCognitoUserPoolClient_analyticsConfig
=== RUN TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== PAUSE TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== RUN TestAccAWSCognitoUserPoolClient_disappears
=== PAUSE TestAccAWSCognitoUserPoolClient_disappears
=== RUN TestAccAWSCognitoUserPoolClient_disappears_userPool
=== PAUSE TestAccAWSCognitoUserPoolClient_disappears_userPool
=== RUN TestAccAWSCognitoUserPool_basic
=== PAUSE TestAccAWSCognitoUserPool_basic
=== RUN TestAccAWSCognitoUserPool_recovery
=== PAUSE TestAccAWSCognitoUserPool_recovery
=== RUN TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration
=== RUN TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy
=== PAUSE TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy
=== RUN TestAccAWSCognitoUserPool_withAdvancedSecurityMode
=== PAUSE TestAccAWSCognitoUserPool_withAdvancedSecurityMode
=== RUN TestAccAWSCognitoUserPool_withDeviceConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withDeviceConfiguration
=== RUN TestAccAWSCognitoUserPool_withEmailVerificationMessage
=== PAUSE TestAccAWSCognitoUserPool_withEmailVerificationMessage
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration
=== RUN TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration
=== PAUSE TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration
=== RUN TestAccAWSCognitoUserPool_SmsAuthenticationMessage
=== PAUSE TestAccAWSCognitoUserPool_SmsAuthenticationMessage
=== RUN TestAccAWSCognitoUserPool_SmsConfiguration
=== PAUSE TestAccAWSCognitoUserPool_SmsConfiguration
=== RUN TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId
=== PAUSE TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId
=== RUN TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn
=== PAUSE TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn
=== RUN TestAccAWSCognitoUserPool_SmsVerificationMessage
=== PAUSE TestAccAWSCognitoUserPool_SmsVerificationMessage
=== RUN TestAccAWSCognitoUserPool_withEmailConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withEmailConfiguration
=== RUN TestAccAWSCognitoUserPool_withEmailConfigurationSource
resource_aws_cognito_user_pool_test.go:799: 'TEST_AWS_SES_VERIFIED_EMAIL_ARN' not set, skipping test.
--- SKIP: TestAccAWSCognitoUserPool_withEmailConfigurationSource (0.00s)
=== RUN TestAccAWSCognitoUserPool_withTags
=== PAUSE TestAccAWSCognitoUserPool_withTags
=== RUN TestAccAWSCognitoUserPool_withAliasAttributes
=== PAUSE TestAccAWSCognitoUserPool_withAliasAttributes
=== RUN TestAccAWSCognitoUserPool_withUsernameAttributes
=== PAUSE TestAccAWSCognitoUserPool_withUsernameAttributes
=== RUN TestAccAWSCognitoUserPool_withPasswordPolicy
=== PAUSE TestAccAWSCognitoUserPool_withPasswordPolicy
=== RUN TestAccAWSCognitoUserPool_withUsernameConfiguration
=== PAUSE TestAccAWSCognitoUserPool_withUsernameConfiguration
=== RUN TestAccAWSCognitoUserPool_withLambdaConfig
=== PAUSE TestAccAWSCognitoUserPool_withLambdaConfig
=== RUN TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig
=== PAUSE TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig
=== RUN TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig
=== PAUSE TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig
=== RUN TestAccAWSCognitoUserPool_schemaAttributes
=== PAUSE TestAccAWSCognitoUserPool_schemaAttributes
=== RUN TestAccAWSCognitoUserPool_schemaAttributesRemoved
=== PAUSE TestAccAWSCognitoUserPool_schemaAttributesRemoved
=== RUN TestAccAWSCognitoUserPool_schemaAttributesModified
=== PAUSE TestAccAWSCognitoUserPool_schemaAttributesModified
=== RUN TestAccAWSCognitoUserPool_withVerificationMessageTemplate
=== PAUSE TestAccAWSCognitoUserPool_withVerificationMessageTemplate
=== RUN TestAccAWSCognitoUserPool_update
=== PAUSE TestAccAWSCognitoUserPool_update
=== RUN TestAccAWSCognitoUserPool_disappears
=== PAUSE TestAccAWSCognitoUserPool_disappears
=== CONT TestAccAWSCognitoUserPoolClient_basic
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration
=== CONT TestAccAWSCognitoUserPool_withUsernameConfiguration
=== CONT TestAccAWSCognitoUserPoolClient_disappears_userPool
=== CONT TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn
=== CONT TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId
=== CONT TestAccAWSCognitoUserPool_SmsConfiguration
=== CONT TestAccAWSCognitoUserPool_SmsAuthenticationMessage
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration
=== CONT TestAccAWSCognitoUserPoolClient_Name
=== CONT TestAccAWSCognitoUserPoolClient_disappears
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfig
=== CONT TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== CONT TestAccAWSCognitoUserPool_SmsVerificationMessage
=== CONT TestAccAWSCognitoUserPool_withPasswordPolicy
=== CONT TestAccAWSCognitoUserPool_withUsernameAttributes
=== CONT TestAccAWSCognitoUserPool_withAliasAttributes
=== CONT TestAccAWSCognitoUserPool_withTags
=== CONT TestAccAWSCognitoUserPoolClient_allFields
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfig
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/07 14:29:03 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Cognito User Pool Client (3ldox4rpdy): InvalidParameterException: The integration with Pinpoint is not supported in this region.
on terraform_plugin_test.tf line 55, in resource "aws_cognito_user_pool_client" "test":
55: resource "aws_cognito_user_pool_client" "test" {
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/07 14:29:05 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Cognito User Pool Client (17pdlzd96j): InvalidParameterException: The integration with Pinpoint is not supported in this region.
on terraform_plugin_test.tf line 55, in resource "aws_cognito_user_pool_client" "test":
55: resource "aws_cognito_user_pool_client" "test" {
--- SKIP: TestAccAWSCognitoUserPoolClient_analyticsConfig (35.64s)
=== CONT TestAccAWSCognitoUserPool_withEmailConfiguration
--- SKIP: TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn (38.98s)
=== CONT TestAccAWSCognitoUserPool_withDeviceConfiguration
--- PASS: TestAccAWSCognitoUserPoolClient_disappears_userPool (48.52s)
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration
--- PASS: TestAccAWSCognitoUserPoolClient_disappears (57.29s)
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration
--- PASS: TestAccAWSCognitoUserPoolClient_allFields (69.28s)
=== CONT TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration
--- PASS: TestAccAWSCognitoUserPoolClient_basic (69.80s)
=== CONT TestAccAWSCognitoUserPool_withEmailVerificationMessage
--- PASS: TestAccAWSCognitoUserPool_withEmailConfiguration (61.56s)
=== CONT TestAccAWSCognitoUserPoolClient_idTokenValidity
--- PASS: TestAccAWSCognitoUserPool_SmsVerificationMessage (104.90s)
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
--- PASS: TestAccAWSCognitoUserPool_withPasswordPolicy (104.90s)
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnits
--- PASS: TestAccAWSCognitoUserPool_withUsernameAttributes (106.70s)
=== CONT TestAccAWSCognitoUserPool_withAdvancedSecurityMode
--- PASS: TestAccAWSCognitoUserPool_withAliasAttributes (110.89s)
=== CONT TestAccAWSCognitoUserPool_schemaAttributesModified
--- PASS: TestAccAWSCognitoUserPool_SmsAuthenticationMessage (113.72s)
=== CONT TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy
--- PASS: TestAccAWSCognitoUserPool_withUsernameConfiguration (114.12s)
=== CONT TestAccAWSCognitoUserPool_recovery
--- PASS: TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField (116.11s)
=== CONT TestAccAWSCognitoUserPoolClient_accessTokenValidity
--- PASS: TestAccAWSCognitoUserPoolClient_Name (118.29s)
=== CONT TestAccAWSCognitoUserPool_update
=== CONT TestAccAWSCognitoUserPool_withAdvancedSecurityMode
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/07 14:30:47 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Cognito User Pool: InvalidParameterException: The advanced security features are not supported in this region.
on terraform_plugin_test.tf line 2, in resource "aws_cognito_user_pool" "test":
2: resource "aws_cognito_user_pool" "test" {
--- SKIP: TestAccAWSCognitoUserPool_withAdvancedSecurityMode (22.80s)
=== CONT TestAccAWSCognitoUserPool_disappears
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfigurationToSmsConfiguration (132.82s)
=== CONT TestAccAWSCognitoUserPool_basic
--- PASS: TestAccAWSCognitoUserPool_SmsConfiguration_ExternalId (144.80s)
=== CONT TestAccAWSCognitoUserPoolClient_refreshTokenValidity
--- PASS: TestAccAWSCognitoUserPool_SmsConfiguration_SnsCallerArn (154.72s)
=== CONT TestAccAWSCognitoUserPool_withVerificationMessageTemplate
--- PASS: TestAccAWSCognitoUserPool_withDeviceConfiguration (118.84s)
=== CONT TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig
--- PASS: TestAccAWSCognitoUserPool_withTags (162.57s)
=== CONT TestAccAWSCognitoUserPool_schemaAttributesRemoved
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SoftwareTokenMfaConfiguration (168.19s)
=== CONT TestAccAWSCognitoUserPool_schemaAttributes
--- PASS: TestAccAWSCognitoUserPool_disappears (50.84s)
=== CONT TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig
--- PASS: TestAccAWSCognitoUserPool_withAdminCreateUserConfigurationAndPasswordPolicy (68.17s)
=== CONT TestAccAWSCognitoUserPool_withLambdaConfig
--- PASS: TestAccAWSCognitoUserPool_withEmailVerificationMessage (112.99s)
=== CONT TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration
--- PASS: TestAccAWSCognitoUserPool_SmsConfiguration (186.07s)
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationToSoftwareTokenMfaConfiguration (140.12s)
--- PASS: TestAccAWSCognitoUserPool_schemaAttributesModified (82.92s)
--- PASS: TestAccAWSCognitoUserPool_basic (62.34s)
--- PASS: TestAccAWSCognitoUserPoolClient_idTokenValidity (117.82s)
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity (115.09s)
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnits (117.28s)
--- PASS: TestAccAWSCognitoUserPoolClient_accessTokenValidity (108.41s)
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfigurationAndSoftwareTokenMfaConfiguration (168.20s)
--- PASS: TestAccAWSCognitoUserPool_schemaAttributesRemoved (65.64s)
--- PASS: TestAccAWSCognitoUserPoolClient_refreshTokenValidity (94.59s)
--- PASS: TestAccAWSCognitoUserPool_MfaConfiguration_SmsConfiguration (170.12s)
--- PASS: TestAccAWSCognitoUserPool_withVerificationMessageTemplate (87.45s)
--- PASS: TestAccAWSCognitoUserPool_recovery (129.80s)
--- PASS: TestAccAWSCognitoUserPool_schemaAttributes (77.12s)
--- PASS: TestAccAWSCognitoUserPool_withAdminCreateUserConfiguration (66.99s)
--- PASS: TestAccAWSCognitoUserPool_withLambdaConfig_smsConfig (100.60s)
--- PASS: TestAccAWSCognitoUserPool_update (140.19s)
--- PASS: TestAccAWSCognitoUserPool_withLambdaConfig_emailConfig (89.39s)
--- PASS: TestAccAWSCognitoUserPool_withLambdaConfig (94.43s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 279.413s
@DrFaust92 Thanks for the contribution 🎉 👏. |
|
||
#### custom_sms_sender | ||
|
||
* `lambda_arn` - (Required) he Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send SMS notifications to users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(T) he Lambda Amazon
This functionality has been released in v3.45.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #16760
Release note for CHANGELOG:
Output from acceptance testing: