fix typo in variable name (#1324)
This commit is contained in:
parent
c28f7e69e9
commit
121bc30e90
|
@ -188,7 +188,7 @@ terraform state list | grep github_repository_file | awk '{print "terraform stat
|
|||
| name | description | type | required | default |
|
||||
|---|---|:---:|:---:|:---:|
|
||||
| [organization](variables.tf#L51) | GitHub organization. | <code>string</code> | ✓ | |
|
||||
| [commmit_config](variables.tf#L17) | Configure commit metadata. | <code title="object({ author = optional(string, "FAST loader") email = optional(string, "fast-loader@fast.gcp.tf") message = optional(string, "FAST initial loading") })">object({…})</code> | | <code>{}</code> |
|
||||
| [commit_config](variables.tf#L17) | Configure commit metadata. | <code title="object({ author = optional(string, "FAST loader") email = optional(string, "fast-loader@fast.gcp.tf") message = optional(string, "FAST initial loading") })">object({…})</code> | | <code>{}</code> |
|
||||
| [modules_config](variables.tf#L28) | Configure access to repository module via key, and replacement for modules sources in stage repositories. | <code title="object({ repository_name = string source_ref = optional(string) module_prefix = optional(string, "") key_config = optional(object({ create_key = optional(bool, false) create_secrets = optional(bool, false) keypair_path = optional(string) }), {}) })">object({…})</code> | | <code>null</code> |
|
||||
| [pull_request_config](variables.tf#L56) | Configure pull request metadata. | <code title="object({ create = optional(bool, false) title = optional(string, "FAST: initial loading or update") body = optional(string, "") base_ref = optional(string, "main") head_ref = optional(string, "fast-loader") })">object({…})</code> | | <code>{}</code> |
|
||||
| [repositories](variables.tf#L69) | Repositories to create. | <code title="map(object({ create_options = optional(object({ allow = optional(object({ auto_merge = optional(bool) merge_commit = optional(bool) rebase_merge = optional(bool) squash_merge = optional(bool) })) auto_init = optional(bool) description = optional(string) features = optional(object({ issues = optional(bool) projects = optional(bool) wiki = optional(bool) })) templates = optional(object({ gitignore = optional(string, "Terraform") license = optional(string) repository = optional(object({ name = string owner = string })) }), {}) visibility = optional(string, "private") })) populate_from = optional(string) populate_samples = optional(bool, false) }))">map(object({…}))</code> | | <code>{}</code> |
|
||||
|
|
|
@ -169,9 +169,9 @@ resource "github_repository_file" "default" {
|
|||
)
|
||||
: file(each.value.file)
|
||||
)
|
||||
commit_message = "${var.commmit_config.message} (${each.value.name})"
|
||||
commit_author = var.commmit_config.author
|
||||
commit_email = var.commmit_config.email
|
||||
commit_message = "${var.commit_config.message} (${each.value.name})"
|
||||
commit_author = var.commit_config.author
|
||||
commit_email = var.commit_config.email
|
||||
overwrite_on_create = true
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
variable "commmit_config" {
|
||||
variable "commit_config" {
|
||||
description = "Configure commit metadata."
|
||||
type = object({
|
||||
author = optional(string, "FAST loader")
|
||||
|
|
Loading…
Reference in New Issue