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/servicecatalog_provisioned_product: New resource #19459

Merged
merged 30 commits into from
Jun 30, 2021

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented May 20, 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

Relates #19470, #19572, #19957

Output from acceptance testing ('us-west-2'):

--- PASS: TestAccAWSServiceCatalogProvisionedProduct_disappears (114.22s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_basic (114.83s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_tags (308.38s)

Output from acceptance testing (GovCloud):

--- PASS: TestAccAWSServiceCatalogProvisionedProduct_disappears (111.47s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_basic (113.93s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_tags (178.93s)

References

@YakDriver YakDriver requested a review from a team as a code owner May 20, 2021 18:34
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/servicecatalog Issues and PRs that pertain to the servicecatalog service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XXL Managed by automation to categorize the size of a PR. and removed size/XL Managed by automation to categorize the size of a PR. labels May 20, 2021
@YakDriver YakDriver marked this pull request as draft May 20, 2021 18:36
@YakDriver YakDriver force-pushed the f-servicecat-provisioned-product branch 3 times, most recently from 2e85588 to 32ea40c Compare May 24, 2021 18:48
@YakDriver YakDriver changed the title [WIP] r/servicecatalog_provisioned_product: New resource [Blocked] r/servicecatalog_provisioned_product: New resource May 28, 2021
@YakDriver YakDriver marked this pull request as ready for review May 28, 2021 18:09
@YakDriver YakDriver changed the title [Blocked] r/servicecatalog_provisioned_product: New resource [WIP] r/servicecatalog_provisioned_product: New resource Jun 15, 2021
@YakDriver YakDriver force-pushed the f-servicecat-provisioned-product branch from c5a7c59 to 66f6898 Compare June 29, 2021 13:53
@github-actions github-actions bot added the size/XL Managed by automation to categorize the size of a PR. label Jun 29, 2021
@YakDriver YakDriver force-pushed the f-servicecat-provisioned-product branch from 5b86670 to 87d8625 Compare June 29, 2021 14:30
@YakDriver YakDriver changed the title [WIP] r/servicecatalog_provisioned_product: New resource r/servicecatalog_provisioned_product: New resource Jun 29, 2021
@YakDriver YakDriver added this to the v3.48.0 milestone Jun 29, 2021
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"accounts": { //iu
Copy link
Contributor

@ewbankkit ewbankkit Jun 29, 2021

Choose a reason for hiding this comment

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

The underlying API field for this (and other attributes in this block) is named StackSetAccount - Consider renaming to stack_set_account?

Copy link
Member Author

@YakDriver YakDriver Jun 29, 2021

Choose a reason for hiding this comment

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

Instead of rename each of the arguments in the provisioning_preferences block, which seems redundant, repeated, and repetitive, I renamed the block to stack_set_provisioning_preferences. What do you think?

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 TEST=./aws TESTARGS='-run=TestAccAWSServiceCatalogProvisionedProduct_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSServiceCatalogProvisionedProduct_ -timeout 180m
=== RUN   TestAccAWSServiceCatalogProvisionedProduct_basic
=== PAUSE TestAccAWSServiceCatalogProvisionedProduct_basic
=== RUN   TestAccAWSServiceCatalogProvisionedProduct_disappears
=== PAUSE TestAccAWSServiceCatalogProvisionedProduct_disappears
=== RUN   TestAccAWSServiceCatalogProvisionedProduct_tags
=== PAUSE TestAccAWSServiceCatalogProvisionedProduct_tags
=== CONT  TestAccAWSServiceCatalogProvisionedProduct_basic
=== CONT  TestAccAWSServiceCatalogProvisionedProduct_tags
=== CONT  TestAccAWSServiceCatalogProvisionedProduct_disappears
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_disappears (145.86s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_basic (168.31s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_tags (259.03s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	262.320s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSServiceCatalogProvisionedProduct_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSServiceCatalogProvisionedProduct_ -timeout 180m
=== RUN   TestAccAWSServiceCatalogProvisionedProduct_basic
=== PAUSE TestAccAWSServiceCatalogProvisionedProduct_basic
=== RUN   TestAccAWSServiceCatalogProvisionedProduct_disappears
=== PAUSE TestAccAWSServiceCatalogProvisionedProduct_disappears
=== RUN   TestAccAWSServiceCatalogProvisionedProduct_tags
=== PAUSE TestAccAWSServiceCatalogProvisionedProduct_tags
=== CONT  TestAccAWSServiceCatalogProvisionedProduct_basic
=== CONT  TestAccAWSServiceCatalogProvisionedProduct_tags
=== CONT  TestAccAWSServiceCatalogProvisionedProduct_disappears
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_disappears (153.64s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_basic (162.34s)
--- PASS: TestAccAWSServiceCatalogProvisionedProduct_tags (271.51s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	274.594s

@YakDriver YakDriver merged commit 72b2317 into main Jun 30, 2021
@YakDriver YakDriver deleted the f-servicecat-provisioned-product branch June 30, 2021 20:50
github-actions bot pushed a commit that referenced this pull request Jun 30, 2021
@github-actions
Copy link

github-actions bot commented Jul 8, 2021

This functionality has been released in v3.48.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 Aug 8, 2021

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 Aug 8, 2021
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. provider Pertains to the provider itself, rather than any interaction with AWS. service/servicecatalog Issues and PRs that pertain to the servicecatalog service. size/XL Managed by automation to categorize the size of a PR. size/XXL 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.

2 participants