Skip to content

Compare the tfstate before apply and the tfstate after apply, and comment the instance name and ip address in the github pull request.

Notifications You must be signed in to change notification settings

lifememoryteam/tfstatediff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tfstatediff

Compare the tfstate before apply and the tfstate after apply, and comment the instance name and ip address in the github pull request.

⚠️ ci supports only drone and cloud supports only sakura cloud

How to use

tfstatediff -old terraform.tfstate.old -new terraform.tfstate.new -conf ./example.yml

Settings

Please change repository owner adn name.

---
ci: drone
notifier:
  github:
    token: $GITHUB_TOKEN
    repository:
      owner: "ak1ra24"
      name: "tfstatediff"

About

Compare the tfstate before apply and the tfstate after apply, and comment the instance name and ip address in the github pull request.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages