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
2024-12-01T11:06:48.453-0800 [ERROR] vertex "module.mongo.azurerm_mongo_cluster.cluster" error: `administrator_password` is required when `create_mode` is Default
2024-12-01T11:06:48.453-0800 [ERROR] provider.terraform-provider-azurerm_v4.12.0_x5: Response contains error diagnostic: diagnostic_severity=ERROR tf_proto_version=5.7 tf_provider_addr=registry.terraform.io/hashicorp/azurerm tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 @module=sdk.proto diagnostic_detail="" tf_resource_type=azurerm_mongo_cluster diagnostic_summary="`administrator_password` is required when `create_mode` is Default" tf_req_id=b83b8937-451f-2fe3-7c8f-86fd0193c1cc timestamp=2024-12-01T11:06:48.452-0800
2024-12-01T11:06:48.453-0800 [ERROR] vertex "module.mongo.azurerm_mongo_cluster.cluster (expand)" error: `administrator_password` is required when `create_mode` is Default
╷
│ Error: `administrator_password` is required when `create_mode` is Default
│
│ with module.mongo.azurerm_mongo_cluster.cluster,
│ on ../modules/mongo/main.tf line 7, in resource "azurerm_mongo_cluster" "cluster":
│ 7: resource "azurerm_mongo_cluster" "cluster" {
│
╵
Expected Behavior
Should be able to chain together other resources vs having to hardcode password
Actual Behavior
╷
│ Error: administrator_password is required when create_mode is Default
│
│ with module.mongo.azurerm_mongo_cluster.cluster,
│ on ../modules/mongo/main.tf line 7, in resource "azurerm_mongo_cluster" "cluster":
│ 7: resource "azurerm_mongo_cluster" "cluster" {
│
╵
Steps to Reproduce
terraform init
terraform apply
Additional Context
Works correctly if you hardcode the password as a string vs using a resource like random_password
References
No response
The text was updated successfully, but these errors were encountered:
This appears to be an issue or question with the AzureRM provider, not with Terraform itself. You can see existing issues and file a new one in their repository here: https://github.com/terraform-providers/terraform-provider-azurerm/issues. If you have questions about Terraform or the AzureRM provider, it's better to use the community forum where there are more people ready to help. The GitHub issues here are monitored only by a few core maintainers.
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.
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Should be able to chain together other resources vs having to hardcode password
Actual Behavior
╷
│ Error:
administrator_password
is required whencreate_mode
is Default│
│ with module.mongo.azurerm_mongo_cluster.cluster,
│ on ../modules/mongo/main.tf line 7, in resource "azurerm_mongo_cluster" "cluster":
│ 7: resource "azurerm_mongo_cluster" "cluster" {
│
╵
Steps to Reproduce
terraform init
terraform apply
Additional Context
Works correctly if you hardcode the password as a string vs using a resource like
random_password
References
No response
The text was updated successfully, but these errors were encountered: