main.tf
variable "project" {
type = string
}
variable "environment" {
type = string
}
terraform.tfvars
project = "terraform-test"
environment = "dev"
terraform.tfenvは指定の名前でファイルを作成する。
variable で変数のタイプを設定して terraform.tfenv で変数の値を書く
Go to list of users who liked
More than 1 year has passed since last update.
variable "project" {
type = string
}
variable "environment" {
type = string
}
project = "terraform-test"
environment = "dev"
terraform.tfenvは指定の名前でファイルを作成する。
variable で変数のタイプを設定して terraform.tfenv で変数の値を書く
Register as a new user and use Qiita more conveniently
Go to list of users who liked