Skip to content

Commit fbf2b79

Browse files
committed
updated with old release
1 parent 2b6502b commit fbf2b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ resource "aws_instance" "default" {
3939
host_id = var.host_id
4040
cpu_core_count = var.cpu_core_count
4141
user_data = var.user_data != "" ? base64encode(file(var.user_data)) : ""
42-
iam_instance_profile = var.instance_profile_count == "" ? join("", aws_iam_instance_profile.default.*.name) : var.instance_profile
42+
iam_instance_profile = var.instance_profile_enabled == true ? join("", aws_iam_instance_profile.default.*.name) : var.instance_profile
4343
source_dest_check = var.source_dest_check
4444
ipv6_address_count = var.ipv6_address_count
4545
ipv6_addresses = var.ipv6_addresses

0 commit comments

Comments
 (0)