Issue with OAuth integration_credential_name

Hello,

We have noticed a few issues when using integration_credential_name setting of the OAuth client.

  1. When the setting is used when OAuth is being created, the integration credential is created correctly - however, when that OAuth is then removed, the Integration Credential is not removed automatically.

We would expect it to be removed automatically as it was created automatically as it is a broken reference.

  1. When we try to add integration_credential_name after the OAuth has already been created, it has no effect.

In other words, if we first create the OAuth without the setting, and then we add the setting later, the Integration Credential is not created.
TF detects the change:
...

  • integration_credential_name = "cicd_test3_integration_credential"
    ...
    TF applies the change:
    ...
    module.oauth_client.genesyscloud_oauth_client.cicd_test3: Modifications complete
    ...

Credential is not there in /api/v2/integrations/credentials API call.

  1. API call GET/api/v2/oauth/clients does not seem to return integration_credential_name nor integration_credential_id even though TF shows they are being created as part of the OAuth object:
  • resource "genesyscloud_oauth_client" "cicd_test" {
    ...
  • integration_credential_id = (known after apply)
  • integration_credential_name = "cicd_test_integration_credential"
    ...

Thank you.

Hi @jmakacek

Thanks for bringing this our attention. We'll create a ticket and get a dev working on this as soon as we can. If we need any more info from you, we will contact you on this thread.

-Charlie

(Tracking with DEVTOOLING-752)

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.