From aa92195cd77bf2152c188ab610c106fe47386b96 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Fri, 6 Jan 2023 13:11:33 +0100 Subject: [PATCH] fix: Fixed misleading descriptions of IAM role (not Lambda) (#76) --- README.md | 8 ++++---- variables.tf | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3c5b087..458f48f 100644 --- a/README.md +++ b/README.md @@ -469,11 +469,11 @@ No modules. | [policy\_json](#input\_policy\_json) | An additional policy document as JSON to attach to IAM role | `string` | `null` | no | | [policy\_jsons](#input\_policy\_jsons) | List of additional policy documents as JSON to attach to IAM role | `list(string)` | `[]` | no | | [policy\_statements](#input\_policy\_statements) | Map of dynamic policy statements to attach to IAM role | `any` | `{}` | no | -| [role\_description](#input\_role\_description) | Description of IAM role to use for Lambda Function | `string` | `null` | no | +| [role\_description](#input\_role\_description) | Description of IAM role to use for EventBridge | `string` | `null` | no | | [role\_force\_detach\_policies](#input\_role\_force\_detach\_policies) | Specifies to force detaching any policies the IAM role has before destroying it. | `bool` | `true` | no | -| [role\_name](#input\_role\_name) | Name of IAM role to use for Lambda Function | `string` | `null` | no | -| [role\_path](#input\_role\_path) | Path of IAM role to use for Lambda Function | `string` | `null` | no | -| [role\_permissions\_boundary](#input\_role\_permissions\_boundary) | The ARN of the policy that is used to set the permissions boundary for the IAM role used by Lambda Function | `string` | `null` | no | +| [role\_name](#input\_role\_name) | Name of IAM role to use for EventBridge | `string` | `null` | no | +| [role\_path](#input\_role\_path) | Path of IAM role to use for EventBridge | `string` | `null` | no | +| [role\_permissions\_boundary](#input\_role\_permissions\_boundary) | The ARN of the policy that is used to set the permissions boundary for the IAM role used by EventBridge | `string` | `null` | no | | [role\_tags](#input\_role\_tags) | A map of tags to assign to IAM role | `map(string)` | `{}` | no | | [rules](#input\_rules) | A map of objects with EventBridge Rule definitions. | `map(any)` | `{}` | no | | [schemas\_discoverer\_description](#input\_schemas\_discoverer\_description) | Default schemas discoverer description | `string` | `"Auto schemas discoverer event"` | no | diff --git a/variables.tf b/variables.tf index 7c379eb..8f9d887 100644 --- a/variables.tf +++ b/variables.tf @@ -137,19 +137,19 @@ variable "tags" { ###### variable "role_name" { - description = "Name of IAM role to use for Lambda Function" + description = "Name of IAM role to use for EventBridge" type = string default = null } variable "role_description" { - description = "Description of IAM role to use for Lambda Function" + description = "Description of IAM role to use for EventBridge" type = string default = null } variable "role_path" { - description = "Path of IAM role to use for Lambda Function" + description = "Path of IAM role to use for EventBridge" type = string default = null } @@ -161,7 +161,7 @@ variable "role_force_detach_policies" { } variable "role_permissions_boundary" { - description = "The ARN of the policy that is used to set the permissions boundary for the IAM role used by Lambda Function" + description = "The ARN of the policy that is used to set the permissions boundary for the IAM role used by EventBridge" type = string default = null }