Open nnt opened 3 years ago
@nnt first off, sorry about the delay. I hadn't' seen this issue before.
Nw regarding the issue, you could seth ips has empty list and it should work:
module "resolver_rule_name" {
source = "git::https://github.com/lgallard/terraform-aws-route53-resolver-rules.git"
resolver_endpoint_id = aws_route53_resolver_endpoint.inbound_endpoint_name.id
rules = [
{
domain_name = "example.com"
vpc_ids = [ids-go-here]
principals = [account-ids-go-here]
ips = []
}
]
}
Source code
Error
More information
My guess is that the error is caused by the lack of
ips
in each rule, which I am not sure why is required in this module (the resource route53_resolver_rule makes this optional). Maybe the author wrote this module with external/on-prem DNS in mind?