Compose files in catalog and in API

Hi all.
I have a few stacks in different environments which were created from custom catalog. After that I made a few upgrades of services in stacks from UI.
I’m using Terraform and Terraform plan command always shows me that I have a difference between Terraform configs and Rancher but in resource I’m using compose files which was downloaded as a “compose.zip” and .tfstate files have latest changes.
So my question is: Is there a way to get properly working Terraform’s command? Maybe I need to detach stacks from catalog. If this is a case I want to know how can I do this.