6 Terraform with friends

This chapter covers

  • Developing an S3 remote backend module
  • Comparing flat vs. nested module structures
  • Publishing modules via GitHub and the Terraform Registry
  • Switching between workspaces
  • Examining Terraform Cloud and Terraform Enterprise

Software development is a team sport. At some point, you’ll want to collaborate on Terraform projects with friends and coworkers. Sharing configuration code is easy—any version-controlled source (VCS) repository will do. Sharing state is where it gets difficult. Until now, our state has always been saved to a local backend, which is fine for development purposes and individual contributors but doesn’t accommodate shared access. Suppose Sally from site reliability engineering (SRE) ...

Get Terraform in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.