Skip to content

Latest commit

 

History

History
103 lines (78 loc) · 1.76 KB

alicloud_cdn_service.md

File metadata and controls

103 lines (78 loc) · 1.76 KB

alicloud_cdn_service

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_cdn_service" {
  source = "./modules/alicloud/d/alicloud_cdn_service"

  # enable - (optional) is a type of string
  enable = null
  # internet_charge_type - (optional) is a type of string
  internet_charge_type = null
}

top

Variables

variable "enable" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "internet_charge_type" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Datasource

data "alicloud_cdn_service" "this" {
  # enable - (optional) is a type of string
  enable = var.enable
  # internet_charge_type - (optional) is a type of string
  internet_charge_type = var.internet_charge_type
}

top

Outputs

output "changing_affect_time" {
  description = "returns a string"
  value       = data.alicloud_cdn_service.this.changing_affect_time
}

output "changing_charge_type" {
  description = "returns a string"
  value       = data.alicloud_cdn_service.this.changing_charge_type
}

output "id" {
  description = "returns a string"
  value       = data.alicloud_cdn_service.this.id
}

output "opening_time" {
  description = "returns a string"
  value       = data.alicloud_cdn_service.this.opening_time
}

output "status" {
  description = "returns a string"
  value       = data.alicloud_cdn_service.this.status
}

output "this" {
  value = alicloud_cdn_service.this
}

top