Skip to content

Commit

Permalink
Fix CICD lambda permissions (#1353)
Browse files Browse the repository at this point in the history
* fix: lambda permissions arn

* docs: added changeset
  • Loading branch information
christian-calabrese authored Feb 25, 2025
1 parent 47201b9 commit ba335c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/perfect-kiwis-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"infrastructure": patch
---

Fixed codebuild cicd lambda permissions
2 changes: 1 addition & 1 deletion apps/infrastructure/src/modules/cicd/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "aws_iam_policy" "deploy_website" {
Action = [
"lambda:*",
]
Resource = ["arn:aws:lambda:${var.aws_region}:${data.aws_caller_identity.current.account_id}:function/*chatbot*"]
Resource = ["arn:aws:lambda:${var.aws_region}:${data.aws_caller_identity.current.account_id}:function:*chatbot*"]
}
]
})
Expand Down

0 comments on commit ba335c4

Please sign in to comment.