Skip to content

Commit

Permalink
chore: make keys sensitive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
raisedadead committed Jul 16, 2023
1 parent 3032ee6 commit fda609f
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/ops-cluster-o11y/variables.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
variable "linode_token" {
description = "The Linode API Personal Access Token."
type = string
sensitive = true
}

variable "password" {
description = "The root password for the Linode instances."
type = string
sensitive = true
}

variable "worker_node_count" {
Expand Down Expand Up @@ -45,9 +47,11 @@ variable "region" {
variable "hcp_client_id" {
description = "The client ID for the HCP API."
type = string
sensitive = true
}

variable "hcp_client_secret" {
description = "The client secret for the HCP API."
type = string
sensitive = true
}
1 change: 1 addition & 0 deletions terraform/ops-dns/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
variable "linode_token" {
description = "The Linode API Personal Access Token."
sensitive = true
}
1 change: 1 addition & 0 deletions terraform/ops-stackscripts/variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
variable "linode_token" {
description = "The Linode API Personal Access Token."
sensitive = true
}

variable "public_stackscript" {
Expand Down
3 changes: 3 additions & 0 deletions terraform/ops-test/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
variable "linode_token" {
description = "The Linode API Personal Access Token."
type = string
sensitive = true
}

variable "password" {
Expand All @@ -23,9 +24,11 @@ variable "region" {
variable "hcp_client_id" {
description = "The client ID for the HCP API."
type = string
sensitive = true
}

variable "hcp_client_secret" {
description = "The client secret for the HCP API."
type = string
sensitive = true
}
4 changes: 4 additions & 0 deletions terraform/prd-cluster-publish/variables.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
variable "linode_token" {
description = "The Linode API Personal Access Token."
type = string
sensitive = true
}

variable "password" {
description = "The root password for the Linode instances."
type = string
sensitive = true
}

variable "worker_node_count" {
Expand Down Expand Up @@ -45,10 +47,12 @@ variable "region" {
variable "hcp_client_id" {
description = "The client ID for the HCP API."
type = string
sensitive = true
}

variable "hcp_client_secret" {
description = "The client secret for the HCP API."
type = string
sensitive = true
}

10 changes: 10 additions & 0 deletions terraform/stg-cluster-oldeworld/variables.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
variable "linode_token" {
description = "The Linode API Personal Access Token."
type = string
sensitive = true
}

variable "password" {
description = "The root password for the Linode instances."
type = string
sensitive = true
}

variable "region" {
Expand All @@ -14,6 +16,12 @@ variable "region" {
type = string
}

variable "network_subdomain" {
description = "The subdomain for the network."
type = string
sensitive = true
}

# variable "image_id" {
# description = "The ID for the Linode image to be used in provisioning the instances"
# default = "private/20789403"
Expand All @@ -23,10 +31,12 @@ variable "region" {
variable "hcp_client_id" {
description = "The client ID for the HCP API."
type = string
sensitive = true
}

variable "hcp_client_secret" {
description = "The client secret for the HCP API."
type = string
sensitive = true
}

2 changes: 2 additions & 0 deletions terraform/stg-origins-oldeworld/variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
variable "linode_token" {
description = "The Linode API Personal Access Token."
type = string
sensitive = true
}

variable "region" {
Expand Down

0 comments on commit fda609f

Please sign in to comment.