Changed count index, made a boo boo
This commit is contained in:
parent
8a5f158873
commit
2f460799c9
2
main.tf
2
main.tf
@ -64,7 +64,7 @@ data "template_file" "user_data" {
|
|||||||
|
|
||||||
resource "aws_eip" "this" {
|
resource "aws_eip" "this" {
|
||||||
vpc = true
|
vpc = true
|
||||||
instance = aws_instance.instance.id[0]
|
instance = aws_instance.instance[0].id
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_network_interface" "interface" {
|
resource "aws_network_interface" "interface" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user