$ ./guess_the_languageDevOps
DevOps · medium · #266

What does the -/+ marker in this plan mean?

-/+ resource "aws_instance" "web" {
      ~ ami = "ami-0a1" -> "ami-0b2" # forces replacement
  1. Update the instance in place
  2. Create a new one, then destroy
  3. Drop it from state, keep it running
  4. Destroy it, then create a new one
-/+ is a replacement where the old object goes first; +/- appears when create_before_destroy builds the new one first, and ~ is an in-place update.
Play DevOps ▸