/unity-cs-manager

Primary LanguageGoApache License 2.0Apache-2.0

GOPROXY=direct go get -u github.com/unity-sds/unity-cs-manager@main

logo

Unity CS Terraform Transformer

Transform and valitate Terraform scripts to run under Unity CS

Terraform Golang Contributor Covenant

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.

Docs/Wiki Issue Tracker

Features

  • Support for mandatory Unity Tags
  • Support for VPC and Subnet injection

Contents

Quick Start

Requirements

Setup Instructions

  1. Grab binary from Packages page.
  2. 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 tom@spicule.co.uk
--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:

@galenatjpl