5 Commits

Author SHA1 Message Date
Mariusz Nowak
5851bcadcf
fix(AWS Lambda): Revert inclusion of version hashi in env var (#8332)
This reverts commit 73c34b9f2bbe3b7c063a257a5b032b7460f263c0.

We need to revert it, as it'll break lambdas intended to back cloudFront distributions
2020-10-02 12:06:27 +02:00
Brent Jackson
73c34b9f2b
fix(AWS Lambda): Ensure version hash is in all cases effective (#8310)
In some instances the version hash may change due to a change involving
CloudFormation instrisic functions, but upon resolving the functions, the
resulting lambda configuration is identical to what is currently
deployed. This causes the Lambda::Version to fail to publish since AWS
sees the lambdas as identical.

This commit embeds an environment variable onto each lambda function with
the value of the version config hash, ensuring that anytime the config
hash changes, the resulting lambda configuration will be changed,
allowing a Lambda::Version to be published.
2020-10-01 18:20:08 +02:00
Mariusz Nowak
74634c3317 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
6e84563551 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
14b4e92ba7 test: Improve test folder naming 2020-09-09 11:17:21 +02:00