• Terraform Weekly
  • Posts
  • weekly.tf - Issue #77 - Azure Terrafy, AzAPI provider, S3 bucket policies, semdiff, ClickOops, Terraform book

weekly.tf - Issue #77 - Azure Terrafy, AzAPI provider, S3 bucket policies, semdiff, ClickOops, Terraform book

Azure wants your experience using Terraform with Azure to be delightful, so they have released a couple of open-source tools: a) Azure Terrafy (aztfy) to be able to import existing infrastructure in Terraform; b) AzAPI Terraform Provider to allow you to deploy any Azure resource.

Kyle Ruddy from HashiCorp explains how you get existing resources defined in Azure imported to Terraform.

The AzAPI provider is a very thin layer on top of the Azure ARM REST APIs. Use this new Terraform provider to authenticate and to manage Azure resources and functionality using the Azure Resource Manager APIs directly. Blog post by Lachlan White (HashiCorp Ambassador). AB: There is AWS CC provider, which is very similar.

"Semdiff makes reviewing terraform PRs easier". AB: A very new tool that can help understand the changes for humans. Read more about Atlantis integration and the case for semantic analysis of IaC in their blog.

Building S3 policies is hard. There are lots of stanzas needed for even simple use cases, and the potential for doing something wrong and exposing data to the wrong partner, or even to the internet - writes Kyler Middleton (HashiCorp Ambassador). AB: To get the most common bucket policies created for you, you can peek into the S3 bucket module.

Paul Zietsman says that if you’ve been working in AWS for long enough, you will know that nothing good comes from configuring resources in the console aka ClickOps. Paul also made Terraform module. AB: AWS ClickOops should be a service name by AWS but not a name of an anti-pattern. :)

Yevgeniy Brikman (co-founder of Gruntwork) announced that the early release of the 3rd edition of Terraform: Up & Running is now available at O'Reilly.

Terraform Live Stream - 15th of April 2022

Feedback ❤️

Do you like this newsletter? How about sharing it on social media and providing your feedback to me (e.g., @antonbabenko or reply to the email)? I want to know it!

PS: One of the best ways to help Ukraine - https://palianytsia.com.ua/

Glory to Ukraine! 🇺🇦