alicloud_yundun_dbaudit_instance

Cloud DBaudit instance resource ("Yundun_dbaudit" is the short term of this product).

Example Usage

Basic Usage

provider "alicloud" {
  endpoints {
    bssopenapi = "business.aliyuncs.com"
  }
  region = "cn-hangzhou"
}

data "alicloud_zones" "default" {
  available_resource_creation = "VSwitch"
}

data "alicloud_vpcs" "default" {
  name_regex = "default-NODELETING"
}
data "alicloud_vswitches" "default" {
  vpc_id  = data.alicloud_vpcs.default.ids.0
  zone_id = data.alicloud_zones.default.zones.0.id
}

resource "alicloud_yundun_dbaudit_instance" "default" {
  description = "tf-example"
  plan_code   = "alpha.professional"
  period      = "1"
  vswitch_id  = data.alicloud_vswitches.default.ids.0
}

Deleting alicloud_yundun_dbaudit_instance or removing it from your configuration

The alicloud_yundun_dbaudit_instance resource allows you to manage yundun dbaudit instance, but Terraform cannot destroy it. Deleting the subscription resource or removing it from your configuration will remove it from your state file and management, but will not destroy the yundun_dbaudit_instance. You can resume managing the subscription yundun_dbaudit_instance via the AlibabaCloud Console.

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Yundun_dbaudit instance can be imported using the id, e.g.

$ terraform import alicloud_yundun_dbaudit_instance.example dbaudit-exampe123456