Created
May 14, 2019 07:17
-
-
Save dehio3/d826041273aa2759a5a60f83aa57f9bc to your computer and use it in GitHub Desktop.
This file contains 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 characters
module "ec2_test" { | |
source = "terraform-aws-modules/ec2-instance/aws" | |
version = "1.21.0" | |
name = "ec2-test" | |
instance_count = 1 | |
ami = "ami-0b8d0d6ac70e5750c" #amzn2-ami-hvm-2.0.20181114-x86_64-ebs | |
instance_type = "t2.micro" | |
key_name = "test-key" | |
monitoring = false | |
vpc_security_group_ids = ["<vpc_security_group_ids>"] | |
subnet_id = "<subnet_id>" | |
tags = { | |
Name = "ec2-test" | |
Terraform = "true" | |
Environment = "dev" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment