Provides a EDAS Namespace resource.
For information about EDAS Namespace and how to use it, see What is Namespace.
Basic Usage
variable "name" {
default = "tf-example"
}
data "alicloud_regions" "default" {
current = true
}
resource "alicloud_edas_namespace" "default" {
debug_enable = false
description = var.name
namespace_logical_id = "${data.alicloud_regions.default.regions.0.id}:example"
namespace_name = var.name
}
The following arguments are supported:
debug_enable
- (Optional) Specifies whether to enable remote debugging.description
- (Optional) The description of the namespace, The description can be up to 128
characters in length.namespace_logical_id
- (Required, ForceNew) The ID of the namespace.
region ID:namespace identifier
format. An example is cn-beijing:tdy218
.region ID
format. An example is cn-beijing.namespace_name
- (Required) The name of the namespace, The name can be up to 63
characters in length.The following attributes are exported:
id
- The resource ID in terraform of Namespace.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 1 mins) Used when create the Namespace.delete
- (Defaults to 1 mins) Used when delete the Namespace.update
- (Defaults to 1 mins) Used when update the Namespace.EDAS Namespace can be imported using the id, e.g.
$ terraform import alicloud_edas_namespace.example <id>