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

r/devicefarm_device_pool - new resource + use finder for devicefarm project #21025

Merged
merged 5 commits into from
Jan 3, 2022

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Sep 24, 2021

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" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #20969

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSDeviceFarmProject_'
--- PASS: TestAccDeviceFarmProject_disappears (67.95s)
--- PASS: TestAccDeviceFarmProject_timeout (165.83s)
--- PASS: TestAccDeviceFarmProject_basic (172.33s)
--- PASS: TestAccDeviceFarmProject_tags (237.86s)

$ make testacc TESTARGS='-run=TestAccAWSDeviceFarmDevicePool_'
--- PASS: TestAccAWSDeviceFarmDevicePool_disappears_project (63.02s)
--- PASS: TestAccAWSDeviceFarmDevicePool_disappears (64.10s)
--- PASS: TestAccAWSDeviceFarmDevicePool_basic (125.88s)
--- PASS: TestAccAWSDeviceFarmDevicePool_tags (174.19s)

Special Thanks to @AdamTylerLynch for the help making this work!

@DrFaust92 DrFaust92 marked this pull request as draft September 24, 2021 05:52
@github-actions github-actions bot added provider Pertains to the provider itself, rather than any interaction with AWS. service/devicefarm Issues and PRs that pertain to the devicefarm service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XL Managed by automation to categorize the size of a PR. and removed tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/devicefarm Issues and PRs that pertain to the devicefarm service. provider Pertains to the provider itself, rather than any interaction with AWS. labels Sep 24, 2021
@DrFaust92 DrFaust92 added service/devicefarm Issues and PRs that pertain to the devicefarm service. new-resource Introduces a new resource. labels Sep 24, 2021
@github-actions github-actions bot added provider Pertains to the provider itself, rather than any interaction with AWS. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. documentation Introduces or discusses updates to documentation. labels Sep 26, 2021
@DrFaust92 DrFaust92 marked this pull request as ready for review September 26, 2021 22:33
@DrFaust92 DrFaust92 changed the title r/devicefarm_pool - new resource r/devicefarm_device_pool - new resource Sep 27, 2021
@zhelding
Copy link
Contributor

Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding.

Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single aws directory to a large number of separate directories in internal/service, each corresponding to a particular AWS service. This separation of code has also allowed for us to simplify the names of underlying functions -- while still avoiding namespace collisions.

We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author.

For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000.

For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide.

@DrFaust92 DrFaust92 changed the title r/devicefarm_device_pool - new resource r/devicefarm_device_pool - new resource + use finder for devicefarm project Oct 27, 2021
@github-actions github-actions bot added the sweeper Pertains to changes to or issues with the sweeper. label Dec 25, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM 🚀.

Commercial
% make testacc TESTARGS='-run=TestAccDeviceFarm' PKG_NAME=internal/service/devicefarm
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/devicefarm/... -v -count 1 -parallel 20 -run=TestAccDeviceFarm -timeout 180m
=== RUN   TestAccDeviceFarmDevicePool_basic
=== PAUSE TestAccDeviceFarmDevicePool_basic
=== RUN   TestAccDeviceFarmDevicePool_tags
=== PAUSE TestAccDeviceFarmDevicePool_tags
=== RUN   TestAccDeviceFarmDevicePool_disappears
=== PAUSE TestAccDeviceFarmDevicePool_disappears
=== RUN   TestAccDeviceFarmDevicePool_disappears_project
=== PAUSE TestAccDeviceFarmDevicePool_disappears_project
=== RUN   TestAccDeviceFarmProject_basic
=== PAUSE TestAccDeviceFarmProject_basic
=== RUN   TestAccDeviceFarmProject_timeout
=== PAUSE TestAccDeviceFarmProject_timeout
=== RUN   TestAccDeviceFarmProject_tags
=== PAUSE TestAccDeviceFarmProject_tags
=== RUN   TestAccDeviceFarmProject_disappears
=== PAUSE TestAccDeviceFarmProject_disappears
=== CONT  TestAccDeviceFarmDevicePool_basic
=== CONT  TestAccDeviceFarmProject_timeout
=== CONT  TestAccDeviceFarmProject_tags
=== CONT  TestAccDeviceFarmProject_disappears
=== CONT  TestAccDeviceFarmProject_basic
=== CONT  TestAccDeviceFarmDevicePool_tags
=== CONT  TestAccDeviceFarmDevicePool_disappears
=== CONT  TestAccDeviceFarmDevicePool_disappears_project
--- PASS: TestAccDeviceFarmProject_disappears (19.16s)
--- PASS: TestAccDeviceFarmDevicePool_disappears_project (23.22s)
--- PASS: TestAccDeviceFarmDevicePool_disappears (26.17s)
--- PASS: TestAccDeviceFarmProject_basic (37.65s)
--- PASS: TestAccDeviceFarmProject_timeout (37.72s)
--- PASS: TestAccDeviceFarmDevicePool_basic (46.81s)
--- PASS: TestAccDeviceFarmProject_tags (48.42s)
--- PASS: TestAccDeviceFarmDevicePool_tags (59.13s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/devicefarm	62.845s
GovCloud
% make testacc TESTARGS='-run=TestAccDeviceFarm' PKG_NAME=internal/service/devicefarm
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/devicefarm/... -v -count 1 -parallel 20 -run=TestAccDeviceFarm -timeout 180m
=== RUN   TestAccDeviceFarmDevicePool_basic
=== PAUSE TestAccDeviceFarmDevicePool_basic
=== RUN   TestAccDeviceFarmDevicePool_tags
=== PAUSE TestAccDeviceFarmDevicePool_tags
=== RUN   TestAccDeviceFarmDevicePool_disappears
=== PAUSE TestAccDeviceFarmDevicePool_disappears
=== RUN   TestAccDeviceFarmDevicePool_disappears_project
=== PAUSE TestAccDeviceFarmDevicePool_disappears_project
=== RUN   TestAccDeviceFarmProject_basic
=== PAUSE TestAccDeviceFarmProject_basic
=== RUN   TestAccDeviceFarmProject_timeout
=== PAUSE TestAccDeviceFarmProject_timeout
=== RUN   TestAccDeviceFarmProject_tags
=== PAUSE TestAccDeviceFarmProject_tags
=== RUN   TestAccDeviceFarmProject_disappears
=== PAUSE TestAccDeviceFarmProject_disappears
=== CONT  TestAccDeviceFarmDevicePool_basic
=== CONT  TestAccDeviceFarmProject_timeout
=== CONT  TestAccDeviceFarmProject_disappears
=== CONT  TestAccDeviceFarmDevicePool_disappears_project
=== CONT  TestAccDeviceFarmProject_basic
=== CONT  TestAccDeviceFarmProject_tags
=== CONT  TestAccDeviceFarmDevicePool_tags
=== CONT  TestAccDeviceFarmDevicePool_disappears
=== CONT  TestAccDeviceFarmDevicePool_basic
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
--- SKIP: TestAccDeviceFarmDevicePool_basic (1.42s)
=== CONT  TestAccDeviceFarmProject_timeout
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
=== CONT  TestAccDeviceFarmProject_disappears
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
--- SKIP: TestAccDeviceFarmProject_timeout (1.42s)
--- SKIP: TestAccDeviceFarmProject_disappears (1.42s)
=== CONT  TestAccDeviceFarmDevicePool_disappears_project
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
--- SKIP: TestAccDeviceFarmDevicePool_disappears_project (1.43s)
=== CONT  TestAccDeviceFarmDevicePool_tags
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
--- SKIP: TestAccDeviceFarmDevicePool_tags (1.43s)
=== CONT  TestAccDeviceFarmDevicePool_disappears
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
--- SKIP: TestAccDeviceFarmDevicePool_disappears (1.43s)
=== CONT  TestAccDeviceFarmProject_basic
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
--- SKIP: TestAccDeviceFarmProject_basic (1.43s)
=== CONT  TestAccDeviceFarmProject_tags
    acctest.go:608: skipping tests; partition aws-us-gov does not support devicefarm service
--- SKIP: TestAccDeviceFarmProject_tags (1.43s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/devicefarm	4.848s

@ewbankkit
Copy link
Contributor

@DrFaust92 Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 94c833a into hashicorp:main Jan 3, 2022
@github-actions github-actions bot added this to the v3.71.0 milestone Jan 3, 2022
@DrFaust92 DrFaust92 deleted the r/devicefarm_pool branch January 6, 2022 17:48
@github-actions
Copy link

github-actions bot commented Jan 6, 2022

This functionality has been released in v3.71.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

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 May 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/devicefarm Issues and PRs that pertain to the devicefarm service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. 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.

[Devicefarm] Manage devices pool
3 participants