-
-
Save arun9theja/f547e6ac454cf4cd6fe1f0e3856a2aca to your computer and use it in GitHub Desktop.
Revisions
-
DuranIsrael created this gist
Jun 1, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 3.27" } } required_version = ">= 0.14.9" } provider "aws" { region = var.region } module "EC2" { source = "./EC2" ami = "ami-0022f774911c1d690" instance_type = "t2.micro" } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ variable "ami" { type = string default = "" } variable "instance_type" { type = string default = "t2,micro" } variable "region" { type = string default = "us-east-1" }