Skip to content

Commit 5453970

Browse files
authored
fix: remove create_bus as a blocker for role_arn (#13)
1 parent d5b2737 commit 5453970

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ No modules.
320320
| <a name="input_create_archives"></a> [create\_archives](#input\_create\_archives) | Controls whether EventBridge Archive resources should be created | `bool` | `false` | no |
321321
| <a name="input_create_bus"></a> [create\_bus](#input\_create\_bus) | Controls whether EventBridge Bus resource should be created | `bool` | `true` | no |
322322
| <a name="input_create_permissions"></a> [create\_permissions](#input\_create\_permissions) | Controls whether EventBridge Permission resources should be created | `bool` | `true` | no |
323-
| <a name="input_create_role"></a> [create\_role](#input\_create\_role) | Controls whether IAM role for Lambda Function should be created | `bool` | `true` | no |
323+
| <a name="input_create_role"></a> [create\_role](#input\_create\_role) | Controls whether IAM roles should be created | `bool` | `true` | no |
324324
| <a name="input_create_rules"></a> [create\_rules](#input\_create\_rules) | Controls whether EventBridge Rule resources should be created | `bool` | `true` | no |
325325
| <a name="input_create_targets"></a> [create\_targets](#input\_create\_targets) | Controls whether EventBridge Target resources should be created | `bool` | `true` | no |
326326
| <a name="input_ecs_target_arns"></a> [ecs\_target\_arns](#input\_ecs\_target\_arns) | The Amazon Resource Name (ARN) of the AWS ECS Tasks you want to use as EventBridge targets | `list(string)` | `[]` | no |

iam.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
locals {
2-
create_role = var.create && var.create_bus && var.create_role
2+
create_role = var.create && var.create_role
33

44
# Defaulting to "*" (an invalid character for an IAM Role name) will cause an error when
55
# attempting to plan if the role_name and bus_name are not set. This is a workaround

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variable "create" {
55
}
66

77
variable "create_role" {
8-
description = "Controls whether IAM role for Lambda Function should be created"
8+
description = "Controls whether IAM roles should be created"
99
type = bool
1010
default = true
1111
}

0 commit comments

Comments
 (0)