Category: terraform

  • Terraform Provider developement – Root resource was present, but now absent

    I was making some extensions to a terraform provider and adding in a new resource. I kept hitting the following error, which seems a little cryptic Part of the issues is highlighted by the plan output, terraform is expecting an “id” property to be generated by the resource. This is confirmed by an excellent write […]

  • 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 […]