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

aws_connect_routing_profile: increase the hardcoded queue limit to AWS default value of 50 #27573

Conversation

dttung2905
Copy link

Description

In the aws_connect_routing_profile, increase hardcoded limit queues per routing profile from 10 to 50, which is similar to AWS default quota

Relations

Closes #27014

References

Output from Acceptance Testing

Could any reviewer help me to run the Acc Test please ? Thank you very much in advance

@github-actions
Copy link

github-actions bot commented Nov 1, 2022

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added service/connect Issues and PRs that pertain to the connect service. size/XS Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. labels Nov 1, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome @dttung2905 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@dttung2905
Copy link
Author

Hi @YakDriver , could you help me to review this PR of mine? Its a small change imo. Thank you v much

@justinretzolk justinretzolk added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 1, 2022
@dttung2905
Copy link
Author

Hi @justinretzolk, could you help me review this PR, or help me find someone who can, if possible ? Thanks alot !

Copy link
Collaborator

@GlennChia GlennChia left a comment

Choose a reason for hiding this comment

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

Thanks for making this PR @dttung2905 👍 Good catch for the default service quota. From the Amazon Connect service quotas documentation, it mentions that Queues per routing profile per instance is an Adjustable quota. Hence, the MaxItems check can be removed entirely. Made suggestions in-line in this PR for reference. Do let me know if you have any questions!

internal/service/connect/routing_profile.go Outdated Show resolved Hide resolved
.changelog/27573.txt Outdated Show resolved Hide resolved
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
@dttung2905
Copy link
Author

Hi @GlennChia,
Thanks very much for the review. I have made changes from your suggestion. Could you help to take a look at it again 🙏 ?

@GlennChia
Copy link
Collaborator

GlennChia commented Feb 3, 2023

Hi @dttung2905, thanks for your changes, the changes look good! Upon checking the APIs again, the Create and Associate both have limits of 10 per API call:

This means that the logic for the resource will have to be changed to do a batched association of queue configs. This depends on an existing PR to be merged first which does some logic refactoring #26151. Once that PR is merged, this PR can merge in those changes and implement the batched logic

@GlennChia
Copy link
Collaborator

Hi @dttung2905, looks like the dependent PR is merged. Would be great if you can rebase on main and modify the logic to do batched associations. Thanks!

@dttung2905
Copy link
Author

Sure @GlennChia I will do that later this week 🙏

@TrentMacDougall
Copy link

Hi @dttung2905 , @GlennChia
Has this update been released yet?
Very interested in this batching, as I have a build with over 50 queues and implemented my own batching, but would very much like to use an official version.

@GlennChia
Copy link
Collaborator

Hi @TrentMacDougall, thanks for the follow up on this. @dttung2905 is working on this feature but I'll be happy to help review it when it's ready 👍

@GlennChia
Copy link
Collaborator

Hi @dttung2905, just checking in since we have quite a couple of requests coming in for this feature. Are you intending to work on the batched associations feature? I would love to take it up and help unblock users if you're ok with it? Thanks!

@dttung2905
Copy link
Author

Hey, @GlennChia . So sorry I have been pretty busy with work and life recently. Please go ahead with your implementation and help me unblock our community users. Thanks alot 🙏

@GlennChia
Copy link
Collaborator

Thanks for the quick update @dttung2905, I've raised a PR to fix this issue and help unblock community users. Thanks for raising the original PR to highlight the issue 😃

@TrentMacDougall, please find the updated PR that implements the batched feature at #30895, would appreciate your help to add thumbs to PR to give it more visibility.

@github-actions github-actions bot added this to the v4.66.0 milestone May 2, 2023
@github-actions
Copy link

github-actions bot commented May 5, 2023

This functionality has been released in v4.66.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!

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/connect Issues and PRs that pertain to the connect service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: increase hardcoded queue limit in aws_connect_routing_profile
4 participants