Skip to content

Commit

Permalink
fix: marked the data inout in the secret submodule as sensitive (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Abhyarthi authored Sep 30, 2024
1 parent 1bfb588 commit 259c647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module "secret" {
for_each = var.secrets
project_id = local.project_id
name = each.key
data = each.value.data
data = sensitive(each.value.data)
format = each.value.format
# Issue with provider, service_access is not supported at the moment. https://github.com/IBM-Cloud/terraform-provider-ibm/issues/5232
# service_access = each.value.service_access
Expand Down
1 change: 1 addition & 0 deletions modules/secret/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ variable "format" {
variable "data" {
description = "Data container that allows to specify config parameters and their values as a key-value map."
type = map(string)
sensitive = true
default = {}
}

Expand Down

0 comments on commit 259c647

Please sign in to comment.