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

11510 supports setting private_dns_name on resource_aws_vpc_endpoint_… #12246

Conversation

craigedmunds
Copy link

Fixes #11510 by passing through the optional private_dns_name through to the aws sdk PrivateDnsName parameter

@ghost ghost added needs-triage Waiting for first response or review from a maintainer. size/S Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Mar 4, 2020
@craigedmunds craigedmunds force-pushed the 11510-add-private-dns-to-vpc-endpoint-service branch from c598111 to fac6ae1 Compare March 4, 2020 15:25
@ghost ghost added the documentation Introduces or discusses updates to documentation. label Mar 4, 2020
@craigedmunds craigedmunds force-pushed the 11510-add-private-dns-to-vpc-endpoint-service branch from fac6ae1 to 9bbdf69 Compare March 9, 2020 14:12
@craigedmunds craigedmunds marked this pull request as ready for review March 9, 2020 14:12
@craigedmunds craigedmunds requested a review from a team March 9, 2020 14:12
@codezninja
Copy link

any idea on when this will be released?

@ewbankkit
Copy link
Contributor

@craigedmunds Thanks for this.
Are you able to rebase and remove the merge conflict?

@craigedmunds craigedmunds force-pushed the 11510-add-private-dns-to-vpc-endpoint-service branch from 9bbdf69 to 7eb89ab Compare May 5, 2020 16:10
@craigedmunds
Copy link
Author

Hi, comments addressed & rebased.

@ewbankkit
Copy link
Contributor

@craigedmunds Thanks for the quick response.
Could you please run make website-lint-fix and commit the changes, to make Travis happy.

@craigedmunds craigedmunds force-pushed the 11510-add-private-dns-to-vpc-endpoint-service branch from 7eb89ab to 9d445ed Compare May 5, 2020 19:14
@craigedmunds craigedmunds force-pushed the 11510-add-private-dns-to-vpc-endpoint-service branch from 9d445ed to 6ec6d00 Compare May 5, 2020 19:15
@ghost ghost added the service/waf Issues and PRs that pertain to the waf service. label May 5, 2020
@craigedmunds
Copy link
Author

That’s done @ewbankkit

@ewbankkit
Copy link
Contributor

Verified acceptance tests:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSVpcEndpointService_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -count 1 -parallel 2 -run=TestAccAWSVpcEndpointService_ -timeout 120m
=== RUN   TestAccAWSVpcEndpointService_basic
=== PAUSE TestAccAWSVpcEndpointService_basic
=== RUN   TestAccAWSVpcEndpointService_PrivateDnsName
=== PAUSE TestAccAWSVpcEndpointService_PrivateDnsName
=== RUN   TestAccAWSVpcEndpointService_AllowedPrincipalsAndTags
=== PAUSE TestAccAWSVpcEndpointService_AllowedPrincipalsAndTags
=== RUN   TestAccAWSVpcEndpointService_removed
=== PAUSE TestAccAWSVpcEndpointService_removed
=== CONT  TestAccAWSVpcEndpointService_basic
=== CONT  TestAccAWSVpcEndpointService_removed
--- PASS: TestAccAWSVpcEndpointService_basic (279.31s)
=== CONT  TestAccAWSVpcEndpointService_AllowedPrincipalsAndTags
--- PASS: TestAccAWSVpcEndpointService_removed (321.97s)
=== CONT  TestAccAWSVpcEndpointService_PrivateDnsName
--- PASS: TestAccAWSVpcEndpointService_AllowedPrincipalsAndTags (333.83s)
--- PASS: TestAccAWSVpcEndpointService_PrivateDnsName (296.19s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	618.216s

@craigedmunds
Copy link
Author

Are you going to merge it @ewbankkit ?

@bayazee
Copy link

bayazee commented Jun 8, 2020

@craigedmunds I guess we should also add domain verification name and value support. Maybe as attributes?

@Mattias-
Copy link

Good job @craigedmunds thanks for helping out with this!

@kevholditch
Copy link

@craigedmunds I've fixed the merge conflict and submitted a PR to your repo. Thanks for the great work hoping to get this merged as need it for a project

@kevholditch
Copy link

@craigedmunds sorry my fix broke go fmt that is fixed now with another PR to your repo

@patcable
Copy link

Did a little digging to see if I could add the attributes for DNS record validation to @craigedmunds's fork; have a question over in #11510 on the "right way" to do this in TF

@nickelozz
Copy link

We're also needing private DNS name support in the VPC endpoint service resource. @ewbankkit are you able to provide any additional comments to identify what's missing to get this PR merged?

@ewbankkit ewbankkit removed the service/waf Issues and PRs that pertain to the waf service. label Dec 15, 2020
@bflad
Copy link
Contributor

bflad commented Jan 5, 2021

Hi @craigedmunds 👋 Thank you for submitting this. We have opted to pull in #16495, which includes the PrivateDnsNameConfiguration attributes that are returned from the EC2 API and is up to date without merge conflicts. This functionality will release with version 3.23.0 of the Terraform AWS Provider, later this week. 👍

@bflad bflad closed this Jan 5, 2021
@ghost
Copy link

ghost commented Feb 4, 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 Feb 4, 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
documentation Introduces or discusses updates to documentation. service/ec2 Issues and PRs that pertain to the ec2 service. size/S 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 PrivateLink now supports Private DNS names for internal and 3rd party services
10 participants