An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


License: MIT
GitHub Actions workflow status
Follow me on Twitter

🚧 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)