Skip to content

Commit

Permalink
Merge pull request #1323 from bgdanix/shielded-dataset-fix
Browse files Browse the repository at this point in the history
fix: create log-export-dataset on shielded-folder when no ecryption keys are defined
  • Loading branch information
juliocc authored Apr 12, 2023
2 parents 23302b1 + 4443fe9 commit ff80e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blueprints/data-solutions/shielded-folder/log-export.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module "log-export-dataset" {
id = "${var.prefix}_audit_export"
friendly_name = "Audit logs export."
location = replace(var.log_locations.bq, "europe", "EU")
encryption_key = var.enable_features.encryption ? module.log-kms[var.log_locations.bq].keys["bq"].id : false
encryption_key = var.enable_features.encryption ? module.log-kms[var.log_locations.bq].keys["bq"].id : null
}

module "log-export-gcs" {
Expand Down

0 comments on commit ff80e66

Please sign in to comment.