What's the difference between deploying ec2 instance as a module and deploying ec2 instance as a resource?

This page summarizes the projects mentioned and recommended in the original post on /r/Terraform

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • terraform-aws-vpc

    Terraform module to create AWS VPC resources πŸ‡ΊπŸ‡¦

  • If you take the vpc module of terraform-aws-modules as an example, you see that there's a lot more to it than solely the vpc itself (https://github.com/terraform-aws-modules/terraform-aws-vpc/blob/master/main.tf). The same for your other example the ec2 instance (https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/blob/master/main.tf).

  • terraform-aws-ec2-instance

    Terraform module to create AWS EC2 instance(s) resources πŸ‡ΊπŸ‡¦

  • If you take the vpc module of terraform-aws-modules as an example, you see that there's a lot more to it than solely the vpc itself (https://github.com/terraform-aws-modules/terraform-aws-vpc/blob/master/main.tf). The same for your other example the ec2 instance (https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/blob/master/main.tf).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts