- 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"]
}
推薦閱讀
- Citrix XenApp Performance Essentials
- Linux運維實戰:CentOS7.6操作系統從入門到精通
- 鴻蒙生態:開啟萬物互聯的智慧新時代
- 從零開始寫Linux內核:一書學透核心原理與實現
- Linux從零開始學(視頻教學版)
- Mastering Distributed Tracing
- 精通Linux內核開發
- Installing and Configuring Windows 10:70-698 Exam Guide
- 深入Linux內核架構與底層原理(第2版)
- 網絡操作系統教程:Windows Server 2016管理與配置
- Ceph分布式存儲實戰
- 深入淺出Node.js
- Linux內核設計的藝術:圖解Linux操作系統架構設計與實現原理
- NetDevOps入門與實踐
- Distributed Computing with Go