Skip to content

Commit

Permalink
♻️ Use inline instead of managed policies
Browse files Browse the repository at this point in the history
* Remove unused variable `policy_path`
  • Loading branch information
RafaelWO committed Jan 8, 2025
1 parent ae910d8 commit 06845fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ resource "aws_lambda_function" "this" {
aws_cloudwatch_log_group.lambda,

# Before the lambda is created the execution role with all its policies should be ready
aws_iam_role_policy.additional_inline,
aws_iam_role_policy.additional_json,
aws_iam_role_policy.additional_jsons,
aws_iam_role_policy.async,
aws_iam_role_policy.dead_letter,
aws_iam_role_policy.logs,
aws_iam_role_policy.tracing,
aws_iam_role_policy.vpc,
aws_iam_role_policy_attachment.additional_many,
aws_iam_role_policy_attachment.additional_one,
]
Expand Down

0 comments on commit 06845fe

Please sign in to comment.