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

Unable to use provider with Zabbix 6.4 #62

Open
altmas5 opened this issue Mar 15, 2023 · 3 comments
Open

Unable to use provider with Zabbix 6.4 #62

altmas5 opened this issue Mar 15, 2023 · 3 comments

Comments

@altmas5
Copy link

altmas5 commented Mar 15, 2023

Hi, my code was working on version 4.2 and 5.2, but on version 6.4 I get the following error during terraform plan:

╷
│ Error: -32602 (Invalid params.): Invalid parameter "/": unexpected parameter "user".
│ 
│   with provider["registry.terraform.io/claranet/zabbix"],
│   on main.tf line 9, in provider "zabbix":
│    9: provider "zabbix" {
│ 
╵

My code at line 9 is the initialization or configuration of the provider as shown on the README:

provider "zabbix" {
  user       = var.user
  password   = var.password
  server_url = var.server_url
}

Terraform version

Terraform v1.3.7
on linux_amd64
+ provider registry.terraform.io/claranet/zabbix v0.4.0
@david-moreau
Copy link

hi @altmas5
ZBXNEXT-8085 user.login: dropped support for deprecated parameter user.

You must use username parameter now.

@altmas5
Copy link
Author

altmas5 commented Mar 17, 2023

Thanks @david-moreau
I have created a PR for updating that, but I think it also needs to get this go-zabbix-api to get updated

@redzioch
Copy link

redzioch commented May 4, 2023

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

3 participants