Terraform module to create Security Group and Amazon Linux 2 EC2 instance
module "amazon_linux_2" {
source = "bayupw/amazon-linux-2/aws"
version = "1.0.0"
vpc_id = "vpc-0a1b2c3d4e"
subnet_id = "subnet-0a1b2c3d4e"
key_name = "ec2-keypair"
}module "ssm_instance_profile" {
source = "bayupw/ssm-instance-profile/aws"
version = "1.0.0"
}
module "amazon_linux_2" {
source = "bayupw/amazon-linux-2/aws"
version = "1.0.0"
vpc_id = "vpc-0a1b2c3d4e"
subnet_id = "subnet-0a1b2c3d4e"
key_name = "ec2-keypair"
}Report issues/questions/feature requests on in the issues section.
Apache 2 Licensed. See LICENSE for full details.