-
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
td/aws_connect_hours_of_operation #22375
td/aws_connect_hours_of_operation #22375
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.
BREAKING CHANGE INCLUDED. @ewbankkit
LGTM 🚀
e1f74b5
to
585486e
Compare
Is it possible to help re-open this PR and change the destination branch to |
Hi @GlennChia , apologies for that! I've restored the release/4.x branch and will update the base branch |
Hi @anGie44 thanks for the assist! Since the |
Of course, was my mistake! Ahh so the changes that lived in |
@GlennChia since this PR renames the attribute, I believe we'll need to follow documented Best Practices , so this will need to be a deprecation + new attribute which can occur during any future minor release (or ship with 4.0), and then removal can occur in the v5.0 major release. |
Thanks @anGie44. I've made the changes as per the guidance and re-ran the test case (I realised my test command could have been shorter since the prefix is shared by the resource and data source).
|
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.
Looks good! 🚀
--- PASS: TestAccConnectHoursOfOperationDataSource_hoursOfOperationID (85.36s)
--- PASS: TestAccConnectHoursOfOperationDataSource_name (84.94s)
--- PASS: TestAccConnectHoursOfOperation_serial (186.11s)
--- PASS: TestAccConnectHoursOfOperation_serial/basic (101.68s)
--- PASS: TestAccConnectHoursOfOperation_serial/disappears (84.43s)
This functionality has been released in v4.0.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
Description of changes
This PR makes 2 changes
hours_of_operation_arn
to justarn
since the resource itself is already calledaws_connect_hours_of_operation
. Hence users just have to callaws_connect_hours_of_operation.example.arn
to get the ARN instead ofaws_connect_hours_of_operation.example.hours_of_operation_arn
aws_connect_instance
resource that has longer deployment timeOutput from acceptance testing:
Test the resource:
Test the data source: