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
Resource Group is created and log analytics workspace throws a odd error about invalid subscription. Makes no sense as the resource group is created with that subscription. I am able to create the log analytics instance through the portal with no issues. Tested it in Commercial and the above script ran perfectly fine.
azurerm_log_analytics_workspace.log_analytics_workspace: operationalinsights.WorkspacesClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="SubscriptionNotFound" Message="The subscription '75406810-f3e6-42fa-97c6-e9027e0a0a45' could not be found."
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Taking a look into this this appears to be a bug where we register the SDK Client without specifying the ARM Endpoint to use - which means this defaults to communicating with Azure Public rather than (in this case) Azure Government. I've opened #1410 which includes a fix for this - apologies for the inconvenience here!
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 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Mar 30, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
*Unlikely this is related to - #1078
Terraform v0.11.7
TF File:
Resource Group is created and log analytics workspace throws a odd error about invalid subscription. Makes no sense as the resource group is created with that subscription. I am able to create the log analytics instance through the portal with no issues. Tested it in Commercial and the above script ran perfectly fine.
Output:
Debug Output can be found here
The text was updated successfully, but these errors were encountered: