Skip to content
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
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