diff --git a/examples/bucket_setup_using_autokey/README.md b/examples/bucket_setup_using_autokey/README.md index 24a5ed8..ad90643 100644 --- a/examples/bucket_setup_using_autokey/README.md +++ b/examples/bucket_setup_using_autokey/README.md @@ -7,7 +7,7 @@ This example illustrates how to use the `autokey` kms submodule for [KMS Autokey | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| bucket\_location | The gcp location where storage bucket will be created | `string` | n/a | yes | +| bucket\_location | The gcp location where storage bucket will be created | `string` | `"us-central1"` | no | | folder\_id | The ID of the folder for which to configure and enable Autokey feature. Required when using Autokey. | `string` | n/a | yes | | kms\_project\_id | The ID of the project in which kms keyring and kms keys will be provisioned by autokey. | `string` | n/a | yes | | resource\_project\_id | The ID of the project in which to provision resources (bucket, persistent disk, etc) | `string` | n/a | yes | diff --git a/examples/bucket_setup_using_autokey/variables.tf b/examples/bucket_setup_using_autokey/variables.tf index 5242672..cc02c2a 100644 --- a/examples/bucket_setup_using_autokey/variables.tf +++ b/examples/bucket_setup_using_autokey/variables.tf @@ -32,4 +32,5 @@ variable "resource_project_id" { variable "bucket_location" { type = string description = "The gcp location where storage bucket will be created" + default = "us-central1" } diff --git a/test/setup/outputs.tf b/test/setup/outputs.tf index 2ed4ad5..5bf5c7a 100644 --- a/test/setup/outputs.tf +++ b/test/setup/outputs.tf @@ -18,6 +18,10 @@ output "kms_project_id" { value = module.project_ci_kms.project_id } +output "project_id" { + value = module.project_ci_kms.project_id +} + output "resource_project_id" { value = module.autokey_resource_project.project_id }