Conversation
Co-authored-by: m-ruiz21 <38898004+m-ruiz21@users.noreply.github.com>
|
Looks like this fix also need to be applied to other dynamic data connectors that could potentially have the same behavior with a dropdown named |
I was thinking about that too, this only works since they're all identical besides the Queue URL, but there doesn't seem to be anything that exists to account for this. Frankly, I assumed it was default behavior for the connector grid |
We can address it later if it comes up |
|
Hi @m-ruiz21 Kindly revert these changes if they are not part of this PR.
Thanks! |
This reverts commit acdbc30.

This pull request addresses an issue with duplicate collector creation for the Amazon Web Services NetworkFirewall solution and improves handling of dynamic stream names in the connector resources. The changes ensure that only one resource is created when dynamic stream names are used, with conditional logic applied to select the correct destination table. Additionally, the solution version is updated and documentation is improved.
cherry picked from @solhaile 's branch.
Change(s):
Improved logic in
createCCPConnector.ps1so that for dynamic stream names, only one resource is created with conditional logic for destination table selection, preventing duplicate collector creation.Added code to build nested conditional logic for the
destinationTableproperty based on stream name mappings, ensuring correct table assignment in ARM templates.Updated ARM template (
mainTemplate.json) to use conditional logic fordestinationTableselection, replacing multiple connector resource definitions with a single parameterized resource.Updated solution version to
3.0.3inSolution_AmazonWebServices.json,mainTemplate.json, and package properties to reflect the new release. [1] [2] [3]Added release note for version 3.0.3, documenting the fix for duplicate collectors creation.
Clarified connector description in
createUiDefinition.jsonto specify data connector is via Codeless Connector Framework.Testing Completed:
Checked that the validations are passing and have addressed any issues that are present: