Parse HCL block into Golang map
I am implementing acceptance tests for a terraform provider, and I would like to use the same input variable to write my test plan and to assert that my resource is properly setup.
Terraform provider method Configure not getting called
I am developing a custom Terraform provider.
I have all of my custom logic for creating/reading/updating/deleting resources all done but I cannot get the provider to get configured.
I have cloned this repository as a base https://github.com/hashicorp/terraform-provider-scaffolding-framework/tree/main.
And if I debug the code in that repository and just add a line to the provider.go
file at the Configure
method of the hashicupsProvider
type so that I get a breakpoint inside that method, the breakpoint never hits.
I have the exact same “skeleton” for my own provider so I do not think it is necessary to provide the whole source for that since it does not work even from the HashiCorp provided example.
Terraform Custom Provider – Not able to access Array of objects in TF file
I am developing a custom provider to access my portal through Terraform. Based on the documentation, I created the custom provider, and it’s working fine for other resources but not for arrays of objects. Below is a sample of my code
Terraform provider: how does one make drift in computed value trigger update?
I am building a terraform provider right now that roughly works as follows: