Slack integration

i’m integration Slack and Okta using the code below:

resource “okta_app_saml” “Slack” {
preconfigured_app = “Slack”
label = “Slack”
subject_name_id_template = “userName”
subject_name_id_format = “urn:oasis:names:tc:SAML:2.0:nameid-format:persistent”
response_signed = true
signature_algorithm = “RSA_SHA256”
digest_algorithm = “SHA256”
honor_force_authn = true
authn_context_class_ref = “urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport”
app_settings_json = <<JSON
“domain”: “xxxx”

It’s working, hower each time i run terraform apply, it’s like tfsate don’t keep any information and overwrite the the previous setup. Below the log message
~ name = “slack” → (known after apply)
~ preconfigured_app = “slack” → “Slack” # forces replacement
~ response_signed = false → true
~ sign_on_mode = “SAML_2_0” → (known after apply)
+ signature_algorithm = “RSA_SHA256”
+ subject_name_id_format = “urn:oasis:names:tc:SAML:2.0:nameid-format:persistent”
+ subject_name_id_template = “userName”

Since is a preconfigured app, there is a message saying ““Slack” # forces replacement”, ant the connector is completely new and need to go back to slack console, authorisation tab and update de links and certificate.

How can i solve this behaviour? Maybe using a custom app, but i was unable to make it work (if someone ca, share, i will appreciate).

Best Regards