Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add usage_reporting_opt_out variable #285

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ module "runtime_container_engine_config" {
count = var.is_replicated_deployment ? 0 : 1

license_reporting_opt_out = var.license_reporting_opt_out
usage_reporting_opt_out = var.usage_reporting_opt_out
hostname = local.common_fqdn
capacity_concurrency = var.capacity_concurrency
capacity_cpu = var.capacity_cpu
Expand Down
6 changes: 3 additions & 3 deletions modules/networking/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ resource "google_compute_global_address" "private_ip_address" {
}

resource "google_service_networking_connection" "private_vpc_connection" {
network = google_compute_network.tfe_vpc.self_link
service = "servicenetworking.googleapis.com"
deletion_policy = "ABANDON"
network = google_compute_network.tfe_vpc.self_link
service = "servicenetworking.googleapis.com"
deletion_policy = "ABANDON"
reserved_peering_ranges = [google_compute_global_address.private_ip_address.name]
}
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,12 @@ variable "license_reporting_opt_out" {
description = "(Not needed if is_replicated_deployment is true) Whether to opt out of reporting licensing information to HashiCorp. Defaults to false."
}

variable "usage_reporting_opt_out" {
default = false
type = bool
description = "(Not needed if is_replicated_deployment is true) Whether to opt out of reporting usage information to HashiCorp. Defaults to false."
}

variable "operational_mode" {
default = "external"
description = "A special string to control the operational mode of Terraform Enterprise. Valid values are: 'external' for External Services mode; 'disk' for Mounted Disk mode;."
Expand Down
Loading