Skip to content

v0.3.6

Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 08 Jun 00:34
· 43 commits to refs/heads/main since this release
12fca4e

πŸš€ Enhancements

patch: Fix lambda role logic @jamengual (#18)

what

  • Fix logic in iam_role policy attachment.

why

  • because is fails with :
β”‚ 
β”‚   on .terraform/modules/sample_lambda.lambda_function/iam-role.tf line 35, in resource "aws_iam_role_policy_attachment" "vpc_access":
β”‚   35:   count = local.enabled && try(length(var.vpc_config), 0) > 0 ? 1 : 0
β”‚ 
β”‚ The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created. To work around this, use the -target argument to first apply only the resources that the count depends on.```
</details>