Skip to content

Commit

Permalink
Patch Route53ResolverRule early (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
danarbaugh authored Oct 27, 2023
2 parents c2ae6d7 + 38610d6 commit 67741e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/route53-resolver-rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func resolverRulesToVpcIDs(svc *route53resolver.Route53Resolver) (map[string][]*

// Filter removes resources automatically from being nuked
func (r *Route53ResolverRule) Filter() error {
if *r.domainName == "." {
if r.domainName != nil && *r.domainName == "." {
return fmt.Errorf(`Filtering DomainName "."`)
}

Expand Down

0 comments on commit 67741e9

Please sign in to comment.