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

Feature request: Route 53 Resolver DNS Firewall #18520

Closed
4 of 5 tasks
gazoakley opened this issue Apr 1, 2021 · 6 comments · Fixed by #18733
Closed
4 of 5 tasks

Feature request: Route 53 Resolver DNS Firewall #18520

gazoakley opened this issue Apr 1, 2021 · 6 comments · Fixed by #18733
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/route53resolver Issues and PRs that pertain to the route53resolver service. service/route53 Issues and PRs that pertain to the route53 service.
Milestone

Comments

@gazoakley
Copy link
Contributor

gazoakley commented Apr 1, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue 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 issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Amazon Route 53 Resolver DNS Firewall (DNS Firewall) enables you to defend against DNS-level threats. With DNS Firewall, you can protect against data exfiltration attempts by defining domain name allowlists that allow resources within your Amazon Virtual Private Cloud (VPC) to make outbound DNS requests only for the sites your organization trusts.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_route53_resolver_firewall_domain_list" "example" {
  name    = "example"
  domains = ["example.com"]
  tags    = {}
}

resource "aws_route53_resolver_firewall_rule_group" "example" {
  name = "example"
  tags = {}
}

resource "aws_route53_resolver_firewall_rule" "example" {
  name                    = "example"
  action                  = "BLOCK"
  block_override_dns_type = "CNAME"
  block_override_domain   = "example.com"
  block_override_ttl      = 1
  block_response          = "OVERRIDE"
  firewall_domain_list_id = aws_route53_resolver_firewall_domain_list.example.id
  firewall_rule_group_id  = aws_route53_resolver_firewall_rule_group.example.id
  priority                = 100
}

resource "aws_route53_resolver_firewall_rule_group_association" "example" {
  name                   = "example"
  firewall_rule_group_id = aws_route53_resolver_firewall_rule_group.example.id
  priority               = 100
  mutation_protection    = "DISABLED"
  tags                   = {}
  vpc_id                 = aws_vpc.example.id
}

resource "aws_route53_resolver_firewall_config" "example" {
  firewall_fail_open = "ENABLED"
  resource_id        = aws_vpc.example.id
}

References

@gazoakley gazoakley added the enhancement Requests to existing resources that expand the functionality or scope. label Apr 1, 2021
@ghost ghost added service/route53 Issues and PRs that pertain to the route53 service. service/route53resolver Issues and PRs that pertain to the route53resolver service. labels Apr 1, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Apr 1, 2021
@gazoakley
Copy link
Contributor Author

This isn't yet available in the current Go SDK - it may well land in v1.38.11

@ewbankkit ewbankkit added new-resource Introduces a new resource. and removed enhancement Requests to existing resources that expand the functionality or scope. service/route53 Issues and PRs that pertain to the route53 service. labels Apr 1, 2021
@ewbankkit
Copy link
Contributor

Announcement.
Developer Guide,
The API Reference has been updated but nothing in the SDK yet.

@ewbankkit ewbankkit added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 1, 2021
@ghost ghost added the service/route53 Issues and PRs that pertain to the route53 service. label Apr 1, 2021
@ewbankkit
Copy link
Contributor

ewbankkit commented Apr 1, 2021

@sslavic
Copy link

sslavic commented Apr 6, 2021

AWS SDK has been updated to v1.38.12 via #18565

@github-actions
Copy link

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

@github-actions
Copy link

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 have found a problem that seems similar to this, 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 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/route53resolver Issues and PRs that pertain to the route53resolver service. service/route53 Issues and PRs that pertain to the route53 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants