rename iam variable in secret manager module, add tests
This commit is contained in:
@@ -35,7 +35,7 @@ module "secret-manager" {
|
||||
test-auto = null
|
||||
test-manual = ["europe-west1", "europe-west4"]
|
||||
}
|
||||
iam_members = {
|
||||
iam = {
|
||||
test-auto = {
|
||||
"roles/secretmanager.secretAccessor" = ["group:auto-readers@example.com"]
|
||||
}
|
||||
@@ -76,7 +76,7 @@ module "secret-manager" {
|
||||
| name | description | type | required | default |
|
||||
|---|---|:---: |:---:|:---:|
|
||||
| project_id | Project id where the keyring will be created. | <code title="">string</code> | ✓ | |
|
||||
| *iam_members* | IAM members keyed by secret name and role. | <code title="map(map(set(string)))">map(map(set(string)))</code> | | <code title="">{}</code> |
|
||||
| *iam* | IAM bindings in {SECRET => {ROLE => [MEMBERS]}} format. | <code title="map(map(list(string)))">map(map(list(string)))</code> | | <code title="">{}</code> |
|
||||
| *labels* | Optional labels for each secret. | <code title="map(map(string))">map(map(string))</code> | | <code title="">{}</code> |
|
||||
| *secrets* | Map of secrets to manage and their locations. If locations is null, automatic management will be set. | <code title="map(list(string))">map(list(string))</code> | | <code title="">{}</code> |
|
||||
| *versions* | Optional versions to manage for each secret. Version names are only used internally to track individual versions. | <code title="map(map(object({ enabled = bool data = string })))">map(map(object({...})))</code> | | <code title="">{}</code> |
|
||||
|
||||
Reference in New Issue
Block a user