Description of changes:
If a Lambda function currently has a function url configured and then calls deploy without setting the --function-url-enable switch the tool would remove the url configuration which it should not have done. This PR checks when the --function-url-enable is not set and uses the current state of the function url to determine if url changes should be made.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description of changes: If a Lambda function currently has a function url configured and then calls deploy without setting the
--function-url-enable
switch the tool would remove the url configuration which it should not have done. This PR checks when the--function-url-enable
is not set and uses the current state of the function url to determine if url changes should be made.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.