alicloud_edas_namespace
更新时间:
Provides a EDAS Namespace resource.
For information about EDAS Namespace and how to use it, see What is Namespace.
-> NOTE: Available since v1.173.0.
Example Usage
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
}
Argument Reference
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 to128
characters in length.namespace_logical_id
- (Required, ForceNew) The ID of the namespace.- The ID of a custom namespace is in the
region ID:namespace identifier
format. An example iscn-beijing:tdy218
. - The ID of the default namespace is in the
region ID
format. An example is cn-beijing.
- The ID of a custom namespace is in the
namespace_name
- (Required) The name of the namespace, The name can be up to63
characters in length.
Attributes Reference
The following attributes are exported:
id
- The resource ID in terraform of Namespace.
Timeouts
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.
Import
EDAS Namespace can be imported using the id, e.g.
$ terraform import alicloud_edas_namespace.example <id>
反馈
- 本页导读 (0)
文档反馈