Skip to content

Commit

Permalink
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions rules/models/mappings/route53-resolver.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import = "aws-sdk-go/models/apis/route53resolver/2018-04-01/api-2.json"

mapping "aws_route53_resolver_dnssec_config" {
resource_id = ResourceId
}

mapping "aws_route53_resolver_endpoint" {
direction = ResolverEndpointDirection
ip_address = IpAddressesRequest
Expand All @@ -8,6 +12,42 @@ mapping "aws_route53_resolver_endpoint" {
tags = TagList
}

mapping "aws_route53_resolver_firewall_config" {
resource_id = ResourceId
firewall_fail_open = FirewallFailOpenStatus
}

mapping "aws_route53_resolver_firewall_domain_list" {
name = Name
tags = TagList
}

mapping "aws_route53_resolver_firewall_rule" {
name = Name
action = Action
block_override_dns_type = BlockOverrideDnsType
block_override_domain = BlockOverrideDomain
block_override_ttl = BlockOverrideTtl
block_response = BlockResponse
firewall_domain_list_id = ResourceId
firewall_rule_group_id = ResourceId
priority = Priority
}

mapping "aws_route53_resolver_firewall_rule_group" {
name = Name
tags = TagList
}

mapping "aws_route53_resolver_firewall_rule_group_association" {
name = Name
firewall_rule_group_id = ResourceId
mutation_protection = MutationProtectionStatus
priority = Priority
vpc_id = ResourceId
tags = TagList
}

mapping "aws_route53_resolver_rule" {
domain_name = DomainName
rule_type = RuleTypeOption
Expand All @@ -22,3 +62,14 @@ mapping "aws_route53_resolver_rule_association" {
vpc_id = ResourceId
name = any // Name
}

mapping "aws_route53_resolver_query_log_config" {
destination_arn = DestinationArn
name = ResolverQueryLogConfigName
tags = TagList
}

mapping "aws_route53_resolver_query_log_config_association" {
resolver_query_log_config_id = ResourceId
resource_id = ResourceId
}

0 comments on commit 8a60618

Please sign in to comment.