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

Issue #7016 support http namespaces in service discovery #7341

Merged
merged 2 commits into from
Jul 9, 2019

Conversation

saravanan30erd
Copy link
Contributor

Fixes #7016

Changes proposed in this pull request:

  • Change 1
    support http namespaces in service discovery service.

Output from acceptance testing:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSServiceDiscoveryService_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -parallel 20 -run=TestAccAWSServiceDiscoveryService_ -timeout 120m
=== RUN   TestAccAWSServiceDiscoveryService_private
=== PAUSE TestAccAWSServiceDiscoveryService_private
=== RUN   TestAccAWSServiceDiscoveryService_public
=== PAUSE TestAccAWSServiceDiscoveryService_public
=== RUN   TestAccAWSServiceDiscoveryService_http
=== PAUSE TestAccAWSServiceDiscoveryService_http
=== RUN   TestAccAWSServiceDiscoveryService_import
=== PAUSE TestAccAWSServiceDiscoveryService_import
=== CONT  TestAccAWSServiceDiscoveryService_private
=== CONT  TestAccAWSServiceDiscoveryService_import
=== CONT  TestAccAWSServiceDiscoveryService_http
=== CONT  TestAccAWSServiceDiscoveryService_public
--- PASS: TestAccAWSServiceDiscoveryService_http (122.07s)
--- PASS: TestAccAWSServiceDiscoveryService_public (165.72s)
--- PASS: TestAccAWSServiceDiscoveryService_import (201.34s)
--- PASS: TestAccAWSServiceDiscoveryService_private (264.69s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws
...

@ghost ghost added size/M Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/servicediscovery Issues and PRs that pertain to the servicediscovery service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jan 26, 2019
@saravanan30erd
Copy link
Contributor Author

@bflad Could you please look on it?

@namliz
Copy link

namliz commented Mar 13, 2019

@bflad It'd be useful if this was merged or to get an eta, please and thank you

@gojihotsauce
Copy link

This is a blocker for me right now. I'd love an ETA as well.

@ewbankkit
Copy link
Contributor

After rebasing onto b6065fc to fix

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSServiceDiscoveryService_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -parallel 20 -run=TestAccAWSServiceDiscoveryService_ -timeout 120m
# github.com/terraform-providers/terraform-provider-aws/aws
aws/resource_aws_cloudwatch_event_permission.go:278:2: Printf format %s has arg policy.Statements of wrong type []github.com/terraform-providers/terraform-provider-aws/aws.CloudWatchEventPermissionPolicyStatement
aws/resource_aws_cloudwatch_event_permission.go:288:17: Sprintf format %s has arg policy.Statements of wrong type []github.com/terraform-providers/terraform-provider-aws/aws.CloudWatchEventPermissionPolicyStatement
FAIL	github.com/terraform-providers/terraform-provider-aws/aws [build failed]
make: *** [testacc] Error 2

acceptance tests:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSServiceDiscoveryService_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -parallel 20 -run=TestAccAWSServiceDiscoveryService_ -timeout 120m
=== RUN   TestAccAWSServiceDiscoveryService_private
=== PAUSE TestAccAWSServiceDiscoveryService_private
=== RUN   TestAccAWSServiceDiscoveryService_public
=== PAUSE TestAccAWSServiceDiscoveryService_public
=== RUN   TestAccAWSServiceDiscoveryService_http
=== PAUSE TestAccAWSServiceDiscoveryService_http
=== RUN   TestAccAWSServiceDiscoveryService_import
=== PAUSE TestAccAWSServiceDiscoveryService_import
=== CONT  TestAccAWSServiceDiscoveryService_private
=== CONT  TestAccAWSServiceDiscoveryService_http
=== CONT  TestAccAWSServiceDiscoveryService_public
=== CONT  TestAccAWSServiceDiscoveryService_import
--- PASS: TestAccAWSServiceDiscoveryService_http (90.22s)
--- PASS: TestAccAWSServiceDiscoveryService_import (106.07s)
--- PASS: TestAccAWSServiceDiscoveryService_public (112.08s)
--- PASS: TestAccAWSServiceDiscoveryService_private (134.52s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	134.588s

@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Jul 9, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

Thanks so much for this, @saravanan30erd. 🚀 My apologies for the delayed review.

--- PASS: TestAccAWSServiceDiscoveryService_http (93.33s)
--- PASS: TestAccAWSServiceDiscoveryService_import (95.58s)
--- PASS: TestAccAWSServiceDiscoveryService_private (100.10s)
--- PASS: TestAccAWSServiceDiscoveryService_public (107.99s)

@bflad bflad added this to the v2.19.0 milestone Jul 9, 2019
@bflad bflad merged commit a52ddd3 into hashicorp:master Jul 9, 2019
bflad added a commit that referenced this pull request Jul 9, 2019
@bflad
Copy link
Contributor

bflad commented Jul 11, 2019

This has been released in version 2.19.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!

@ghost
Copy link

ghost commented Nov 2, 2019

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 and limited conversation to collaborators Nov 2, 2019
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. enhancement Requests to existing resources that expand the functionality or scope. service/servicediscovery Issues and PRs that pertain to the servicediscovery service. size/M 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.

aws_service_discovery_service broken for HTTP namespaces
5 participants