NEW: code to lookup latest amzn2 AMI from amazon

This commit is contained in:
xpk
2020-08-11 09:10:08 +08:00
parent 6ed7506305
commit c6928fff02
2 changed files with 33 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
variable "aws_access_key" {}
variable "aws_secret_key" {}
variable "aws_region" {}
provider "aws" {
access_key = var.aws_access_key
secret_key = var.aws_secret_key
region = var.aws_region
version = ">= 2.28.1"
}
variable "default-tags" {}
variable "vpc-cidr" {
default = "172.16.0.0/16"
}