mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(infra): use sensitive attribute for all secrets (#5562)
Is there a reason not to mark these `sensitive`? https://developer.hashicorp.com/terraform/tutorials/configuration-language/sensitive-variables
This commit is contained in:
@@ -2,6 +2,7 @@ variable "aws_gateway_token" {
|
||||
type = string
|
||||
description = "Firezone Gateway token for AWS gateway"
|
||||
default = null
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "image_tag" {
|
||||
@@ -15,8 +16,9 @@ variable "metabase_image_tag" {
|
||||
}
|
||||
|
||||
variable "relay_token" {
|
||||
type = string
|
||||
default = null
|
||||
type = string
|
||||
default = null
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "slack_alerts_channel" {
|
||||
@@ -28,14 +30,17 @@ variable "slack_alerts_channel" {
|
||||
variable "slack_alerts_auth_token" {
|
||||
type = string
|
||||
description = "Slack auth token for the infra alerts channel"
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "postmark_server_api_token" {
|
||||
type = string
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "mailgun_server_api_token" {
|
||||
type = string
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "stripe_secret_key" {
|
||||
|
||||
@@ -46,6 +46,7 @@ variable "log_level" {
|
||||
variable "token" {
|
||||
type = string
|
||||
description = "Gateway token to use for authentication."
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "subnet_cidr" {
|
||||
|
||||
@@ -118,6 +118,7 @@ variable "token" {
|
||||
description = "Portal token to use for authentication."
|
||||
type = string
|
||||
default = null
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "vpc_security_group_ids" {
|
||||
|
||||
@@ -141,6 +141,7 @@ variable "token" {
|
||||
description = "Portal token to use for authentication."
|
||||
type = string
|
||||
default = null
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "vpc_security_group_ids" {
|
||||
|
||||
@@ -153,6 +153,7 @@ variable "firezone_token" {
|
||||
default = ""
|
||||
|
||||
description = "Firezone token to allow client to connect to portal"
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "firezone_client_log_level" {
|
||||
|
||||
@@ -84,6 +84,7 @@ variable "labels" {
|
||||
variable "token" {
|
||||
type = string
|
||||
description = "Portal token to use for authentication."
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "api_url" {
|
||||
|
||||
@@ -137,6 +137,7 @@ variable "application_environment_variables" {
|
||||
variable "token" {
|
||||
type = string
|
||||
description = "Portal token to use for authentication."
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "api_url" {
|
||||
|
||||
@@ -10,12 +10,14 @@ variable "slack_alerts_channel" {
|
||||
variable "slack_alerts_auth_token" {
|
||||
type = string
|
||||
description = "Slack auth token for the infra alerts channel"
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "pagerduty_auth_token" {
|
||||
type = string
|
||||
description = "Pagerduty auth token for the infra alerts channel"
|
||||
default = null
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "additional_notification_channels" {
|
||||
|
||||
Reference in New Issue
Block a user