Skip to content

Don't require duplicates of custom_lambda_policy #100

@mcbanderson

Description

@mcbanderson

Currently we are requiring a duplicate of the custom_lambda_policy to be passed into both the assume_role module and the sqs_lambda module.

To prevent errors and promote DRY code, we should figure out a way to have this declared once and passed into both modules.

An example of this duplication can be found here:
https://github.com/reflexivesecurity/reflex-aws-s3-bucket-not-encrypted/blob/master/terraform/assume_role/assume_role.tf
https://github.com/reflexivesecurity/reflex-aws-s3-bucket-not-encrypted/blob/master/terraform/sqs_lambda/sqs_lambda.tf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions