Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nb-goog committed Dec 21, 2024
1 parent f2f1f5a commit d80f643
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions examples/autokey_setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ This example illustrates how to setup the `autokey` kms submodule for [KMS Autok
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| folder\_id | The ID of the folder for which to configure and enable Autokey feature. | `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 |
| key\_project\_id | The ID of the project in which KMS keyring and KMS keys will be provisioned by autokey. | `string` | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| autokey\_config\_id | An Autokey configuration identifier. |
| kms\_project\_id | The ID of the project in which kms keyring and kms keys will be provisioned by autokey. |
| key\_project\_id | The ID of the project in which kms keyring and kms keys will be provisioned by autokey. |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

Expand Down
6 changes: 3 additions & 3 deletions examples/autokey_setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
*/

module "autokey" {
source = "terraform-google-modules/kms/google//modules/autokey"
source = "terraform-google-modules/kms/google//modules/autokey"
version = "~> 4.0"

key_project_id = var.key_project_id
autokey_folder_number = var.folder_id
key_project_id = var.key_project_id
autokey_folder_number = var.folder_id
}

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 @@ -9,7 +9,7 @@ This example illustrates how to use the `autokey` kms submodule for [KMS Autokey
|------|-------------|------|---------|:--------:|
| 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. | `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 |
| key\_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 cloud storage bucket resource. | `string` | n/a | yes |

## Outputs
Expand Down
4 changes: 2 additions & 2 deletions examples/bucket_setup_using_autokey/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ module "autokey" {
source = "terraform-google-modules/kms/google//modules/autokey"
version = "~> 4.0"

key_project_id = var.key_project_id
autokey_folder_number = var.folder_id
key_project_id = var.key_project_id
autokey_folder_number = var.folder_id
}

# Wait delay for autokey configuration.
Expand Down
2 changes: 1 addition & 1 deletion modules/autokey/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is a submodule built to make [KMS Autokey](https://cloud.google.com/kms/doc
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| autokey\_folder\_number | The folder number on which autokey will be configured and enabled. Required when using Autokey. | `string` | n/a | yes |
| autokey\_kms\_project\_id | The ID of the project in which kms keyrings and keys will be provisioned by the Autokey. | `string` | n/a | yes |
| key\_project\_id | The ID of the project in which kms keyrings and keys will be provisioned by the Autokey. | `string` | n/a | yes |

## Outputs

Expand Down

0 comments on commit d80f643

Please sign in to comment.