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
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.8.5
AzureRM Provider Version
3.103.1
Affected Resource(s)/Data Source(s)
azurerm_container_app_environment
Terraform Configuration Files
data calls and copy/paste from the console will give you an id that `azurerm_container_app_environment` won't accept.
error:
│ The parsed Resource ID was missing a value for the segment at position 2
│ (which should be the literal value "resourceGroups").
Example config
```hcl
data"azurerm_log_analytics_workspace""ace" {
name="a_workspace"resource_group_name="a_resource_group"
}
resource"azurerm_container_app_environment""a" {
name="example"location="eastus"resource_group_name="a_resource_group"infrastructure_subnet_id=azurerm_subnet.a[0].idinternal_load_balancer_enabled=true# log_analytics_workspace_id = data.azurerm_log_analytics_workspace.ace.id # this tries to force replacement as of azrm 3.103.1workload_profile {
maximum_count=3minimum_count=1name="basic"workload_profile_type="D4"
}
}
Debug Output/Panic Output
│ The parsed Resource ID was missing a value for the segment at position 2
│ (which should be the literal value "resourceGroups").
Expected Behaviour
accept the input as valid
Actual Behaviour
input is rejected
Steps to Reproduce
run the above terraform
you'll have to finagle the subnet because of race condition with delegation (that's another issue altogether)
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Community Note
Terraform Version
1.8.5
AzureRM Provider Version
3.103.1
Affected Resource(s)/Data Source(s)
azurerm_container_app_environment
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
accept the input as valid
Actual Behaviour
input is rejected
Steps to Reproduce
run the above terraform
you'll have to finagle the subnet because of race condition with delegation (that's another issue altogether)
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: