provider: Migrate to standalone plugin SDK v1.1.1#4474
provider: Migrate to standalone plugin SDK v1.1.1#4474tombuildsstuff merged 3 commits intomasterfrom
Conversation
2a3b6a5 to
d9eb4be
Compare
|
I'm not sure what's going on with Travis - I was not able to reproduce the build failures myself locally nor in clean Docker |
|
@radeksimko now that hashicorp/terraform-provider-azuread#154's been merged would you mind rebasing this? |
d9eb4be to
4404c7e
Compare
4404c7e to
6f5d6ce
Compare
|
@tombuildsstuff rebased, PTAL |
…ndle private_dns zone
Using the upstream azurerm provider is not possible for now because of following reasons:
1) There is not srv record resource for private dns zone
2) The version of provider that has the private dns zone resources `1.34.0` has a lot of bugs like
* hashicorp/terraform-provider-azurerm#4452
* hashicorp/terraform-provider-azurerm#4453
* hashicorp/terraform-provider-azurerm#4501
Some of these bugs are fixed, and some are in flight.
Another reason moving to `1.36.0` which might have all the fixes we need is the provider has moved to using
`standalone terraform plugin SDK v1.1.1` [1]. Because we vendor both terraform and providers, this causes errors like
`panic: gob: registering duplicate types for "github.com/zclconf/go-cty/cty.primitiveType": cty.primitiveType != cty.primitiveType`
Therefore, we would have to move towards a single vendor for terraform and plugins for correct inter-operation, which is tricker due to conflicts elsewhere
A simple 4 resource plugin that re-uses the already vendored azurerm provider as library and carries over the required resources seems like an easy fix for now.
[1]: hashicorp/terraform-provider-azurerm#4474
|
This has been released in version 1.36.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 1.36.0"
}
# ... other configuration ... |
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Depends on hashicorp/terraform-provider-azuread#154I didn't run any acceptance tests for this one (yet).