mirror of
https://github.com/sigmasternchen/terraform-aws-eventbridge
synced 2025-03-15 07:58:57 +00:00
fix: remove create_bus as a blocker for role_arn (#13)
This commit is contained in:
parent
d5b2737550
commit
54539702ba
3 changed files with 3 additions and 3 deletions
|
@ -320,7 +320,7 @@ No modules.
|
|||
| <a name="input_create_archives"></a> [create\_archives](#input\_create\_archives) | Controls whether EventBridge Archive resources should be created | `bool` | `false` | no |
|
||||
| <a name="input_create_bus"></a> [create\_bus](#input\_create\_bus) | Controls whether EventBridge Bus resource should be created | `bool` | `true` | no |
|
||||
| <a name="input_create_permissions"></a> [create\_permissions](#input\_create\_permissions) | Controls whether EventBridge Permission resources should be created | `bool` | `true` | no |
|
||||
| <a name="input_create_role"></a> [create\_role](#input\_create\_role) | Controls whether IAM role for Lambda Function should be created | `bool` | `true` | no |
|
||||
| <a name="input_create_role"></a> [create\_role](#input\_create\_role) | Controls whether IAM roles should be created | `bool` | `true` | no |
|
||||
| <a name="input_create_rules"></a> [create\_rules](#input\_create\_rules) | Controls whether EventBridge Rule resources should be created | `bool` | `true` | no |
|
||||
| <a name="input_create_targets"></a> [create\_targets](#input\_create\_targets) | Controls whether EventBridge Target resources should be created | `bool` | `true` | no |
|
||||
| <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 |
|
||||
|
|
2
iam.tf
2
iam.tf
|
@ -1,5 +1,5 @@
|
|||
locals {
|
||||
create_role = var.create && var.create_bus && var.create_role
|
||||
create_role = var.create && var.create_role
|
||||
|
||||
# Defaulting to "*" (an invalid character for an IAM Role name) will cause an error when
|
||||
# attempting to plan if the role_name and bus_name are not set. This is a workaround
|
||||
|
|
|
@ -5,7 +5,7 @@ variable "create" {
|
|||
}
|
||||
|
||||
variable "create_role" {
|
||||
description = "Controls whether IAM role for Lambda Function should be created"
|
||||
description = "Controls whether IAM roles should be created"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue