Skip to content

Commit

Permalink
updated with old release
Browse files Browse the repository at this point in the history
  • Loading branch information
themaniskshah committed Sep 7, 2021
1 parent 2b6502b commit fbf2b79
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 @@ -39,7 +39,7 @@ resource "aws_instance" "default" {
host_id = var.host_id
cpu_core_count = var.cpu_core_count
user_data = var.user_data != "" ? base64encode(file(var.user_data)) : ""
iam_instance_profile = var.instance_profile_count == "" ? join("", aws_iam_instance_profile.default.*.name) : var.instance_profile
iam_instance_profile = var.instance_profile_enabled == true ? join("", aws_iam_instance_profile.default.*.name) : var.instance_profile
source_dest_check = var.source_dest_check
ipv6_address_count = var.ipv6_address_count
ipv6_addresses = var.ipv6_addresses
Expand Down

0 comments on commit fbf2b79

Please sign in to comment.