data-platform-minimal - support web_server_network_access_control

This commit is contained in:
Keith Harvey 2023-06-28 13:28:28 +01:00 committed by GitHub
parent 099ad03910
commit 7cd9083fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -109,6 +109,15 @@ resource "google_composer_environment" "processing-cmp-0" {
kms_key_name = var.service_encryption_keys.composer
}
}
web_server_network_access_control {
dynamic "allowed_ip_range" {
for_each = var.webserver_access_ip_ranges
content {
value = allowed_ip_range.value["value"]
description = allowed_ip_range.value["description"]
}
}
}
}
depends_on = [
module.processing-project