aws-solutions / network-orchestration-for-aws-transit-gateway

The Network Orchestration for AWS Transit Gateway solution automates the process of setting up and managing transit networks in distributed AWS environments. It creates a web interface to help control, audit, and approve (transit) network changes.
https://aws.amazon.com/solutions/implementations/serverless-transit-network-orchestrator/
Apache License 2.0
110 stars 46 forks source link

Addressing issues 77, 78, and 81, where leading spaces and empty environment variables cause issues #82

Closed mc-etcher closed 1 year ago

mc-etcher commented 1 year ago

Addressing issues 77, 78, and 81, where leading spaces and empty environment variables cause issues

Issue #, if available:

Description of changes: Details in the CHANGELOG

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

groverlalit commented 1 year ago

Thanks for opening the pull request and help us improve the codebase. We have updated the code to handle this scenario. We should not have empty strings in the list. Handling this use case in the new util where we remove white spaces in the values in the string.