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
Error: "name" must start with a letter, may only contain alphanumeric characters and dashes and up to 128 characters in length
Expected Behaviour
I am importing an existing resource into Terraform. The name has been set in the portal with an underscore.
When running a Terraform Validate I'm expecting my code to pass with
Success! The configuration is valid.
Actual Behaviour
Error: "name" must start with a letter, may only contain alphanumeric characters and dashes and up to 128 characters in length
│
│ with azurerm_function_app_function.my_function,
│ on RG_abp-ais-pmis-empx-uks-rg01.tf line 73, in resource "azurerm_function_app_function" "my_function":
│ 73: name = "Function_name"
Steps to Reproduce
Create code in Terraform for the existing resource
run: terraform validate
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
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.
Is there an existing issue for this?
Community Note
Terraform Version
1.5.0
AzureRM Provider Version
3.62.1
Affected Resource(s)/Data Source(s)
azurerm_function_app_function
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I am importing an existing resource into Terraform. The name has been set in the portal with an underscore.
When running a Terraform Validate I'm expecting my code to pass with
Success! The configuration is valid.
Actual Behaviour
Error: "name" must start with a letter, may only contain alphanumeric characters and dashes and up to 128 characters in length
│
│ with azurerm_function_app_function.my_function,
│ on RG_abp-ais-pmis-empx-uks-rg01.tf line 73, in resource "azurerm_function_app_function" "my_function":
│ 73: name = "Function_name"
Steps to Reproduce
terraform validate
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: