Skip to content

Commit

Permalink
improve role name
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengaDev committed Jun 3, 2024
1 parent 57a1d15 commit c933e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "secrets_manager" {

module "lambda_role" {
source = "./modules/role"
role_name = local.api_triggered_function_name
role_name = "${local.resource_name_pattern}-role"
store_secret_in_secrets_manager = var.store_secret_in_secrets_manager
secrets_arns = var.store_secret_in_secrets_manager ? module.secrets_manager[0].secrets_arns : []
tags = var.tags
Expand Down

0 comments on commit c933e4a

Please sign in to comment.