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

add data source for aws_servicecatalog_provisioning_artifacts #25535

Merged

Conversation

silvaalbert
Copy link
Contributor

@silvaalbert silvaalbert commented Jun 22, 2022

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 #25531

Output from acceptance testing:

$ make testacc TESTS='TestAccServiceCatalogProvisioningArtifactsDataSource_basic' PKG=servicecatalog TESTARGS=-short
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/servicecatalog/... -v -count 1 -parallel 20 -run='TestAccServiceCatalogProvisioningArtifactsDataSource_basic' -short -timeout 180m
=== RUN   TestAccServiceCatalogProvisioningArtifactsDataSource_basic
=== PAUSE TestAccServiceCatalogProvisioningArtifactsDataSource_basic
=== CONT  TestAccServiceCatalogProvisioningArtifactsDataSource_basic
--- PASS: TestAccServiceCatalogProvisioningArtifactsDataSource_basic (36.03s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/servicecatalog	38.528s

...

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. provider Pertains to the provider itself, rather than any interaction with AWS. service/servicecatalog Issues and PRs that pertain to the servicecatalog service. size/L Managed by automation to categorize the size of a PR. labels Jun 22, 2022
@github-actions github-actions bot added the documentation Introduces or discusses updates to documentation. label Jun 22, 2022
@github-actions github-actions bot added size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. and removed size/L Managed by automation to categorize the size of a PR. labels Jun 22, 2022
@silvaalbert silvaalbert changed the title wip: add data source for aws_servicecatalog_provisioning_artifacts add data source for aws_servicecatalog_provisioning_artifacts Jun 23, 2022
@silvaalbert silvaalbert marked this pull request as ready for review June 23, 2022 12:21
@owenfarrell
Copy link
Contributor

@silvaalbert - how would you feel about splitting the list of provisioning_artifact_details in to active_provisioning_artifact (a scalar) and inactive_provisioning_artifacts (a list)?

Reason I mention that is because I think the use cases for referencing the active product are going to outweigh the rest of the products... and finding the active element via a for expression will have limitations.

@justinretzolk justinretzolk added new-data-source Introduces a new data source. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 20, 2022
@vanveele
Copy link

vanveele commented Feb 6, 2023

Is there anything blocking this PR?
The feature as it is implemented here would be useful to me.

@pdahake
Copy link

pdahake commented Feb 6, 2023

This would help us with our end to end automation.

@github-actions github-actions bot added generators Relates to code generators. and removed provider Pertains to the provider itself, rather than any interaction with AWS. labels Mar 12, 2023
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 🚀.

% make testacc TESTARGS='-run=TestAccServiceCatalogProvisioningArtifactsDataSource_' PKG=servicecatalog ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/servicecatalog/... -v -count 1 -parallel 3  -run=TestAccServiceCatalogProvisioningArtifactsDataSource_ -timeout 180m
=== RUN   TestAccServiceCatalogProvisioningArtifactsDataSource_basic
=== PAUSE TestAccServiceCatalogProvisioningArtifactsDataSource_basic
=== CONT  TestAccServiceCatalogProvisioningArtifactsDataSource_basic
--- PASS: TestAccServiceCatalogProvisioningArtifactsDataSource_basic (36.56s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/servicecatalog	41.917s

@ewbankkit
Copy link
Contributor

@silvaalbert Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit self-assigned this Mar 12, 2023
@ewbankkit ewbankkit merged commit c17eed2 into hashicorp:main Mar 13, 2023
@github-actions github-actions bot added this to the v4.59.0 milestone Mar 13, 2023
@github-actions
Copy link

This functionality has been released in v4.59.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 Apr 16, 2023
@justinretzolk justinretzolk added the partner Contribution from a partner. label May 16, 2024
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. generators Relates to code generators. new-data-source Introduces a new data source. partner Contribution from a partner. service/servicecatalog Issues and PRs that pertain to the servicecatalog service. size/XL Managed by automation to categorize the size of a PR. 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.

add data source for aws_servicecatalog_provisioning_artifacts
7 participants