Skip to content

lambda_role ignored by default #744

@rgarrigue

Description

@rgarrigue

Description

I broke my production bumping from v7 to v8 as I didn't saw that lambda_role is ignored now, due to

role = var.create_role ? aws_iam_role.lambda[0].arn : var.lambda_role

That's my bad for not paying attention. And my bad for not strong-arming my dev to have a dev env for this event if they don't want to.

But maybe could be documented a bit more, like in the lambda_role description, or if possible an assert to block the combination of create_role = true && lambda_role != ""

Versions

  • Module version [Required]: 8.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions