terraform-provider-sumologic icon indicating copy to clipboard operation
terraform-provider-sumologic copied to clipboard

sumologic_folder's description is documented as Optional, but seems required

Open mccartney opened this issue 4 years ago • 0 comments

Steps to reproduce

data "sumologic_personal_folder" "personalFolder" {}
resource "sumologic_folder" "folder504" {
  name = "folder504"
  parent_id = data.sumologic_personal_folder.personalFolder.id
}

Observed

│ Error: Missing required argument
│ 
│   on a.tf line 23, in resource "sumologic_folder" "folder504":
│   23: resource "sumologic_folder" "folder504" {
│ 
│ The argument "description" is required, but no definition was found.

while https://registry.terraform.io/providers/SumoLogic/sumologic/latest/docs/resources/folder claims:

description - (Optional) The description of the folder.

Expected

Consistency between the docs and the provider behavior.

(BTW, both the UI of Sumo Logic and Terraform provider accept empty String as description)

Workaround

  description = ""

mccartney avatar Oct 27 '21 05:10 mccartney