- Implementing Cloud Design Patterns for AWS(Second Edition)
- Sean Keery Clive Harber Marcus Young
- 86字
- 2021-06-24 15:11:50
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"]
}
推薦閱讀
- 零起點(diǎn)學(xué)Linux系統(tǒng)管理
- 操作系統(tǒng)基礎(chǔ)與實(shí)踐:基于openEuler平臺
- 玩到極致 iPhone 4S完全攻略
- Windows Server 2012網(wǎng)絡(luò)操作系統(tǒng)企業(yè)應(yīng)用案例詳解
- Joomla! 3 Template Essentials
- 計算機(jī)系統(tǒng)的自主設(shè)計
- Troubleshooting Docker
- Linux應(yīng)用大全 基礎(chǔ)與管理
- Windows Server 2008組網(wǎng)技術(shù)與實(shí)訓(xùn)(第3版)
- Android應(yīng)用性能優(yōu)化最佳實(shí)踐
- 電腦辦公(Windows 10 + Office 2016)入門與提高(超值版)
- Linux內(nèi)核分析及應(yīng)用
- Windows 8完全自學(xué)手冊
- STM32庫開發(fā)實(shí)戰(zhàn)指南
- Embedded Systems Architecture