Skip to content

Commit

Permalink
More specificity in lambda naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Tohaker committed Feb 13, 2023
1 parent d15e73d commit ed99227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/terraform/development/stepfunctions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_iam_role" "iam_for_sfn" {
name = "iam_for_sfn"
name = "${var.app_name}-iam_for_sfn"

assume_role_policy = jsonencode({
Version = "2012-10-17",
Expand Down
2 changes: 1 addition & 1 deletion packages/terraform/lambda/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_iam_policy" "lambda_logging" {
name = "${var.function_name}-lambda-logging"
name = "${var.app_name}-${var.function_name}-lambda-logging"
path = "/"
description = "IAM policy for logging from a lambda"

Expand Down

0 comments on commit ed99227

Please sign in to comment.