Skip to content

Chapter 2, 3rd Edition: one-webserver ended up with 2 running instances #90

@mnguyen92646

Description

@mnguyen92646

Chapter 2, 3rd Edition:
Finished one-server, added a custom tag, tf applied okay

In the next section, one-webserver, the book examples show that it should destroy the old instance so that it can build a new one and run the EOF userdata section, but tf plan and apply ended up creating a 2nd instance instead of doing anything with the existing instance.

Not sure if it is user error (certainly not ruling that out as i'm just starting to learn), but I don't think I strayed from the book.

Console output in next comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions