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

Updating `field_name` and `field_type` of existing `sumologic_lookup_table ` does not throw error

Open manasmbellani opened this issue 4 years ago • 0 comments

When attempting to update field_name or field_type of existing Sumologic lookup table created with terraform via resource sumologic_lookup_table, either:

  1. The existing sumologic lookup table must ideally be destroyed and a new sumologic table created (preferable)
  2. OR at least, an error message must be thrown to state that schema of an existing sumologic_lookup_table cannot be changed

This is because Sumologic doesn't allow changing schema for an existing sumologic_lookup_table resource.

However, the Sumologic Terraform provider conveys a successful (1 changed) message even though the changes have not taken effect and subsequent calls to terraform apply continues to apply the same change because the change has not taken effect.

Is it possible to update the provider to reflect one of the 2 behaviours above? 1. would be the ideal approach.

manasmbellani avatar Jul 18 '21 01:07 manasmbellani