Skip to content

Instantly share code, notes, and snippets.

@pkutaj
Created October 5, 2023 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkutaj/2dc221f3b583f208714deb86ced94961 to your computer and use it in GitHub Desktop.
Save pkutaj/2dc221f3b583f208714deb86ced94961 to your computer and use it in GitHub Desktop.
TF1-04.08-Working-with-State-Data2.md
STEP CONFIG_FILE STATE_FILE TARGET_ENV(AWS)
manual aws_instance.nginx aws_instance.nginx = id-314122 destroy > no resource
apply #1 aws_instance.nginx aws_instance.nginx = id-314122 add > id-8675366
apply #2 aws_instance.nginx change > aws_instance.nginx = id-8675366 id-8675366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment