-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple SCC instances with the same Event Notifications #162
Comments
I attempted to deploy the complete example in the |
The terraform plan showed the following -
scc_instance_settings_details = [
It no where showed information about |
@iamar7 - you do not see the name set in terraform because the provider does not support it. |
That's where I was going, when I checked the source in the EN instance in Cloud UI it has a |
Raised the provider issue here -> IBM-Cloud/terraform-provider-ibm#5579 |
This was fixed in IBM-Cloud/terraform-provider-ibm#5818 since the source name is now required when doing EN integration. The fix has already been added to our SCC module and DA |
There is a problem with using existing Event Notification instance with SCC.
It turns out that when the ibm_scc_instance_settings resource is used, it creates a source in the EN instance with the same name "compliance", so if two SCC instances are provisioned with this module, the second one trying to use EN will fails with the error about "source with the same name already exists.
It probably has to be fixed at the provider level as there is no name parameter in SCC instance settings resource, but when the integration is created in SCC UI, the source name is set to SCC instance name.
The effect of this is that when the DA is used to create a new SCC instance with referencing an existing Event Notifications service, any additional project/configuration using SCC module fails because of the existing source name.
Currently the only workaround is to use separate Events Notifications instances for each SCC instance.
Affected modules
Terraform CLI and Terraform provider versions
Terraform output
Debug output
Expected behavior
Actual behavior
Steps to reproduce (including links and screen captures)
terraform apply
Anything else
By submitting this issue, you agree to follow our Code of Conduct
The text was updated successfully, but these errors were encountered: