https://github.com/magodo/terrafactor
A refactoring tool for Terraform
https://github.com/magodo/terrafactor
refactor terraform tool
Last synced: 1 day ago
JSON representation
A refactoring tool for Terraform
- Host: GitHub
- URL: https://github.com/magodo/terrafactor
- Owner: magodo
- License: mit
- Created: 2020-10-28T06:34:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-17T01:52:32.000Z (over 5 years ago)
- Last Synced: 2025-10-04T23:34:49.928Z (7 months ago)
- Topics: refactor, terraform, tool
- Language: Go
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🚧 This is very much WIP, do not use in production. 🚧
# Terrafactor
Terrafactor is a refactor tool for Terraform configurations.
## Install
Before Go v1.16:
```bash
$ go get github.com/magodo/terrafactor
```
Since Go v1.16:
```bash
$ go install github.com/magodo/terrafactor
```
## TODO
- [ ] Input Variable: Rename name (**cross modules**)
- [ ] Input Variable: Rename attribute for complex type (**cross modules**)
- [ ] Output Variable: Rename name (**cross modules**)
- [ ] Output Variable: Rename attribute for complex type (**cross modules**)
- [ ] Local Variable: Rename name
- [ ] Local Variable: Rename attribute for complex type
- [ ] Data/Managed Resource: Rename attribute/block name in complex expression (e.g. covering `Traversal` component of a `RelativeTraversalExpr`, `FunctionCallExpr`, etc)