-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Cognito User Pool UI Customization #8114
Conversation
fd0c98b
to
f7f3447
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.
Just some documentation/error message nitpicks I spotted. Otherwise it looks ok to me, but I'm hardly one to approve this.
Thanks @chadasapp ! I'm currently in holiday so I'll unlikely be able to look at this before the end of august.
No idea why I've written this, I never use French in code 🤔 |
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.
Hey @gdlx, are you back from vacation? Would be great to get this feature
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.
Hey @gdlx, are you back from vacation? Would be great to get this feature
Sorry, I didn't work with Cognito nor Terraform for a few months so it's a bit difficult to go back to this but I'll take a look shortly. |
f7f3447
to
6f9c7ae
Compare
@timmjd I've rebased and accepted your changes, thanks a lot for helping ! But I fear this won't be enough to get the feature merged. It has to be reviewed by the core team. |
I think that CI needs to pass as well, @gdlx - this will be a very useful feature, hope someone with some terraform foo can help you get this merged 🥇 |
👍 |
I'm sorry, I don't work with Terraform anymore for now and don't have much time to improve the PR. That and the fact that the tests were passing when I sent the PR and it didn't help merging it then, it doesn't motivate me to spend more time to wait 6 more months before having to fix it again. However, I'd be pleased to give push access on the repo to whoever wants to fix the code ! |
@gdlx I'll pick this up if you are ok with that? |
@jfharden Did you get access? Happy to help test if you need it. I have a terraform script for Cognito but manually use CLI for this part. |
Notification of Recent and Upcoming Changes to ContributionsThank you for this contribution! There have been a few recent development changes that affect this pull request. We apologize for the inconvenience, especially if there have been long review delays up until now. Please note that this is automated message from an unmonitored account. See the FAQ for additional information on the maintainer team and review prioritization. If you are unable to complete these updates, please leave a comment for the community and maintainers so someone can potentially continue the work. The maintainers will encourage other contributors to use the existing contribution as the base for additional changes as appropriate. Otherwise, contributions that do not receive updated code or comments from the original contributor may be closed in the future so the maintainers can focus on active items. For the most up to date information about Terraform AWS Provider development, see the Contributing Guide. Additional technical debt changes can be tracked with the As part of updating a pull request with these changes, the most current unit testing and linting will run. These may report issues that were not previously reported. Action Required: Terraform 0.12 SyntaxReference: #8950 Version 3 and later of the Terraform AWS Provider, which all existing contributions would potentially be added, only supports Terraform 0.12 and later. Certain syntax elements of Terraform 0.11 and earlier show deprecation warnings during runs with Terraform 0.12. Documentation and test configurations, such as those including deprecated string interpolations ( Action Required: Terraform Plugin SDK Version 2Reference: #14551 The Terraform AWS Provider has been upgraded to the latest version of the Terraform Plugin SDK. Generally, most changes to contributions should only involve updating Go import paths in source code files. Please see the referenced issue for additional information. Removal of website/aws.erb FileReference: #14712 Any changes to the Upcoming Change of Git Branch NamingReference: #14292 Development environments will need their upstream Git branch updated from Upcoming Change of GitHub OrganizationReference: #14715 This repository will be migrating from https://github.com/terraform-providers/terraform-provider-aws to https://github.com/hashicorp/terraform-provider-aws. No practitioner or developer action is anticipated and most GitHub functionality will automatically redirect to the new location. Go import paths including |
This will be VERY useful. |
Hi all! 👋 Just wanted to direct you to our public roadmap for this quarter (Nov-Jan) in which this item has been mentioned. Due to the significant community interest in support for this feature, we will be looking at merging existing contributions soon. We appreciate all the contributions and feedback thus far. Look out for support in the provider soon! |
Waiting for this! Very important. I hope it gets merged soon. |
f31c94b
to
a0be99a
Compare
Output of acceptance tests (commercial):
|
01c856e
to
e11ff34
Compare
e11ff34
to
6437ec5
Compare
Hi @gdlx 👋 after more robust testing, I came across some unfriendly resource behaviors when configuring the UI Customization feature w/in the existing User Pool and User Pool Client resources including:
With that said, i've moved the "ui_customization" block out into it's own managed resource. I believe there, it'll be more apparent where the customization is applied and updates/deletes can occur without affecting the state of the existing user pool and/or user pool clients. Nonetheless, your contributions will all be merged in. Thank you again ! Output of acceptance tests:
|
f01443c
to
480f03e
Compare
480f03e
to
1e18ba4
Compare
1e18ba4
to
dc397fb
Compare
9186fdc
to
c18646d
Compare
This has been released in version 3.30.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 for triage. Thanks! |
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! |
Community Note
Fixes #3634
Changes proposed in this pull request:
I've written acceptance tests but didn't run them (I've tested the feature in an existing workspace).
As the feature is usable from 2 different resources, I've tried to avoid code duplication as much as possible.
I've moved
loadFileContent
function fromresource_aws_lambda_function.go
toutils.go
to make it global.The
remoteFileContent
function inutils.go
is kind of a hack to allow getting content seamlessly from a local file or a URL, because we send a file to AWS API, but it sends back an URL.