Skip to content
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

Fix name updates on cognito_user_pool_client resource #9437

Merged

Conversation

jorcau
Copy link

@jorcau jorcau commented Jul 22, 2019

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Fixes #7525

Release note for CHANGELOG:

BUG FIXES:

* resource/aws_cognito_user_pool_client: Properly update name value

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSCognitoUserPoolClient_ClientName'

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSCognitoUserPoolClient_ClientName -timeout 120m
?   	github.com/terraform-providers/terraform-provider-aws	[no test files]
=== RUN   TestAccAWSCognitoUserPoolClient_ClientName
=== PAUSE TestAccAWSCognitoUserPoolClient_ClientName
=== CONT  TestAccAWSCognitoUserPoolClient_ClientName
--- PASS: TestAccAWSCognitoUserPoolClient_ClientName (47.14s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	47.232s
...

@jorcau jorcau requested a review from a team July 22, 2019 14:41
@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/cognito tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jul 22, 2019
@jorcau jorcau force-pushed the cognito_user_pool_client_fix_client_name_update branch from 59ee7aa to 95752fe Compare July 22, 2019 16:48
@bflad bflad added the bug Addresses a defect in current functionality. label Jul 22, 2019
@bflad bflad added this to the v2.21.0 milestone Jul 22, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this fix and accompanying acceptance test, @jorcau, LGTM. 🚀

--- PASS: TestAccAWSCognitoUserPoolClient_basic (15.26s)
--- PASS: TestAccAWSCognitoUserPoolClient_importBasic (17.08s)
--- PASS: TestAccAWSCognitoUserPoolClient_allFields (18.60s)
--- PASS: TestAccAWSCognitoUserPoolClient_RefreshTokenValidity (24.41s)
--- PASS: TestAccAWSCognitoUserPoolClient_Name (24.48s)
--- PASS: TestAccAWSCognitoUserPoolClient_allFieldsUpdatingOneField (24.57s)

@bflad bflad merged commit 95752fe into hashicorp:master Jul 23, 2019
bflad added a commit that referenced this pull request Jul 23, 2019
@bflad
Copy link
Contributor

bflad commented Jul 26, 2019

This has been released in version 2.21.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, documentation updates, or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Nov 2, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. size/S Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_cognito_user_pool_client name isn't updated
2 participants