Skip to content

Commit

Permalink
fix: ref correct index for resource
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtoj committed Sep 22, 2023
1 parent e57e244 commit e7b5d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ locals {
enabled = coalesce(var.enabled, module.this.enabled, true)
name = coalesce(var.name, module.this.name, "idp-${random_string.cognito_userpool_random_suffix.result}")

sms_role_arn = coalesce(var.sms_config.sns_caller_arn, aws_iam_role.sms.arn)
sms_role_arn = coalesce(var.sms_config.sns_caller_arn, aws_iam_role.sms[0].arn)
sms_role_external_id = coalesce(var.sms_config.external_id, random_uuid.sms_role_external_id.result)
}

Expand Down

0 comments on commit e7b5d6e

Please sign in to comment.