Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 1e5157d

Browse files
committed
single-node-asg: fixup instance-profile module name
1 parent 73516b0 commit 1e5157d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/single-node-asg/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ locals {
3838
}
3939

4040
# Create an IAM Instance profile we can use on EC2, associated with the ASG
41-
module "instance_profile" {
41+
module "instance-profile" {
4242
source = "../iam-instance-profile"
4343
name_prefix = local.name_prefix_with_az
4444
}

modules/single-node-asg/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ output "asg_name" {
44
}
55

66
output "asg_iam_role_name" {
7-
value = module.instance_profile.iam_role_name
7+
value = module.instance-profile.iam_role_name
88
description = "`name` exported from the Service Data `aws_iam_role`"
99
}
1010

0 commit comments

Comments
 (0)