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

App Configuration LRO failed with internal error #21870

Closed
1 task done
teowa opened this issue May 22, 2023 · 2 comments · Fixed by hashicorp/go-azure-sdk#479
Closed
1 task done

App Configuration LRO failed with internal error #21870

teowa opened this issue May 22, 2023 · 2 comments · Fixed by hashicorp/go-azure-sdk#479

Comments

@teowa
Copy link
Contributor

teowa commented May 22, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.4.4

AzureRM Provider Version

3.55.0

Affected Resource(s)/Data Source(s)

azurerm_app_configuration

Terraform Configuration Files

resource "azurerm_resource_group" "example" {
  name     = "wt-testRG"
  location = "West Europe"
}

resource "azurerm_app_configuration" "appconf" {
  name                = "appConf1"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location
}

Debug Output/Panic Output

azurerm_app_configuration.appconf: Creating...
azurerm_app_configuration.appconf: Still creating... [10s elapsed]
╷
│ Error: creating Configuration Store (Subscription: "xxx"
│ Resource Group Name: "wt-testRG"
│ Configuration Store Name: "appConf1"): polling after Create: internal-error: a polling status of `Failed` should be surfaced as a PollingFailedError
│
│   with azurerm_app_configuration.appconf,
│   on main.tf line 6, in resource "azurerm_app_configuration" "appconf":
│    6: resource "azurerm_app_configuration" "appconf" {
│
╵

Expected Behaviour

The error message should show error returned by API
with 3.54.0 of provider, the error message is like:

azurerm_app_configuration.appconf: Creating...
azurerm_app_configuration.appconf: Still creating... [10s elapsed]
╷
│ Error: creating Configuration Store (Subscription: "xxx"
│ Resource Group Name: "wt-testRG"
│ Configuration Store Name: "appConf1"): polling after Create: Code="NameUnavailable" Message="The specified name is already in use." AdditionalInfo=[{"info":{"activityId":"eb15c086-92d1-491f-a529-4d895e05bec8"},"type":"ActivityId"}]
│
│   with azurerm_app_configuration.appconf,
│   on main.tf line 6, in resource "azurerm_app_configuration" "appconf":
│    6: resource "azurerm_app_configuration" "appconf" {
│
╵

Actual Behaviour

The apply fails with internal-error.

Steps to Reproduce

No response

Important Factoids

No response

References

#21637

@srikanthreddy005

This comment was marked as duplicate.

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants