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

Can not make empty for a optional list of string #27132

Open
1 task done
quanhokms opened this issue Aug 22, 2024 · 0 comments · May be fixed by #27529
Open
1 task done

Can not make empty for a optional list of string #27132

quanhokms opened this issue Aug 22, 2024 · 0 comments · May be fixed by #27529

Comments

@quanhokms
Copy link

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 comments along the lines of "+1", "me too" or "any updates", 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 and review the contribution guide to help.

Terraform Version

1.4.6

AzureRM Provider Version

v3.116.0

Affected Resource(s)/Data Source(s)

azurerm_kusto_cluster

Terraform Configuration Files

resource "azurerm_kusto_cluster" "cluster" {
  name                          = var.name
  location                      = var.location
  resource_group_name           = var.rs_name
  public_network_access_enabled = false
  allowed_ip_ranges             = []
}

Debug Output/Panic Output

Error: list of string is empty
  with azurerm_kusto_cluster.cluster,
  on main.tf line xx, in resource "azurerm_kusto_cluster" "cluster":
  xx: resource "azurerm_kusto_cluster" "cluster" {
Releasing state lock. This may take a few moments...

Expected Behaviour

Kusto cluster should be updated

Actual Behaviour

Error: list of string is empty
with azurerm_kusto_cluster.cluster,
on main.tf line xx, in resource "azurerm_kusto_cluster" "cluster":
xx: resource "azurerm_kusto_cluster" "cluster" {
Releasing state lock. This may take a few moments...

Steps to Reproduce

  • Apply kusto cluster with a list of allowed ip range ["0.0.0.0"]
  • Then reapply with a empty list of string

Important Factoids

No response

References

No response

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