-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Добрый день!
В примере переменная postgresql_config описывается так:
postgresql_config = {
max_connections = 395
enable_parallel_hash = true
autovacuum_vacuum_scale_factor = 0.34
default_transaction_isolation = "TRANSACTION_ISOLATION_READ_COMMITTED"
shared_preload_libraries = "SHARED_PRELOAD_LIBRARIES_AUTO_EXPLAIN,SHARED_PRELOAD_LIBRARIES_PG_HINT_PLAN"
}
Однако данная переменная имеет тип "map(any)" - то есть map of any single type.
В примере указаны различные типы (numeric, string, bool).
Потому резонно получаем ошибку:
Error: Invalid value for input variable
The given value is not suitable for module.db.var.postgresql_config declared at ..\..\variables.tf:189,1-29: all map elements must have the same type.
Как быть?
Metadata
Metadata
Assignees
Labels
No labels