From 006bfe4f4434729b21b4dfd0e06d4e6cc3e0707a Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Mon, 17 Apr 2023 16:40:05 +0900 Subject: [PATCH] fix typo in variable name (#1324) --- fast/extras/0-cicd-github/README.md | 2 +- fast/extras/0-cicd-github/main.tf | 6 +++--- fast/extras/0-cicd-github/variables.tf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fast/extras/0-cicd-github/README.md b/fast/extras/0-cicd-github/README.md index f388c8db33..a5d27c4323 100644 --- a/fast/extras/0-cicd-github/README.md +++ b/fast/extras/0-cicd-github/README.md @@ -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. | string | ✓ | | -| [commmit_config](variables.tf#L17) | Configure commit metadata. | object({…}) | | {} | +| [commit_config](variables.tf#L17) | Configure commit metadata. | object({…}) | | {} | | [modules_config](variables.tf#L28) | Configure access to repository module via key, and replacement for modules sources in stage repositories. | object({…}) | | null | | [pull_request_config](variables.tf#L56) | Configure pull request metadata. | object({…}) | | {} | | [repositories](variables.tf#L69) | Repositories to create. | map(object({…})) | | {} | diff --git a/fast/extras/0-cicd-github/main.tf b/fast/extras/0-cicd-github/main.tf index 457233d99f..ab88b346c1 100644 --- a/fast/extras/0-cicd-github/main.tf +++ b/fast/extras/0-cicd-github/main.tf @@ -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 } diff --git a/fast/extras/0-cicd-github/variables.tf b/fast/extras/0-cicd-github/variables.tf index 88187fc23d..15b2d66015 100644 --- a/fast/extras/0-cicd-github/variables.tf +++ b/fast/extras/0-cicd-github/variables.tf @@ -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")