Skip to content

Terraform playbook failed  #4

@sathe06

Description

@sathe06

Hi,

I am re-using this code as it is.
i am getting this error.

terraform plan

│ Error: Call to unknown function
│
│   on main.tf line 7, in locals:
│    7:   mysqlserver_settings = defaults(var.mariadb_settings, {
│    8:     charset   = "utf8"
│    9:     collation = "utf8_general_ci"
│   10:   })
│     ├────────────────
│     │ var.mariadb_settings is a object
│
│ There is no function named "defaults".

Can you please suggest how to solve this
@kumarvna

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions