# README
GOPROXY=direct go get -u github.com/unity-sds/unity-cs-manager@main
Unity CS Terraform Transformer
Transform and valitate Terraform scripts to run under Unity CS
The project is designed to allow us to parse Terraform scripts written by developers and ensure they will run inside Unity CS. This includes adding networking information, ensuring mandatory tags are applied and more. Because the developers wont know the network topology of the AWS account the project is being deployed into, they need to be structred in a way that allows us to add this information in at deploy time.
This project parses the scripts, looks up blocks and attributes and makes the required adjustments, adding, removing or appending blocks with the correct information.
Features
- Support for mandatory Unity Tags
- Support for VPC and Subnet injection
Contents
Quick Start
Requirements
- A PC
- Some terraform scripts
- The Unity CS Terraform Transformer Binary
Setup Instructions
- Grab binary from Packages page.
- Open a terminal.
Compiling protobuf
protoc --proto_path=unity-management-console/protobuf --go_out=internal/marketplace/ --go_opt=paths=source_relative config.proto extensions.proto marketplace.proto
Run Instructions
2. $> ./terraform-transformer parser -t tom -p test --creator [email protected]
--venue dev --servicearea cs --capability hysds --capversion 0.0.1
--release G1.0.0 --component python --securityplan 644 --exposed true
--experimental false --userfacing true --critinfra 2 --project testproj
Changelog
See our CHANGELOG.md for a history of our changes.
Contributing
Interested in contributing to our project? Please see our: CONTRIBUTING.md
License
See our: LICENSE
Support
Key points of contact are: