Skip to content

Commit

Permalink
correcting variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nb-goog committed Nov 19, 2024
1 parent 9adbeca commit 0076c7a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bucket_setup_using_autokey/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions examples/bucket_setup_using_autokey/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 4 additions & 0 deletions test/setup/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0076c7a

Please sign in to comment.