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 used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform planned the following actions, but then encountered a problem:
# random_password.admin_password will be created
+ resource "random_password""admin_password" {
+ bcrypt_hash = (sensitive value)
+ id = (known after apply)
+ length = 16
+ lower = true
+ min_lower = 0
+ min_numeric = 0
+ min_special = 0
+ min_upper = 0
+ number = true
+ numeric = true
+ result = (sensitive value)
+ special = true
+ upper = true
}
Plan: 1 to add, 0 to change, 0 to destroy.
╷
│ Error: `administrator_login` and `administrator_login_password` are required when `azuread_authentication_only_enabled` is false
│
│ with azurerm_mssql_managed_instance.sqlmi,
│ on main.tf line 7, in resource "azurerm_mssql_managed_instance""sqlmi":
│ 7: resource "azurerm_mssql_managed_instance""sqlmi" {
│
╵
Expected Behaviour
Populating administrator_login_password with a random_password's result should allow a random password to be generated and used for SQL MI's admin password on deployment if the block azure_active_directory_administrator is used. This was supported prior to version 4.15.0 with the extra resource azurerm_mssql_managed_instance_active_directory_administrator previously.
Actual Behaviour
Populating administrator_login_password with a random_password's result and using azure_active_directory_administrator.azuread_authentication_only_enabled = false cases a validation error for administrator_login and administrator_login_password properties.
Is there an existing issue for this?
Community Note
Terraform Version
1.10.5
AzureRM Provider Version
4.15.0
Affected Resource(s)/Data Source(s)
azurerm_mssql_managed_instance
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Populating
administrator_login_password
with arandom_password
'sresult
should allow a random password to be generated and used for SQL MI's admin password on deployment if the blockazure_active_directory_administrator
is used. This was supported prior to version4.15.0
with the extra resourceazurerm_mssql_managed_instance_active_directory_administrator
previously.Actual Behaviour
Populating
administrator_login_password
with arandom_password
'sresult
and usingazure_active_directory_administrator.azuread_authentication_only_enabled = false
cases a validation error foradministrator_login
andadministrator_login_password
properties.Steps to Reproduce
Important Factoids
Bug was created in this PR
References
Seems to be related to the GetOk() on schema.ResourceDiff package here.
The text was updated successfully, but these errors were encountered: