Skip to content
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

Terraform playbook failed #4

Open
sathe06 opened this issue Oct 3, 2023 · 0 comments
Open

Terraform playbook failed #4

sathe06 opened this issue Oct 3, 2023 · 0 comments

Comments

@sathe06
Copy link

sathe06 commented Oct 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant