Skip to content

Commit

Permalink
correcting the test
Browse files Browse the repository at this point in the history
  • Loading branch information
nb-goog committed Nov 19, 2024
1 parent d63ea27 commit 98715b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions examples/autokey_setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
*/

module "autokey" {
source = "terraform-google-modules/kms/google//modules/autokey"
version = "3.1.0"
source = "./../..//modules/autokey"

autokey_kms_project_id = var.kms_project_id
autokey_folder_number = var.folder_id
Expand Down
4 changes: 2 additions & 2 deletions examples/bucket_setup_using_autokey/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ 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\_name\_prefix | The storage bucket created will have name {bucket\_name\_prefix}-{random-suffix} | `string` | n/a | yes |
| bucket\_resource\_type\_selector | The resource type selector for bucket | `string` | n/a | yes |
| 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 |

## Outputs
Expand Down
3 changes: 1 addition & 2 deletions examples/bucket_setup_using_autokey/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
*/

module "autokey" {
source = "terraform-google-modules/kms/google//modules/autokey"
version = "3.1.0"
source = "./../..//modules/autokey"

autokey_kms_project_id = var.kms_project_id
autokey_folder_number = var.folder_id
Expand Down
2 changes: 1 addition & 1 deletion examples/import_only_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "random_pet" "main" {
}

module "kms" {
source = "../.."
source = "nb-goog/kms/google"

project_id = var.project_id
keyring = random_pet.main.id
Expand Down

0 comments on commit 98715b3

Please sign in to comment.