pablovarela / terraform-provider-slack

A Terraform Provider for Slack resources
GNU General Public License v3.0
49 stars 32 forks source link

Preserve existing topics and descriptions if they are null in the terraform configuration #250

Open ulucs opened 1 month ago

ulucs commented 1 month ago

Thanks for this provider! I'm currently trying to move off from a custom slack configuration tool to a terraform-based one via this provider. However, I have hit a pain point while doing so:

This provider takes full control of channels when trying to manage existing conversations, and results in existing metadata getting deleted. Although this might be preferable in some cases, this is a bit unexpected for groups with existing slack setups.

This PR changes the provider behavior so that topics and purposes are not modified when they are null/missing in the terraform configuration.