コンテンツにスキップ

ウェブアクセラレータ証明書: sakuracloud_webaccel_certificate

Example Usage

data sakuracloud_webaccel "site" {
  name = "your-site-name"
  # or
  # domain = "your-domain"
}

resource sakuracloud_webaccel_certificate "foobar" {
  site_id           = data.sakuracloud_webaccel.site.id
  certificate_chain = file("path/to/your/certificate/chain")
  private_key       = file("path/to/your/private/key")
}

Argument Reference

  • site_id - (Required) サイトのID
  • private_key - (Required) 秘密鍵
  • certificate_chain - (Required) 公開鍵

Attribute Reference

  • id - ID
  • dns_names
  • issuer_common_name
  • not_after
  • not_before
  • serial_number
  • sha256_fingerprint
  • subject_common_name