IaC Bazaar

EC2 Instance

EC2 instance with IMDSv2, encrypted EBS, instance profile, and EIP - secure defaults out of the box.

This is the operations reference: version drift, dependants and neighbours. For what the module provisions, its inputs and outputs, and how to buy it, see the catalogue entry.

terraformAWSCompute & VMsv1.1.0live-tested

Provider drift

Every provider this module requires is one it already accepts at the newest release the registry offers. Nothing is pinned behind a major.

ProviderThis module allowsNewest it acceptsNewest released
hashicorp/aws>= 6.0, < 7.06.62.06.62.0

Measured 2026-09-01 against the Terraform registry. The whole catalogue is on provider freshness.

What depends on this

No reference architecture names this module, so changing it affects only configurations that reference it directly.

Nearest alternatives

Same cloud, same category. These are what you would weigh against it without changing provider.

The same job on other clouds

Virtual Machines on other providers. Useful when the cloud is still open, or when you are pricing a second one. How far a comparison like that can be trusted is covered in comparing clouds.

Installing it

module "aws_ec2_instance" {
  source  = "www.iac-bazaar.com/iac-bazaar/aws-ec2-instance/aws"
  version = "1.1.0"
}

A registry token is required for the download itself. Installing through the registry protocol has the two credential steps.