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.
2024-11-07T10:48:47.648+0100 [ERROR] vertex "module.redacted.main" error: "secret.0.name" must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character
2024-11-07T10:48:47.648+0100 [WARN] provider.terraform-provider-azurerm_v4.8.0_x5: [WARN] Truncating attribute path of 1 diagnostics for TypeSet
2024-11-07T10:48:47.648+0100 [ERROR] provider.terraform-provider-azurerm_v4.8.0_x5: Response contains error diagnostic: @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_attribute="AttributeName(\"secret\")" tf_proto_version=5.6 tf_req_id=2e265cd9-ec49-8f32-d98d-68960eb4aede diagnostic_detail="" diagnostic_severity=ERROR diagnostic_summary="\"secret.0.name\" must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character" @module=sdk.proto tf_provider_addr=registry.terraform.io/hashicorp/azurerm tf_resource_type=azurerm_container_app tf_rpc=ValidateResourceTypeConfig timestamp="2024-11-07T10:48:47.648+0100"
2024-11-07T10:48:47.648+0100 [ERROR] vertex "module.redacted.main" error: "secret.0.name" must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character
╷
│ Error: "secret.0.name" must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character
│
│ with module.redacted.main,
│ on modules/redacted/main.tf line 17, in resource "azurerm_container_app""main":
│ 17: resource "azurerm_container_app""main" {
│
Expected Behaviour
Allowance of '.' in azurerm_container_app.secret.name
Actual Behaviour
'.' is not allowed. The Azure portal UI is incoherent here (see pictures) but you are not allowed to create secrets in container app containing '.' in name/key. Also max length is not validated in provider.
Is there an existing issue for this?
Community Note
Terraform Version
1.9.8
AzureRM Provider Version
4.8.0
Affected Resource(s)/Data Source(s)
azurerm_container_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Allowance of '.' in
azurerm_container_app.secret.name
Actual Behaviour
'.' is not allowed. The Azure portal UI is incoherent here (see pictures) but you are not allowed to create secrets in container app containing '.' in name/key. Also max length is not validated in provider.
Steps to Reproduce
terraform plan
Important Factoids
No response
References
Created a PR: #27935
The text was updated successfully, but these errors were encountered: