Skip to content

Commit

Permalink
Add terraform support for specifying a source range to allow (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
plars committed Oct 3, 2023
1 parent a09d342 commit aaff7d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/test-observer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ variable "external_ingress_hostname" {
default = "canonical.com"
}

variable "nginx_ingress_integrator_charm_whitelist_source_range" {
description = "Allowed client IP source ranges. The value is a comma separated list of CIDRs."
type = string
default = ""
}

locals {
sentry_dsn_map = {
production = "https://[email protected]//66"
Expand All @@ -49,6 +55,7 @@ resource "juju_application" "ingress" {

config = {
tls-secret-name = var.tls_secret_name
whitelist-source-range = var.nginx_ingress_integrator_charm_whitelist_source_range
}
}

Expand Down

0 comments on commit aaff7d0

Please sign in to comment.