alicloud_waf_certificate

Provides a WAF Certificate resource.

For information about WAF Certificate and how to use it, see What is Certificate.

Example Usage

Basic Usage

resource "alicloud_waf_certificate" "default" {
  certificate_name = "your_certificate_name"
  instance_id      = "your_instance_id"
  domain           = "your_domain_name"
  private_key      = "your_private_key"
  certificate      = "your_certificate"
}
resource "alicloud_waf_certificate" "default2" {
  instance_id    = "your_instance_id"
  domain         = "your_domain_name"
  certificate_id = "your_certificate_id"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

WAF Certificate can be imported using the id, e.g.

$ terraform import alicloud_waf_certificate.example <instance_id>:<domain>:<certificate_id>