Skip to content

bayupw/terraform-aws-amazon-linux-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Amazon Linux EC2 Instance

Terraform module to create Security Group and Amazon Linux 2 EC2 instance

Usage with minimal customisation

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"
}

Usage with SSM module

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"
}

Contributing

Report issues/questions/feature requests on in the issues section.

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module to create Security Group and Amazon Linux 2 EC2 instance.

Resources

License

Stars

Watchers

Forks

Packages

No packages published