-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsuitable value for child module variable "backends" #104
Comments
Can confirm I have the same issue. |
@nguyen-doan I had same problem when only |
I have the same issue even with the |
Currently the module expects full backend declarations without using the defaults for the "backends" definition. I think it used to be better in the past, where only some of the params were required. |
Unfortunately Terraform Core doesn't support optional object values - hashicorp/terraform#19898 |
That's indeed sad, having hashicorp/terraform#22449 would be a step forward. |
Please check here, apparently we can set |
If anyone else hits this, I side-stepped the issue on an old project by editing In my project these backend additions were required to match the existing config: custom_request_headers = null
security_policy = null
iap_config = {
enable = false
enable = false
oauth2_client_id = null
oauth2_client_secret = null
} … and the health-check required adding |
When creating new http-lb, I went to a syntax/type error which is shown as below:
The value
timeout_sec
in backends.default block is already number.I tried to plan several times with module version 3.2.0 and 4.0.0, but still got the same error with different values:
My terraform version: 0.12.20
The text was updated successfully, but these errors were encountered: