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_principal_portfolio_association: New resource #19470

Merged
merged 32 commits into from
Jun 2, 2021

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented May 21, 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 #15369
Relates #18074
Relates #19122

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

--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic (29.80s)
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears (79.08s)

Output from acceptance testing (GovCloud):

(partition aws-us-gov does not support budgets service)

--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic (33.07s)
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears (81.99s)

References:

@YakDriver YakDriver requested a review from a team as a code owner May 21, 2021 15:33
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. labels May 21, 2021
@github-actions github-actions bot added 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. labels May 21, 2021
@YakDriver YakDriver changed the title [WIP] r/servicecatalog_principal_portfolio_association: New resource [Blocked] r/servicecatalog_principal_portfolio_association: New resource May 28, 2021
@YakDriver YakDriver force-pushed the f-servicecat-principal-portfolio-association branch from 1d759aa to 4039de4 Compare June 1, 2021 19:51
@YakDriver YakDriver changed the title [Blocked] r/servicecatalog_principal_portfolio_association: New resource r/servicecatalog_principal_portfolio_association: New resource Jun 1, 2021
@ewbankkit ewbankkit self-assigned this Jun 2, 2021
@ewbankkit
Copy link
Contributor

Needs .changelog/19470.txt.

Type: schema.TypeString,
Optional: true,
ForceNew: true,
Default: "en",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Default: "en",
Default: tfservicecatalog.ServiceCatalogAcceptLanguageEnglish,

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=TestAccAWSServiceCatalogPrincipalPortfolioAssociation_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSServiceCatalogPrincipalPortfolioAssociation_ -timeout 180m
=== RUN   TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic
=== PAUSE TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic
=== RUN   TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears
=== PAUSE TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears
=== CONT  TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic
=== CONT  TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic (27.91s)
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears (77.38s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	81.019s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSServiceCatalogPrincipalPortfolioAssociation_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSServiceCatalogPrincipalPortfolioAssociation_ -timeout 180m
=== RUN   TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic
=== PAUSE TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic
=== RUN   TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears
=== PAUSE TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears
=== CONT  TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic
=== CONT  TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic (33.77s)
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears (83.53s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	86.584s

@YakDriver YakDriver force-pushed the f-servicecat-principal-portfolio-association branch from 2aabc22 to d61ea81 Compare June 2, 2021 14:51
@YakDriver
Copy link
Member Author

YakDriver commented Jun 2, 2021

Thanks for the feedback! I also updated the other places that should have been using the enum. Also, the enum was unnecessarily verbose. All fixed.

Commercial:

--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic (29.70s)
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears (78.25s)

GovCloud:

--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_basic (33.70s)
--- PASS: TestAccAWSServiceCatalogPrincipalPortfolioAssociation_disappears (82.37s)

@YakDriver YakDriver merged commit fa84016 into main Jun 2, 2021
@YakDriver YakDriver deleted the f-servicecat-principal-portfolio-association branch June 2, 2021 15:56
@YakDriver YakDriver added this to the v3.44.0 milestone Jun 2, 2021
github-actions bot pushed a commit that referenced this pull request Jun 2, 2021
@ghost
Copy link

ghost commented Jun 3, 2021

This has been released in version 3.44.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 for triage. Thanks!

@github-actions
Copy link

github-actions bot commented Jul 4, 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 Jul 4, 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. 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.

None yet

2 participants