Giter Site home page Giter Site logo

shipa-iac-autowire's Introduction

Shipa IaC Autowire

An example of different IaC Providers e.g Terraform, Crossplane, etc.In these examples the IaC will either spin up a Kubernetes cluster or ingest a kubeconfig depending on maturity.

Example Docs

Can check out the Shipa Documentation to take a look at the different IaC providers.

Shipa Cloud or On-Prem Wiring

Will need to grab your target and API key.

  • Target -> target.shipa.cloud. Head to Settings (click on user icon top right), then General.
  • API Key -> Leverage the Shipa CLI to create one and assign a role. API Key Creation Doc or show the default token.

Run the Terraform Example

Clone or Fork the Project and CD into the the respective folders e.g the /terraform Folder

#Use default token for quick example.
shipa show token
#TF steps. Can wire the .tfvars in the project. 
terraform init
terraform plan  -var-file="env/autowire.tfvars"
terraform apply -var-file="env/autowire.tfvars"

More Info on Terraform

This demo was given by Shipa at HashiTalks days.

More Info on Crossplane

This demo was given by Shipa on a Shipa Webinar.

Improvements / To-Do's

Each project in the README can specify specific improvements. PRs are always welcome.

Globally: Creating a Shipa RBAC role specifically for this. WIP. Will connect to default "shipa-team".

#https://learn.shipa.io/docs/tokens
shipa token create --team shipa-team --id tfprovidertoken
shipa role permission add tfsys cluster framework node app
shipa role assign tfsys tfprovidertoken 

shipa-iac-autowire's People

Contributors

ravilach avatar

Stargazers

 avatar

Watchers

 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.