Skip to content

Conversation

@abetomo
Copy link
Contributor

@abetomo abetomo commented Mar 29, 2017

In updateFunctionConfiguration, we set empty characters so that setting
can be erased, but failed when createFunction.

In updateFunctionConfiguration, we set empty characters so that setting
can be erased, but failed when createFunction.
// Set default value to null.
// Because createFunction fails if it is empty character.
TargetArn: null
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make more sense to leave it out completely and only add it when passed through to us? This might also solve for your TODO.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried implementing undefined check, but how about it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abetomo are you sure this solves for implicitly unsetting the DLQ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DeviaVir
By writing AWS_DLQ_TARGET_ARN= in .env, empty characters will pass and you can cancel the setting.

Copy link
Collaborator

@DeviaVir DeviaVir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@DeviaVir DeviaVir merged commit f3ff683 into motdotla:master Mar 29, 2017
@abetomo abetomo deleted the bugfix_invalid_parameter_value_exception branch March 29, 2017 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants