Updated eip_association example (#6957)
The example is referencing a non-existent variable, `allocation_id`, within the `aws_eip` resource. I believe this should actually be `aws_eip.example.id` instead of `aws_eip.example.allocation_id`.
This commit is contained in:
parent
8c471041a6
commit
13a2538d4b
|
@ -19,7 +19,7 @@ pre-existing or distributed to customers or users and therefore cannot be change
|
|||
```
|
||||
resource "aws_eip_association" "eip_assoc" {
|
||||
instance_id = "${aws_instance.web.id}"
|
||||
allocation_id = "${aws_eip.example.allocation_id}"
|
||||
allocation_id = "${aws_eip.example.id}"
|
||||
}
|
||||
|
||||
resource "aws_instance" "web" {
|
||||
|
|
Loading…
Reference in New Issue