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

remove maxitems limit on appmesh_virtual_node backends #34774

Merged

Conversation

nwsparks
Copy link
Contributor

@nwsparks nwsparks commented Dec 6, 2023

Description

Via AWS support it is possible to raise the quota on backends. This PR removes the Terraform side of the limitation. The AWS API will still return an error if you try to apply with more backends than the quota allows.

I'm not sure whether to classify this as a bug or enhancement? Leaning towards bug.

Relations

Closes #34658

Output from Acceptance Testing

Just running the virtual node tests, commented out the others as I wasn't able to get them to execute in a reasonable time or otherwise figure out how to limit this to the virtual node tests only.

make testacc PKG=appmesh
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/appmesh/... -v -count 1 -parallel 20   -timeout 360m
=== RUN   TestAccAppMesh_serial
=== PAUSE TestAccAppMesh_serial
=== RUN   TestVirtualNodeMigrateState
=== PAUSE TestVirtualNodeMigrateState
=== RUN   TestVirtualRouterMigrateState
=== PAUSE TestVirtualRouterMigrateState
=== CONT  TestAccAppMesh_serial
=== RUN   TestAccAppMesh_serial/VirtualNode
=== RUN   TestAccAppMesh_serial/VirtualNode/backendClientPolicyFile
=== CONT  TestVirtualRouterMigrateState
--- PASS: TestVirtualRouterMigrateState (0.00s)
=== CONT  TestVirtualNodeMigrateState
--- PASS: TestVirtualNodeMigrateState (0.00s)
=== RUN   TestAccAppMesh_serial/VirtualNode/backendDefaultsCertificate
=== RUN   TestAccAppMesh_serial/VirtualNode/listenerHealthChecks
=== RUN   TestAccAppMesh_serial/VirtualNode/dataSourceBasic
=== RUN   TestAccAppMesh_serial/VirtualNode/disappears
=== RUN   TestAccAppMesh_serial/VirtualNode/listenerTimeout
=== RUN   TestAccAppMesh_serial/VirtualNode/listenerValidation
=== RUN   TestAccAppMesh_serial/VirtualNode/tags
=== RUN   TestAccAppMesh_serial/VirtualNode/backendDefaults
=== RUN   TestAccAppMesh_serial/VirtualNode/listenerOutlierDetection
=== RUN   TestAccAppMesh_serial/VirtualNode/multiListenerValidation
=== RUN   TestAccAppMesh_serial/VirtualNode/logging
=== RUN   TestAccAppMesh_serial/VirtualNode/basic
=== RUN   TestAccAppMesh_serial/VirtualNode/backendClientPolicyAcm
=== RUN   TestAccAppMesh_serial/VirtualNode/cloudMapServiceDiscovery
=== RUN   TestAccAppMesh_serial/VirtualNode/listenerConnectionPool
=== RUN   TestAccAppMesh_serial/VirtualNode/listenerTls
--- PASS: TestAccAppMesh_serial (1596.35s)
    --- PASS: TestAccAppMesh_serial/VirtualNode (1596.35s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/backendClientPolicyFile (80.35s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/backendDefaultsCertificate (47.34s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/listenerHealthChecks (80.95s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/dataSourceBasic (71.97s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/disappears (45.41s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/listenerTimeout (75.83s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/listenerValidation (77.18s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/tags (105.47s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/backendDefaults (76.29s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/listenerOutlierDetection (76.34s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/multiListenerValidation (77.10s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/logging (106.64s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/basic (46.28s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/backendClientPolicyAcm (155.20s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/cloudMapServiceDiscovery (193.65s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/listenerConnectionPool (76.06s)
        --- PASS: TestAccAppMesh_serial/VirtualNode/listenerTls (204.27s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/appmesh    1596.451s
...

Copy link

github-actions bot commented Dec 6, 2023

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. service/appmesh Issues and PRs that pertain to the appmesh service. labels Dec 6, 2023
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Dec 6, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome @nwsparks 👋

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 CONTRIBUTOR 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! 😃

@justinretzolk justinretzolk added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Dec 6, 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 🚀.

@ewbankkit
Copy link
Contributor

@nwsparks Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit de38b38 into hashicorp:main Dec 13, 2023
33 checks passed
@github-actions github-actions bot added this to the v5.31.0 milestone Dec 13, 2023
@nwsparks nwsparks deleted the b-appmesh_virtual_node-backend-limit-fix branch December 13, 2023 14:41
Copy link

This functionality has been released in v5.31.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!

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 Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/appmesh Issues and PRs that pertain to the appmesh service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: aws_appmesh_virtual_node limits 50 backends even if quota is raised
3 participants