Provides a Event Bridge Event Bus resource.
For information about Event Bridge Event Bus and how to use it, see What is Event Bus.
Basic Usage
variable "name" {
default = "tf-example"
}
resource "alicloud_event_bridge_event_bus" "example" {
event_bus_name = var.name
}
The following arguments are supported:
description
- (Optional) The description of event bus.event_bus_name
- (Required, ForceNew) The name of event bus. The length is limited to 2 ~ 127 characters, which can be composed of letters, numbers or hyphens (-)The following attributes are exported:
id
- The resource ID in terraform of Event Bus. Its value is same as event_bus_name
.Event Bridge Event Bus can be imported using the id, e.g.
$ terraform import alicloud_event_bridge_event_bus.example <event_bus_name>