-
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/aws_connect_instance - add new resource #16709
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.
Welcome @abebars 👋
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 CONTRIBUTING 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! 😃
Great work! I like the way you dealt with the attribute vs instance value dichotomy the dataResourceConnectInstanceAttributesMapping is also a nice way of dealing with NVP api calls. I think there is a bunch of flags that need to be collapsed into nested struct so that simple instance creations can use the minimal, I think identity probably needs to be treated the same way as its a very binary capability |
I had similar thoughts about the creation process. I tried to keep the same contract for the API and especially because these fields can cause a recreation for the resource. One issue with having the identity implicit that changing it later will force a new resource because you can't update this config after the instance creation. |
2c89fbb
to
1bcffc1
Compare
26bb749
to
d9854f6
Compare
@bflad if you get a chance to look into this PR .. that will be great! |
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.
Great work Ahmed, excited to add my connect flow next!!
Hello guys, any reason why this is still not been merged, is there a way to drag in someone from Terraform to review this great work done by @abebars and the other PR that @thornleyk raised? |
@ewbankkit or @bflad if you have a moment to take a look at this PR, Thank you |
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.
First round of comments:
while not a blocker it would be nice to get tagging support here as well. see https://github.com/hashicorp/terraform-provider-aws/blob/main/docs/contributing/running-and-writing-acceptance-tests.md#randomized-naming
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.
Approve
Code reworking
…nd can change before GA.
d22e15a
to
4400987
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.
Hi @abebars @AdamTylerLynch , thank you for contributing to this new resource! Overall, changes looked great! Just a couple updates made to the data source (c313e27) and resource (08b6773) including updates to paginated methods available in the AWS Go SDK and documentation describing resource import and attributes e.g. Required
where needed. I've rebased as well to ensure the CI error related to tfplugindocs
was addressed as merging in main
was previously causing this.
Output of acceptance tests:
--- PASS: TestAccAwsConnectInstance_serial (0.00s)
--- PASS: TestAccAwsConnectInstance_serial/basic (100.52s)
--- PASS: TestAccAwsConnectInstance_serial/saml (104.80s)
--- PASS: TestAccAwsConnectInstance_serial/directory (827.04s)
--- PASS: TestAccAwsConnectInstanceDataSource_basic (172.59s)
Small data source test error addressed in 823d1a7 Output of test:
|
This functionality has been released in v3.60.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
Relates #16392
Release note for CHANGELOG:
Output from acceptance testing: