Skip to content
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

Failure sending request: StatusCode=400 -- Original Error: Code="" Message="" #12999

Closed
fluffy-cakes opened this issue Aug 7, 2018 — with docs.microsoft.com · 10 comments

Comments

Copy link

Following these guides the deployment fails with:
Error: Error applying plan:

1 error(s) occurred:

  • azurerm_kubernetes_cluster.k8s: 1 error(s) occurred:

  • azurerm_kubernetes_cluster.k8s: containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="" Message=""

Please see hashicorp/terraform-provider-azurerm#1416 for the reason and update your documentation.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@jason-j-MSFT
Copy link
Contributor

@paulmackinnon-adv365
Thanks for the feedback! We are currently investigating and will update you shortly.

@mimckitt
Copy link
Contributor

mimckitt commented Aug 7, 2018

@TomArcher I ran through the doc and can confirm I get the same behavior. Can you take a look?

@TomArcherMsft
Copy link
Contributor

@paulmackinnon-adv365 Thank you for the feedback. I'm looking into this now, and will reply when I know more.

@fluffy-cakes
Copy link
Author

it's to do with the vm size, it doesn't exist in the region I wanted. quite possibly it doesn't exist at all. found and used the right one and it worked without error.

Copy link

I do verify that vm name/size exists in the region but still get the same error.

@frenkan
Copy link

frenkan commented Aug 30, 2018

Same issue for me. Location West Europe. Tested with various VM sizes.

@TomArcherMsft
Copy link
Contributor

@paulmackinnon-adv365 et al. I've raised the issue with the Terraform feature team. Either they or I will reply to this as soon as we know something concrete. Thank you.

@TomArcherMsft
Copy link
Contributor

I've updated the article with two changes: the vm_size value (the previous value is no longer valid), and the version value (so that the latest non-beta version of the provider is used).

https://docs.microsoft.com/en-us/azure/terraform/terraform-create-k8s-cluster-with-tf-and-aks

Please let me know if these two fixes solves the Issue.

@frenkan
Copy link

frenkan commented Sep 10, 2018

Updating the provider version and changing the vm size did the trick for me. Thanks @TomArcher!

@TomArcherMsft
Copy link
Contributor

@frenkan Happy to help!
@MicahMcKittrick-MSFT #please-close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants