Skip to content

Instantly share code, notes, and snippets.

@jayers99
Last active December 5, 2018 20:08
Show Gist options
  • Save jayers99/b9c36d78119771ada265cfdc5ac77398 to your computer and use it in GitHub Desktop.
Save jayers99/b9c36d78119771ada265cfdc5ac77398 to your computer and use it in GitHub Desktop.
# Terraform State Move - Refactoring Terraform Against Existing Infrastructure
# https://ryaneschinger.com/blog/terraform-state-move/
terraform state mv aws_security_group.old_name aws_security_group.new_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment