"staticCommunicationServices": expected the segment "CommunicationServices" to be "communicationServices"

We just did an upgrade and we have the following versions of the providers:

  • hashicorp/azurerm v3.12.0
  • hashicorp/azuread v2.25.0

And we get this error while applying for a resource that is deployed 5/6 moths ago

parsing “/subscriptions//resourceGroups//providers/Microsoft.Communication/CommunicationServices/*-communcation”: parsing segment “staticCommunicationServices”: expected the segment “CommunicationServices” to be “communicationServices”

This is the CDK code:

  const communicationService = new CommunicationService(scope, `${id} communication service`, {
    name: `${id}-communcation`,
    resourceGroupName: rg.name,
    dataLocation: "United States",
  });

Any ideas on how to resolve this so we can continue working? :slight_smile:

Error parsing segment "staticResourceGroups": expected the segment "resourcegroups" to be "resourceGroups" · Issue #14456 · hashicorp/terraform-provider-azurerm · GitHub - This issue is not helping

Hi @Shurbeski,

it appears to be a problem with the underlying Terraform provider. I found this issue which seems to be based on your problem.

As soon as it is fixed in the Terraform provider we can release a new version of the pre-built provider (if you are using that one and not locally built bindings via cdktf get).

Hi @ansgarm

“staticCommunicationServices”: expected the segment “CommunicationServices” to be “communicationServices” · Issue #17532 · hashicorp/terraform-provider-azurerm · GitHub - you can track the progress here