Skip to content

Commit

Permalink
Passing the label context to regional module (#30)
Browse files Browse the repository at this point in the history
In the last change I did not add passing the
label context to the regional module which
causes the IAM role to have a name of
-iam_for_lambda rather than adding the further
context to make sure it is unique per
environment.
  • Loading branch information
lazzurs committed Jul 15, 2020
1 parent 27d2378 commit 98cc998
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,5 @@ resource "aws_iam_policy" "beanstalk_policy" {
module "regional" {
source = "./modules/regional"
autospotting_lambda_arn = module.aws_lambda_function.arn
label_context = module.label.context
}

0 comments on commit 98cc998

Please sign in to comment.