-
Solving the “Root Resource Was Present, but Now Absent” Error in Terraform Plugins
Terraform is a powerful infrastructure-as-code tool that allows developers to define and provision infrastructure resources using a declarative configuration language. When developing custom Terraform plugins or providers, you might encounter a cryptic error message: “Root resource was present, but now absent.” This error can be puzzling, but it often boils down to a common issue…
-
Environment specific Configuration with Terraform
One goal that can help with the running of services in the cloud is to minimise configuration differences between environments. This isn’t always possible, sometimes you can’t escape configuration. Reading through the documentation on terraform, googling and reading stack overflow you occasionally see references to provisioners. There are: file local-exec remote-exec Which sounds great, but…