官术网_书友最值得收藏!

Types

You can get different processor and memory configurations on your instances. Let's abstract our provider into a root file and move our outputs into a file of their own called main.tf:

provider "aws" {
region = "us-east-1"
}
module "compute" {
source = "./compute"
}

And we will do the same for another file called outputs.tf:

output "id" {
value = "${aws_instance.example.id}"
}

And finally, we can do this for the variables.tf file:

variable "zones" {
default = ["us-east-1a", "us-east-1b"]
}
主站蜘蛛池模板: 梅州市| 达州市| 区。| 日土县| 丰原市| 麻江县| 汝南县| 深圳市| 新蔡县| 开化县| 循化| 巴中市| 武宁县| 鄄城县| 正镶白旗| 乡宁县| 福泉市| 遂川县| 佛冈县| 阿鲁科尔沁旗| 临澧县| 古丈县| 印江| 江阴市| 三亚市| 沿河| 葫芦岛市| 天等县| 五原县| 蓝山县| 聂荣县| 梅河口市| 赣州市| 昌平区| 淮滨县| 平原县| 建水县| 和静县| 同心县| 美姑县| 荣昌县|