I&#x27;m a big Terraform fan, but I really don&#x27;t like HCL and its limitations.  I ended up writing a PHP &quot;SDK&quot; of sorts that generates JSON that Terraform consumes [1].  It uses the AWS SDK for some things (like listing all available AZs in a VPC), and provides some macros.  I made this for use at work, and it powers a few production sites for a large company.<p>There&#x27;s still a lot to do to make it ideal for public consumption (like writing docs and freezing the API), but it&#x27;ll get there sometime soon.  PRs are most welcome.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;ameir&#x2F;terraform-php" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ameir&#x2F;terraform-php</a>