From 2f460799c98394fa0796f8062d3bb36c88c0524f Mon Sep 17 00:00:00 2001 From: Patrick de Ruiter Date: Tue, 22 Jun 2021 23:42:43 +0200 Subject: [PATCH] Changed count index, made a boo boo --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 5aa81e2..96a473e 100644 --- a/main.tf +++ b/main.tf @@ -64,7 +64,7 @@ data "template_file" "user_data" { resource "aws_eip" "this" { vpc = true - instance = aws_instance.instance.id[0] + instance = aws_instance.instance[0].id } resource "aws_network_interface" "interface" {