https://github.com/lifememoryteam/tfstatediff
Compare the tfstate before apply and the tfstate after apply, and comment the instance name and ip address in the github pull request.
https://github.com/lifememoryteam/tfstatediff
droneci sakura-cloud tfstate
Last synced: 12 months ago
JSON representation
Compare the tfstate before apply and the tfstate after apply, and comment the instance name and ip address in the github pull request.
- Host: GitHub
- URL: https://github.com/lifememoryteam/tfstatediff
- Owner: lifememoryteam
- Created: 2019-10-02T09:49:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T05:00:29.000Z (over 6 years ago)
- Last Synced: 2025-03-25T15:52:12.876Z (over 1 year ago)
- Topics: droneci, sakura-cloud, tfstate
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tfstatediff
Compare the tfstate before apply and the tfstate after apply, and comment the instance name and ip address in the github pull request.
:warning: **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"
```