// the take
A Terraform module from the well-known terraform-aws-modules org for provisioning one or more EC2 instances, with optional attached EBS volumes, security groups, IAM instance profiles, EIPs, and spot instance support. It's for anyone standing up EC2 instances with Terraform who wants the IAM role, security group, and volume wiring handled without writing it from scratch each time.
Security group rules are split into separate vpc_security_group_ingress_rule/egress_rule resources instead of inline blocks, avoiding the classic Terraform full-replace diff that inline SG rules cause. IMDSv2 is enforced by default (http_tokens = required, hop_limit = 1), which is the secure default most people forget to set themselves. Conditional creation flags (create, create_spot_instance, create_eip, create_security_group, create_iam_instance_profile) let you use the module as a thin wrapper around just the pieces you need instead of all-or-nothing. Actively maintained with a current AWS provider constraint (>= 6.37) and support for newer features like capacity reservations and nitro enclaves.
No native encrypted-AMI support — the README walks you through a manual aws_ami_copy workaround outside the module entirely. Changing the AMI forces instance replacement by design (a Terraform limitation, not this module's), and the documented mitigation (ignore_ami_changes) itself requires a one-time replace plus a moved block just to toggle on, which is a sharp edge for anyone who hits it in prod. The README's 'Known limitations' section is also a funnel into a paid third-party service (compliance.tf) built by the same maintainer, complete with UTM-tagged links — disclosed, but worth knowing before treating the README as neutral docs. It's a single-instance abstraction: if you actually need a fleet (ASG, mixed instance types, rolling updates), this isn't the building block you want and you'll be reaching for a different module anyway.
We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →