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
{{ message }}
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
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 "+1" or "me too" comments, 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
Terraform Version
Terraform v0.12.8
Affected Resource(s)
auth0_connection
Terraform Configuration Files
resource"auth0_connection""database" {
name="database"strategy="auth0"is_domain_connection=falseenabled_clients=[
auth0_client.application.name
]
options {
brute_force_protection=truedisable_signup=falseenabled_database_customization=falseimport_mode=falserequires_username=falsepassword_policy="good"password_history {
enable=truesize=5
}
password_no_personal_info {
enable=true
}
password_dictionary={ # <--- This right here is broken
enable =true
}
}
}
Expected Behavior
Auth0 Connection resource is successfully created with the Password Dictionary feature enabled.
Actual Behavior
Crash, password_dictionary.enable is sent to auth0 as a string instead of a bool:
...
+ password_dictionary = {
+ "enable" = "true" # <---- This is the downside of using map, the boolean is now a string
}
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions in workspace "dev"?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
auth0_connection.database: Creating...
Error: 400 Bad Request: Payload validation error: 'Expected type boolean but found type string' on property options.password_dictionary.enable.
on auth0.tf line 57, in resource "auth0_connection" "database":
57: resource "auth0_connection" "database" {
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 30 days with no activity.
Stale issues will be closed after 5 days if no action is taken. If you
think this issue should not be closed, remove the stale label.
Community Note
Terraform Version
Terraform v0.12.8
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Auth0 Connection resource is successfully created with the Password Dictionary feature enabled.
Actual Behavior
Crash,
password_dictionary.enable
is sent to auth0 as a string instead of a bool:Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: