-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PRMP-1221] Lambda module - accept >10 iam_role_policies (#213)
* [PRMP-1120] adding a new nrl lambda * adds tf for nrl queue and lambda * adds nrl api endpoint to vars * PRMP-1120: adds timeout to match lambda for queue * Adds feature flag for NRL lambda * Moves feature flag to SQS subsrciption * edits filter to use action from message body * adds new env variable to bulk upload lambda * formatting * formatting * [PRMP-1122] adds env variable and nrl sqs policy to bulk upload terraform * PRMP-1252 (#209) * Update SQS, S3, and DynamoDB Modules to Output iam_role_policy_document Values * [PRMP-1221] - Update the lambda module to take in iam_role_policy_documents (JSON) instead of iam_role_policies (ARNs). * [PRMP-1221] - pass in the combined policies to the bulk-upload-lambda * [PRMP-1221] - solve cyclic dependancy error * [PRMP-1221] - error fix try * [PRMP-1221] - error fix try * [PRMP-1221] Moved concatenated policies into policies.tf and passed concatenated values into bulk-upload-lambda * [PRMP-1221] - make combined policies json * [PRMP-1221] - make combined policies json * [PRMP-1221] - use the policy attribute for the module outputs to get the json policies * [PRMP-1221] - remove sid * [PRMP-1221] - get arn from combined policies * [PRMP-1221] - fix duplicate name error * [PRMP-1221] - fix duplicate name error * PRMP-1221 - remove unused/commented out code * PRMP-1221 - replace iam_role_policy_documents back to iam_role_policies * PRMP-1221 remove the combined polcies for s2 and dynamodb * PRMP-1221 remove extra lines * PRMP-1221 - add iam_role_policy_documents into lambda module variables * PRMP-1221 - replace iam_role_policy_documents from iam_role_policies * PRMP-1221 - remove the iam_role_policy_documents from the lambda-edge config * PRMP-1221 - fix error - modify aws_iam_role_policy_attachment * PRMP-1221 - revert back to old lambda_excecution_policy * PRMP-1221 - add read write policies in the dynamodb, s3, sqs modules * PRMP-1221 - apply the read write policies as a test run * PRMP-1221 - apply the read write policies as a test run * PRMP-1221 - fix invalid index error * PRMP-1221 - merge policy documents * PRMP-1221 - fix Invalid JSON in Policy Documents error * PRMP-1221 - fix Invalid JSON in Policy Documents error * PRMP-1221 - fix Invalid JSON in Policy Documents error * PRMP-1221 - apply read write to sqs modules * PRMP-1221 fix error - lease ensure the role can perform the GetRecords, GetShardIterator, DescribeStream, and ListStreams Actions on your stream in IAM * PRMP-1221 fix error - lease ensure the role can perform the GetRecords, GetShardIterator, DescribeStream, and ListStreams Actions on your stream in IAM * PRMP-1221 adding to depends_on * PRMP-1221 - make terraform log in debug mode in github workflows * PRMP-1221 - make terraform log in debug mode in github workflows * PRMP-1221 - remove comments * PRMP-1221 specify the workspace in the lambda name * PRMP-1221 - resolve ARN error * PRMP-1221 - resolve ARN error * PRMP-1221 - resolve ARN error * PRMP-1221 - resolve ARN error * PRMP-1221 - resolve ARN error * PRMP-1221 - resolve ARN error * PRMP-1221 make outputs for debugging * PRMP-1221 undo some changes * PRMP-1221 fix MalformedPolicyDocument: Resource must be in ARN format or "*". * PRMP-1221 fix MalformedPolicyDocument: Resource must be in ARN format or "*". * PRMP-1221 make pre-commit * PRMP-1221 undo main change * PRMP-1221 try with out additional_policy_arns * PRMP-1221 try with out additional_policy_arns * PRMP-1221 try with out additional_policy_arns * PRMP-1221 try with out additional_policy_arns * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 remove all additional_policy_arns and pass them in docs * PRMP-1221 replace all arns in docs to json * PRMP-1221 replace all arns in docs to json * PRMP-1221 is an invalid ARN error * PRMP-1221 is an invalid ARN error * PRMP-1221 is an invalid ARN error * PRMP-1221 is an invalid ARN error * PRMP-1221 is an invalid ARN error * PRMP-1221 is an invalid ARN error * PRMP-1221 is an invalid ARN error * PRMP-1221 is an invalid ARN error * [PRMP-1221] - Removed comments and madea a couple small changes * [PRMP-1221] - Added some test policy json outputs to try and consolidate types * [PRMP-1221] - Added some test policy json outputs to try and consolidate types * PRMP-1221 undo a change causing errors * PRMP-1221 format * PRMP-1221 comment out non document polcies * PRMP-1221 fix MalformedPolicyDocument: Resource must be in ARN format or * * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 Syntax errors in policy. * PRMP-1221 bring back some of the commented out policies * PRMP-1221 bring back some of the commented out policies * PRMP-1221 bring back some of the commented out policies * PRMP-1221 bring back some of the commented out policies * PRMP-1221 remove unused code * PRMP-1221 remove debug env variables * PRMP-1221 increase lambda memory etc * PRMP-1221 format * PRMP-1221 remove lambda_timeout * PRMP-1221 add line * PRMP-1221 format * PRMP-1221 limit exceed error fix * PRMP-1221 limit exceed error fix * PRMP-1221 limit exceed error fix * PRMP-1221 limit exceed error fix * PRMP-1221 limit exceed error fix * PRMP-1221 limit exceed error fix * PRMP-1221 move variable into variable.tf * PRMP-1221 merge main in * PRMP-1221 change to data block * PRMP-1221 change to data block * PRMP-1221 comment out dependancies as a test * PRMP-1221 fix github workflow for manual destroy * PRMP-1221 remove dependencies * PRMP-1221 remove unused outputs and resources * PRMP-1221 remove format * PRMP-1221 bring back s3_document_data_policy * PRMP-1221 format * PRMP-1221 rename lambda_combined_policy to combined_policies * PRMP-1221 format --------- Co-authored-by: NogaNHS <noga.sasson1@nhs.net> Co-authored-by: Jack Sutton <jack.sutton@madetech.com> Co-authored-by: Ollie Beumkes <oliver.beumkes2@nhs.net>
- Loading branch information
1 parent
789d508
commit 94cdf38
Showing
41 changed files
with
399 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.