Skip to content

Commit

Permalink
Add support for regional instance profile names
Browse files Browse the repository at this point in the history
  • Loading branch information
avnes committed Sep 18, 2024
1 parent 9fe59ea commit 635225a
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 @@ -10,7 +10,7 @@ resource "aws_instance" "this" {
ami = data.aws_ami.this.id
instance_type = "t3.micro"
subnet_id = data.aws_subnet.selected.id
iam_instance_profile = var.aws_iam_instance_profile
iam_instance_profile = "${var.aws_iam_instance_profile}${local.regional_postfix}"
tags = local.all_tags
}
resource "aws_scheduler_schedule_group" "schedule_group" {
Expand Down

0 comments on commit 635225a

Please sign in to comment.