-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mismatched version of api for DNS-A Records #706
Comments
Howdy @grundrauschen, thanks for reaching out! There are a couple of things that could be wrong, would you mind helping speed up triage by including a small repro? Mostly, I want to determine if the Go SDK is targeting the wrong endpoint or if there is a fundamental flaw in the Swagger that defines the interactions with this service. That file can be found here: Azure/azure-rest-api-specs/specification/dns/resource-manager/Microsoft.Network/2016-04-01/dns.json |
Hey @grundrauschen
In addition to what Martin has said, I just wanted to double-check a couple of things - are you referring to Terraform 0.9.11, or Terraform 0.10-rc1 with 0.1.4 of the AzureRM Provider here? In addition - which Azure region are you using out of interest? @marstr taking a look at the error message posted above, the final version number listed in the supported versions looks suspicious to me: Thanks! |
Hello @marstr, I used Terraform 1, which recently split up the components, so there is a new repo for the AzureRM plugin 2. Because I used it yesterday with a fresh initialization, I assume, the latest release of the the plugin was used (0.1.4). The architecture I tried to initialize with it was a Kubernetes cluster using the Tectonic installer 3, which basically contains a bunch of terraform recipes. |
Sure, |
this might be related to: hashicorp/terraform-provider-azurerm#192 |
@tombuildsstuff It says '2016-04-01', so looks like support for that api version was dropped (too), at least in West Europe and/or Azure Germany Northeast. |
Okay this is weird, according to the az cli the version should be supported:
|
Just an observation, but it looks like even the .NET SDK is still hardcoded to that version which was just deprecated. This could be a wider problem than just in this SDK. |
@grundrauschen @discordianfish in that case would it be possible to confirm if the Terraform configuration posted here works for you, separate from Tectonic? I've confirmed this works in West Europe, but I currently don't have access to Azure Germany to verify that (I've been trying to look into that this week) Thanks! |
@tombuildsstuff Thanks! But we decided to give up on Azure and move to AWS and our private cloud.. Thanks anyway. |
As far as I'm aware, we don't deliberately drop support for API Versions at the service level. This is very troubling behavior. It sounds like the immediate need is outside of the scope of this repository, I'll forward on this complaint to the appropriate service teams so that they can diagnose the issue. Thanks for getting back to me with your usage details, @grundrauschen. Sorry to hear you decided to move away from Azure, @discordianfish! |
Hey @grundrauschen We've just had a similar issue opened on the Terraform Repository but for Managed Disks (hashicorp/terraform-provider-azurerm#223) and in that case a Resource Group ID was specified in place of a Resource Group Name - which returned an error similar to one you're seeing. Would it be possible to see the Terraform Configuration that you're using to confirm if this is the same issue? I've opened hashicorp/terraform-provider-azurerm#228 which proposes adding validation to check the Resource Group Name is a Name and not an ID Thanks! cc @marstr |
Hey @tombuildsstuff, I was on holidays the last weeks and therefor haven't read you message. I am sorry for that. It seems that nobody but us had the same issue here and Terraform as well as the Tectonic installer are moving forward. |
Thanks for getting back to us with this, @grundrauschen. As you suggest, I'll close this issue out for now. |
Hello,
I was using Terraform recently to set up resources on Azure, but by recreating the cluster, I get some errors of not matching APIs now.
I tried the latest version of Terraform, which plugin imports this repository.
The message I got was the following:
Concerning
arm/dns/recordset.go
for example in this repository, the APIVersion is set to 2016-04-01.I would be glad if a solution could be found to make the sdk and terraform working again.
The text was updated successfully, but these errors were encountered: