Skip to content

Commit

Permalink
correcting autokey setup test
Browse files Browse the repository at this point in the history
  • Loading branch information
nb-goog committed Dec 5, 2024
1 parent 7fc4a22 commit 463052e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/autokey_setup/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ output "autokey_config_id" {
description = "An Autokey configuration identifier."
value = module.autokey.autokey_config_id
}

output "kms_project_id" {
description = "The ID of the project in which kms keyring and kms keys will be provisioned by autokey."
value = var.kms_project_id
}
1 change: 1 addition & 0 deletions modules/autokey/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ resource "google_kms_autokey_config" "primary" {

folder = var.autokey_folder_number
key_project = "projects/${var.autokey_kms_project_id}"
depends_on = [time_sleep.wait_srv_acc_permissions]
}

0 comments on commit 463052e

Please sign in to comment.