Provides a Eflo Vpd resource.
For information about Eflo Vpd and how to use it, see What is Vpd.
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
}
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.The following attributes are exported:
id
- The key
of the resource supplied above.create_time
- The creation time of the resourcegmt_modified
- Modification timestatus
- The Vpd status.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.Eflo Vpd can be imported using the id, e.g.
$ terraform import alicloud_eflo_vpd.example <id>