Skip to content

docs: Clarify lambda_role is ignored when create_role is true#762

Open
somaz94 wants to merge 1 commit into
terraform-aws-modules:masterfrom
somaz94:docs/clarify-lambda-role-create-role
Open

docs: Clarify lambda_role is ignored when create_role is true#762
somaz94 wants to merge 1 commit into
terraform-aws-modules:masterfrom
somaz94:docs/clarify-lambda-role-create-role

Conversation

@somaz94

@somaz94 somaz94 commented Jul 3, 2026

Copy link
Copy Markdown

The lambda_role variable is silently ignored when create_role is left at its
default (true), because role is wired as
var.create_role ? aws_iam_role.lambda[0].arn : var.lambda_role. A user hit
this on a v7 -> v8 bump and broke production (#744).

This clarifies the lambda_role description so its interaction with create_role
is explicit. It also drops a stray leading space and fixes an "our" -> "your"
typo in the same sentence.

Validation:

  • terraform fmt -check: clean
  • README inputs table row regenerated to match (terraform-docs inject; escaped
    underscores and the existing table-separator style preserved to avoid v0.24
    formatting drift)

related: #744

@somaz94
somaz94 marked this pull request as ready for review July 3, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant