Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbar1/gravity
Terraform dynamic state driver
https://github.com/pbar1/gravity
infrastructure-as-code terraform
Last synced: 6 days ago
JSON representation
Terraform dynamic state driver
- Host: GitHub
- URL: https://github.com/pbar1/gravity
- Owner: pbar1
- Created: 2019-06-16T02:12:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-16T02:34:21.000Z (over 5 years ago)
- Last Synced: 2024-11-29T02:29:56.515Z (2 months ago)
- Topics: infrastructure-as-code, terraform
- Language: Go
- Homepage:
- Size: 9.53 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gravity
Terraform dynamic state-driver
Today in history (Apr 10, 2019): the first photograph of a black hole was released (not pictured)
## Goal
The Terraform binary functions as a barrier that definitions must pass through
in order to be instantiated into real infrastructure, and once this happens
successfully the state is stored remotely. This means the state of the
infrastructure can drift in between runs of the Terraform binary's `apply`
command. In essence, we want to check the current state continuously and take
action to pull the infrastructure back into the desired state. Thus, the name
_Gravity_.## Features
- Continuous scanning of environmental drift from desired state
- Take action to return to desired state
- Create short-lived clone of the infrastructure based on branch (coming soon)## Testing
You can run end-to-end tests using a local Consul cluster for both remote state and as a resource provider. `make consul-config` to start one running in a container.
## TODOs
Tier 0
- Support workspaces in core server logic
- Cache results in in-memory database
- Add a status UI that reads from cacheTier 1
- Check that git path and backend path match
- Check that code complies to `terraform fmt`
- Set _warn_ and _enforce_ modeTier 2
- Prometheus metrics
- Slack notifications
- Terragrunt support
- Watch git branches to spin up short-lived infrastructure