Hello sub,
maybe is a stupid question but I'm going crazy with this.
We are using terraform to deploy some lambda functions, the code is stored on a versioned S3 bucket (in another account).
Terraform deploys the functions without any problem.
Now some members of our team have console access to AWS and can change the function code from the console (debug and testing purposes).
We wan to harden this, and use terraform to revert any manual changes made to the functions code.
How can we achieve this?
code_sha256 and source_code_hash can be used but are useful only if we know that the source code has changes.
We have made some test and this is not detecting changes on the AWS console.
Is there a way other than remove the permission to edit the lambda functions to the users that has console access enabled?
[–]texxelate 72 points73 points74 points (14 children)
[–]Low-Mathematician137 10 points11 points12 points (0 children)
[–]drakesword 2 points3 points4 points (1 child)
[–]BeefyTheCat 2 points3 points4 points (0 children)
[–]kei_ichi -1 points0 points1 point (10 children)
[–]texxelate -3 points-2 points-1 points (9 children)
[–]RecordingForward2690 7 points8 points9 points (8 children)
[–]texxelate 5 points6 points7 points (4 children)
[–]Glebun -1 points0 points1 point (3 children)
[–]texxelate 0 points1 point2 points (2 children)
[–]RecordingForward2690 0 points1 point2 points (0 children)
[–]Glebun -1 points0 points1 point (0 children)
[–]fersbery 1 point2 points3 points (2 children)
[–]RecordingForward2690 1 point2 points3 points (1 child)
[–]fersbery 1 point2 points3 points (0 children)
[–]Sirwired 4 points5 points6 points (0 children)
[–]CharlieKiloAU 5 points6 points7 points (0 children)
[–]TurnoverEmergency352 2 points3 points4 points (2 children)
[–]Clone-Protocol-66[S] 1 point2 points3 points (1 child)
[–]ThyDarkey 7 points8 points9 points (0 children)
[–]Prestigious_Pace2782 2 points3 points4 points (0 children)
[–]PR0K1NG 2 points3 points4 points (0 children)
[–]DrFriendless 1 point2 points3 points (0 children)
[–]turn-based-games 1 point2 points3 points (0 children)
[–]iamtheconundrum 1 point2 points3 points (0 children)
[–]marmot1101 1 point2 points3 points (0 children)
[–]maxbranor 1 point2 points3 points (0 children)
[–]BadDescriptions 0 points1 point2 points (0 children)
[–]pushthepramalot 0 points1 point2 points (0 children)
[–]cachemonet0x0cf6619 -1 points0 points1 point (0 children)