Terraform module: ec2-instance
Jump to navigation
Jump to search
Module: https://registry.terraform.io/modules/terraform-aws-modules/ec2-instance/aws/latest?tab=inputs Resources:
- aws_instance.this
- aws_spot_instance_request.this
module "ec2_instance" { source = "terraform-aws-modules/ec2-instance/aws" version = "~> 3.0" name = "single-instance" ami = "ami-ebd02392" instance_type = "t2.micro" key_name = "user1" monitoring = true vpc_security_group_ids = ["sg-12345678"] subnet_id = "subnet-eddcdzz4" tags = { Terraform = "true" Environment = "dev" } }
Related
Related
Advertising: