-
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_client - add revocation support + retry on concurrent changes #20031
r/cognito_user_pool_client - add revocation support + retry on concurrent changes #20031
Conversation
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=TestAccAWSCognitoUserPoolClient_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCognitoUserPoolClient_ -timeout 180m
=== RUN TestAccAWSCognitoUserPoolClient_basic
=== PAUSE TestAccAWSCognitoUserPoolClient_basic
=== RUN TestAccAWSCognitoUserPoolClient_enableRevocation
=== PAUSE TestAccAWSCognitoUserPoolClient_enableRevocation
=== 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
=== CONT TestAccAWSCognitoUserPoolClient_basic
=== CONT TestAccAWSCognitoUserPoolClient_allFields
=== CONT TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfig
=== CONT TestAccAWSCognitoUserPoolClient_disappears
=== CONT TestAccAWSCognitoUserPoolClient_enableRevocation
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== CONT TestAccAWSCognitoUserPoolClient_idTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_Name
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_disappears_userPool
=== CONT TestAccAWSCognitoUserPoolClient_refreshTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnits
=== CONT TestAccAWSCognitoUserPoolClient_accessTokenValidity
--- PASS: TestAccAWSCognitoUserPoolClient_disappears_userPool (31.39s)
--- PASS: TestAccAWSCognitoUserPoolClient_disappears (40.06s)
--- PASS: TestAccAWSCognitoUserPoolClient_allFields (46.44s)
--- PASS: TestAccAWSCognitoUserPoolClient_basic (46.61s)
--- PASS: TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn (49.65s)
--- PASS: TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField (73.97s)
--- PASS: TestAccAWSCognitoUserPoolClient_Name (74.05s)
--- PASS: TestAccAWSCognitoUserPoolClient_idTokenValidity (74.36s)
--- PASS: TestAccAWSCognitoUserPoolClient_accessTokenValidity (74.37s)
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity (74.37s)
--- PASS: TestAccAWSCognitoUserPoolClient_refreshTokenValidity (74.69s)
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnits (74.81s)
--- PASS: TestAccAWSCognitoUserPoolClient_enableRevocation (86.77s)
--- PASS: TestAccAWSCognitoUserPoolClient_analyticsConfig (88.86s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 92.568s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSCognitoUserPoolClient_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCognitoUserPoolClient_ -timeout 180m
=== RUN TestAccAWSCognitoUserPoolClient_basic
=== PAUSE TestAccAWSCognitoUserPoolClient_basic
=== RUN TestAccAWSCognitoUserPoolClient_enableRevocation
=== PAUSE TestAccAWSCognitoUserPoolClient_enableRevocation
=== 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
=== CONT TestAccAWSCognitoUserPoolClient_basic
=== CONT TestAccAWSCognitoUserPoolClient_allFields
=== CONT TestAccAWSCognitoUserPoolClient_disappears_userPool
=== CONT TestAccAWSCognitoUserPoolClient_disappears
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfig
=== CONT TestAccAWSCognitoUserPoolClient_idTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_enableRevocation
=== CONT TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnits
=== CONT TestAccAWSCognitoUserPoolClient_accessTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_refreshTokenValidity
=== CONT TestAccAWSCognitoUserPoolClient_Name
=== CONT TestAccAWSCognitoUserPoolClient_analyticsConfigWithArn
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/07/09 11:53:39 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.14.0
Error: error creating Cognito User Pool Client (tf-acc-test-6831183117328662861): 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_analyticsConfig
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/07/09 11:53:39 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.14.0
Error: error creating Cognito User Pool Client (tf-acc-test-9180381470522613361): 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_analyticsConfigWithArn (32.68s)
--- SKIP: TestAccAWSCognitoUserPoolClient_analyticsConfig (32.81s)
--- PASS: TestAccAWSCognitoUserPoolClient_disappears_userPool (41.49s)
--- PASS: TestAccAWSCognitoUserPoolClient_disappears (51.04s)
--- PASS: TestAccAWSCognitoUserPoolClient_allFields (54.13s)
--- PASS: TestAccAWSCognitoUserPoolClient_basic (54.79s)
--- PASS: TestAccAWSCognitoUserPoolClient_refreshTokenValidity (73.02s)
--- PASS: TestAccAWSCognitoUserPoolClient_accessTokenValidity (73.59s)
--- PASS: TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField (75.75s)
--- PASS: TestAccAWSCognitoUserPoolClient_Name (75.82s)
--- PASS: TestAccAWSCognitoUserPoolClient_idTokenValidity (75.94s)
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnitsWTokenValidity (76.19s)
--- PASS: TestAccAWSCognitoUserPoolClient_tokenValidityUnits (76.20s)
--- PASS: TestAccAWSCognitoUserPoolClient_enableRevocation (89.35s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 94.212s
This functionality has been released in v3.50.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 #19794
Closes #19924
Closes #20012
Output from acceptance testing: