zahiar / terraform-provider-graylog

Terraform Provider for Graylog
https://registry.terraform.io/providers/zahiar/graylog/latest
MIT License
12 stars 6 forks source link

Provider expects first and last name, not full name #22

Open AnonymousWP opened 1 year ago

AnonymousWP commented 1 year ago

Environment

$ terraform version
Terraform v1.0.7
+ provider.graylog v1.3.0

Overview

The example for user.tf contains a full name, but Graylog expects a first and last name, see:

image

Besides, Terraform complains about conflicting configuration arguments if full_name, first_name and last_name are used in combination with each other:

image

When I removed the full_name, it worked.

Expected behavior

A correct example format in https://github.com/zahiar/terraform-provider-graylog/blob/master/examples/v0.12/user.tf.

Actual behavior

An incorrect example.

How to reproduce

Apply https://github.com/zahiar/terraform-provider-graylog/blob/master/examples/v0.12/user.tf.

strangeman commented 1 year ago

Also, for Graylog 4.0+ need to bump api_version to v4