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

[WIP] Remove Artificial limit on service registries #17659

Closed
wants to merge 1 commit into from
Closed

[WIP] Remove Artificial limit on service registries #17659

wants to merge 1 commit into from

Conversation

chriskuchin
Copy link

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 OR Closes #0000
ECS documentation accepts a list of service_registry objects with no specification in the docs that it is limited to a single entry. This may have been a bug when the support was first added based on comments on that PR. Seems better to allow AWS to return an error if there is a problem rather than artificially limiting it in the provider.

Docs on Service Definition
Docs on Create Service API

Closes: #9573

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSEcsService_withServiceRegistries'
run=TestAccAWSEcsService_withServiceRegistries'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEcsService_withServiceRegistries -timeout 120m
=== RUN   TestAccAWSEcsService_withServiceRegistries
=== PAUSE TestAccAWSEcsService_withServiceRegistries
=== RUN   TestAccAWSEcsService_withServiceRegistries_container
=== PAUSE TestAccAWSEcsService_withServiceRegistries_container
=== CONT  TestAccAWSEcsService_withServiceRegistries
=== CONT  TestAccAWSEcsService_withServiceRegistries_container
--- PASS: TestAccAWSEcsService_withServiceRegistries_container (167.89s)
--- PASS: TestAccAWSEcsService_withServiceRegistries (178.14s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       178.195s...

@chriskuchin chriskuchin requested a review from a team as a code owner February 17, 2021 16:16
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/ecs Issues and PRs that pertain to the ecs service. labels Feb 17, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Feb 17, 2021
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 @chriskuchin 👋

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

@chriskuchin chriskuchin changed the title Remove Artificial limit on service registries [WIP] Remove Artificial limit on service registries Feb 17, 2021
@chriskuchin
Copy link
Author

Further testing shows that despite AWS having no documented limit and explicitly referring to it in plural the aws sdk seems to be throwing an error somewhere but I could not locate it to even understand why the error was there.

@ghost
Copy link

ghost commented Mar 20, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2021
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ecs Issues and PRs that pertain to the ecs 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.

No more than 1 "service_registries" blocks are allowed
2 participants