FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 6d662046 authored by Dr Abraham Martin's avatar Dr Abraham Martin
Browse files

Merge branch 'add-load-balancer-ssl-policy-and-output' into 'master'

Add load balancer ssl policy and output

See merge request !55
parents 4d8754f1 6bf3d14d
No related branches found
No related tags found
1 merge request!55Add load balancer ssl policy and output
Pipeline #331171 passed
......@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [7.1.0] - 2023-05-15
### Changed
- Added the load balancer(s) as an output from the module.
- Added new variable to pass in an `ssl_policy` self-link that is used in the load balancer
(if present).
## [7.0.0] - 2022-12-19
### Fixed
......
......@@ -36,6 +36,7 @@ module "webapp_http_load_balancer" {
use_ssl_certificates = var.use_ssl_certificates
ssl_certificates = var.ssl_certificates
managed_ssl_certificate_domains = local.dns_names
ssl_policy = var.ssl_policy
# Whether to create an IPv6 address to the load balancer.
enable_ipv6 = var.enable_ipv6
......
......@@ -10,6 +10,11 @@ output "service_account" {
value = google_service_account.webapp
}
output "load_balancer" {
description = "Load balancer for the webapp"
value = module.webapp_http_load_balancer
}
output "domain_mapping_present" {
description = "Flag indicating if a domain mapping is present for the webapp"
value = local.domain_mapping_present
......
......@@ -146,6 +146,15 @@ variable "ssl_certificates" {
EOI
}
variable "ssl_policy" {
type = string
default = null
description = <<EOI
Selflink to the SSL Policy for the load balancer to use.
EOI
}
variable "enable_ipv6" {
type = bool
default = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment