Skip to content

Commit

Permalink
Merge pull request #100 from silinternational/develop
Browse files Browse the repository at this point in the history
add idp_name to db-backup IAM role to avoid naming conflict
  • Loading branch information
briskt authored Apr 27, 2020
2 parents 6703794 + c46de70 commit c528843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/032-db-backup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ data "template_file" "task_def_backup" {
* Create role for scheduled running of cron task definitions.
*/
resource "aws_iam_role" "ecs_events" {
name = "ecs_events-${var.app_name}-${var.app_env}"
name = "ecs_events-${var.idp_name}-${var.app_name}-${var.app_env}"

assume_role_policy = <<EOF
{
Expand Down

0 comments on commit c528843

Please sign in to comment.