Skip to content

terraform-huaweicloud-modules/terraform-huaweicloud-cdn-domain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huawei Cloud CDN Terraform Module

Terraform moudle which creates CDN resource on Huawei Cloud.

These types of resources are supported:

Usage

module "example" {
  source = "terraform-huaweicloud-modules/cdn/huaweicloud"

  domain_name    = "example1.example2.example3.com"
  business_type  = "web"
  origin_type    = "ipaddr"
  ip_or_domain   = "192.168.53.75"
  active_standby = 1
}

Inputs

Name Description Type Default Required
domain_name The acceleration domain name of the CDN string "" yes
business_type The service type, valid values are web, download and video string "" yes
origin_type The origin server type, valid values are ipaddr, domain, and obs_bucket string "" yes
ip_or_domain The domain name or IP address of the origin server string "" yes
active_standby Whether an origin server is active or standby(1: active; 0: standby) int 1 no

Outputs

Name Description
this_domain The domain name of the CDN

Authors

Created and maintained by Zhenguo Niu

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module which creates a new CDN domain on Huawei Cloud

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages