text DigitalOcean服务的Terraform变量

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text DigitalOcean服务的Terraform变量相关的知识,希望对你有一定的参考价值。

variable "do_token" {
  description = "DigitalOcean API Token"
}

variable "domain" {
  description = "Domain name the service should be located on"
}

variable "droplet_name" {
  description = "Droplet name in DigitalOcean Control Panel"
}

variable "droplet_region" {
  description = "Datacenter region"
  default     = "nyc1"
}

variable "droplet_image" {
  description = "Image distribution"
  default     = "lemp-16-04"
}

variable "droplet_size" {
  description = "Droplet size"
  default     = "512mb"
}

以上是关于text DigitalOcean服务的Terraform变量的主要内容,如果未能解决你的问题,请参考以下文章

text DigitalOcean Terraform模块服务定义

text DigitalOcean Domain的Terraform定义

text DigitalOcean Droplet的Terraform定义

text DigitalOcean提供商定义

text DigitalOcean Terraform输出

text Terraform中的DigitalOcean凭证