You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running an ansible-playbook from a docker image pulled from the latest git, when deploying the test machine into a new subscription, the "go_os" from the provider.yml is set to "ubuntu" but the deployment fails with the following error:
nError: Error applying plan:\n\n1 error(s) occurred:\n\n* module.ServerSpoke-Test-VM.azurerm_virtual_machine.vm: 1 error(s) occurred:\n\n* azurerm_virtual_machine.vm: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code=\"ResourcePurchaseValidationFailed\" Message=\"User failed validation to purchase resources. Error message: 'Legal terms have not been accepted for this item on this subscription: '<removed>'. To accept legal terms using PowerShell, please use Get-AzureRmMarketplaceTerms and Set-AzureRmMarketplaceTerms API(https://go.microsoft.com/fwlink/?linkid=862451) or deploy via the Azure portal to accept the terms'\"\n\nTerraform does not automatically rollback in the face of errors.\nInstead, your Terraform state file has been partially updated with\nany resources that successfully completed. Please address the error\nabove and apply again to incrementally change your infrastructure.\n\n\n"}
I retested after deploying a "ubuntu 18.04" image and still got the same error. When I removed the test machine section, the deployment moves past that entry.
A suggestion would be to have the default script that uses an image that might not need a license.
The text was updated successfully, but these errors were encountered:
Support issue
When running an ansible-playbook from a docker image pulled from the latest git, when deploying the test machine into a new subscription, the "go_os" from the provider.yml is set to "ubuntu" but the deployment fails with the following error:
nError: Error applying plan:\n\n1 error(s) occurred:\n\n* module.ServerSpoke-Test-VM.azurerm_virtual_machine.vm: 1 error(s) occurred:\n\n* azurerm_virtual_machine.vm: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code=\"ResourcePurchaseValidationFailed\" Message=\"User failed validation to purchase resources. Error message: 'Legal terms have not been accepted for this item on this subscription: '<removed>'. To accept legal terms using PowerShell, please use Get-AzureRmMarketplaceTerms and Set-AzureRmMarketplaceTerms API(https://go.microsoft.com/fwlink/?linkid=862451) or deploy via the Azure portal to accept the terms'\"\n\nTerraform does not automatically rollback in the face of errors.\nInstead, your Terraform state file has been partially updated with\nany resources that successfully completed. Please address the error\nabove and apply again to incrementally change your infrastructure.\n\n\n"}
I retested after deploying a "ubuntu 18.04" image and still got the same error. When I removed the test machine section, the deployment moves past that entry.
A suggestion would be to have the default script that uses an image that might not need a license.
The text was updated successfully, but these errors were encountered: