Coder Social home page Coder Social logo

tools's Introduction

Skyscrapers public tools

This repo contains tools some tools that Skyscrapers and/or its customers use. These tools are then published in our Homebrew tap.

Tools

Terraform helper

All our infrastructure is deployed via Terraform. We heavily rely on Terraform for our day-to-day work. So this is a small helper script to make our lives, and those of our customers, a bit easier when running Terraform on our stacks.

These are the main two features of the helper script:

  • full support for Terraform standard stacks, including the ability to run output, state and import commands.
  • automatically load variables and backend config from the customer repository root folder. Usefull to set a common backend config for all customer stacks or when there are some variables common for multiple stacks.

See the description in the script for more information.

You can install it with:

brew tap skyscrapers/tap
brew install tf

Examples:

export TF_STACK_PATH=~/projects/skyscrapers/stacks/kubernetes-stack/eks-cluster
tf init
tf workspace select staging
tf apply
tf output cluster_name
tf import 'foo.bar[\"lorem\"].hello' 'ipsum'
tf state list

Note that it is important to correctly escape the input parameters for import commands.

Releasing

When it's time to release a new version of a tool contained in this repo, you must create a new release in this Github repository, following the Semantic Versioning schema. Then you need to update the Brew manifest of the Homebrew tap. The two values that must be updated in that manifest are url and sha256, which you can get by running:

brew create <the-new-release-archive-url.tar.gz>

tools's People

Contributors

iuriaranda avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.