Skip to content

Commit

Permalink
mark secret variables as sensitive (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs authored Oct 23, 2023
1 parent 5797493 commit 0702313
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/daily_snapshot/prod/variable.tf
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
variable "do_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "R2_ACCESS_KEY" {
description = "S3 access key id"
type = string
sensitive = true
}

variable "R2_SECRET_KEY" {
description = "S3 private access key"
type = string
sensitive = true
}

variable "slack_token" {
description = "slack access token"
type = string
sensitive = true
}

variable "NEW_RELIC_API_KEY" {
description = "New Relic API KEY"
type = string
sensitive = true
}

variable "NEW_RELIC_ACCOUNT_ID" {
description = "The New Relic Account ID"
type = string
sensitive = true
}
4 changes: 4 additions & 0 deletions terraform/daily_snapshot/variable.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
variable "do_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "R2_ACCESS_KEY" {
description = "S3 access key id"
type = string
sensitive = true
}

variable "R2_SECRET_KEY" {
description = "S3 private access key"
type = string
sensitive = true
}

variable "slack_token" {
description = "slack access token"
type = string
sensitive = true
}
4 changes: 4 additions & 0 deletions terraform/forest-calibnet/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ variable "source_addresses" {
variable "do_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "destination_addresses" {
Expand All @@ -56,14 +57,17 @@ variable "fw_name" {
variable "NR_LICENSE_KEY" {
description = "New Relic Access Token"
type = string
sensitive = true
}

variable "NEW_RELIC_API_KEY" {
description = "New Relic API KEY"
type = string
sensitive = true
}

variable "NEW_RELIC_ACCOUNT_ID" {
description = "The New Relic Account ID"
type = string
sensitive = true
}
4 changes: 4 additions & 0 deletions terraform/forest-mainnet/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ variable "source_addresses" {
variable "do_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "volume_size" {
Expand Down Expand Up @@ -71,14 +72,17 @@ variable "fw_name" {
variable "NR_LICENSE_KEY" {
description = "New Relic Access Token"
type = string
sensitive = true
}

variable "NEW_RELIC_API_KEY" {
description = "The New Relic API KEY"
type = string
sensitive = true
}

variable "NEW_RELIC_ACCOUNT_ID" {
description = "The New Relic Account ID"
type = string
sensitive = true
}
6 changes: 6 additions & 0 deletions terraform/modules/daily_snapshot/variable.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
variable "digitalocean_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "name" {
Expand All @@ -21,16 +22,19 @@ variable "slack_channel" {
variable "slack_token" {
description = "slack access token"
type = string
sensitive = true
}

variable "R2_ACCESS_KEY" {
description = "S3 access key id"
type = string
sensitive = true
}

variable "R2_SECRET_KEY" {
description = "S3 private access key"
type = string
sensitive = true
}

variable "snapshot_bucket" {
Expand Down Expand Up @@ -96,10 +100,12 @@ variable "NEW_RELIC_API_KEY" {
description = "New Relic API KEY"
default = ""
type = string
sensitive = true
}

variable "NEW_RELIC_ACCOUNT_ID" {
description = "The New Relic Account ID"
default = ""
type = string
sensitive = true
}
4 changes: 4 additions & 0 deletions terraform/modules/filecoin_node/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ variable "source_addresses" {
variable "do_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "volume_size" {
Expand Down Expand Up @@ -85,18 +86,21 @@ variable "NR_LICENSE_KEY" {
description = "New Relic Access Token"
default = ""
type = string
sensitive = true
}

variable "NEW_RELIC_API_KEY" {
description = "New Relic API KEY"
default = ""
type = string
sensitive = true
}

variable "NEW_RELIC_ACCOUNT_ID" {
description = "New Relic Account ID"
default = ""
type = string
sensitive = true
}

variable "NEW_RELIC_REGION" {
Expand Down
4 changes: 4 additions & 0 deletions terraform/modules/sync_check/variable.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
variable "digitalocean_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "name" {
Expand All @@ -21,6 +22,7 @@ variable "slack_channel" {
variable "slack_token" {
description = "slack access token"
type = string
sensitive = true
}

variable "image" {
Expand Down Expand Up @@ -51,10 +53,12 @@ variable "NEW_RELIC_API_KEY" {
description = "New Relic API KEY"
default = ""
type = string
sensitive = true
}

variable "NEW_RELIC_ACCOUNT_ID" {
description = "The New Relic Account ID"
default = ""
type = string
sensitive = true
}
2 changes: 2 additions & 0 deletions terraform/new-relic/variable.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
variable "NEW_RELIC_ACCOUNT_ID" {
type = string
description = "The New Relic Account ID"
sensitive = true
}

variable "NEW_RELIC_API_KEY" {
description = "The New Relic API KEY"
type = string
sensitive = true
}

variable "slack_destination_id" {
Expand Down
4 changes: 4 additions & 0 deletions terraform/sync_check/variable.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
variable "do_token" {
description = "Token for authentication."
type = string
sensitive = true
}

variable "slack_token" {
description = "slack access token"
type = string
sensitive = true
}

variable "NEW_RELIC_API_KEY" {
description = "New Relic API KEY"
type = string
sensitive = true
}

variable "NEW_RELIC_ACCOUNT_ID" {
description = "The New Relic Account ID"
type = string
sensitive = true
}

0 comments on commit 0702313

Please sign in to comment.