Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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
1 change: 1 addition & 0 deletions examples/apps/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ output "config_map" {
output "secret" {
description = "Configuration of the created code engine secret."
value = module.code_engine.secret
sensitive = true
}

output "domain_mapping" {
Expand Down
1 change: 1 addition & 0 deletions examples/jobs/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ output "job" {
output "secret" {
description = "Configuration of the created code engine secret."
value = module.code_engine.secret
sensitive = true
}

output "build" {
Expand Down
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
1 change: 1 addition & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ output "config_map" {
output "secret" {
description = "Configuration of the created code engine secret."
value = module.secret
sensitive = true
}

output "build" {
Expand Down
1 change: 1 addition & 0 deletions solutions/apps/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ output "config_map" {
output "secret" {
description = "Configuration of the created code engine secret."
value = module.code_engine.secret
sensitive = true
}

output "domain_mapping" {
Expand Down