alicloud_eflo_vpd
更新时间:
Provides a Eflo Vpd resource.
For information about Eflo Vpd and how to use it, see What is Vpd.
-> NOTE: Available since v1.201.0.
Example Usage
Basic Usage
variable "name" {
default = "tf-example"
}
provider "alicloud" {
region = "cn-wulanchabu"
}
data "alicloud_resource_manager_resource_groups" "default" {}
resource "alicloud_eflo_vpd" "default" {
cidr = "10.0.0.0/8"
vpd_name = var.name
resource_group_id = data.alicloud_resource_manager_resource_groups.default.groups.0.id
}
Argument Reference
The following arguments are supported:
cidr
- (Required, ForceNew) CIDR network segment.resource_group_id
- (Optional, ForceNew) The Resource group id.vpd_name
- (Required) The Name of the VPD.
Attributes Reference
The following attributes are exported:
id
- Thekey
of the resource supplied above.create_time
- The creation time of the resourcegmt_modified
- Modification timestatus
- The Vpd status.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the Vpd.delete
- (Defaults to 5 mins) Used when delete the Vpd.update
- (Defaults to 5 mins) Used when update the Vpd.
Import
Eflo Vpd can be imported using the id, e.g.
$ terraform import alicloud_eflo_vpd.example <id>
文档内容是否对您有帮助?