Giter Club home page Giter Club logo

terraform-provider-juju's Introduction

Terraform Provider for Juju

Warning The provider is under active development and will initially support only some Juju functionality. Use releases at your own risk.

The provider can be used to interact with Juju - an open source orchestration engine.

Scope

Today this provider allows you to manage the following via resources:

  • Applications and deploy charms
  • Credentials for existing clouds
  • Integrations
  • Machines
  • Models
  • Model ssh keys
  • Offers
  • Users

and refer to the following via data sources:

  • Machines
  • Models
  • Offers

Note: These features may not have functional parity with the juju CLI at this time.

Requirements

Building The Provider

  1. Clone the repository

  2. Enter the repository directory

  3. Build the provider dependencies using the make install-dependencies target:

    make install-dependencies
  4. Build the provider using the make go-install target:

    make go-install
  5. Install in ~/.terraform.d/plugins with

    make install

Please run make to see other targets available, including formatting, linting and static analysis.

Using the Provider

Please, refer to the Terraform docs for the Juju provider.

Developing the Provider

Please see the Developing wiki

Debugging

To debug, setup environment variables:

export TF_LOG_PROVIDER=TRACE ; export TF_LOG_PATH=./terraform.log

Run your terraform commands.

To find logs specific to the juju provider code:

grep "@module=juju.resource" ./terraform.log
grep "@module=juju.datasource" ./terraform.log

To find logs specific to the juju client talking to juju itself:

grep "@module=juju.client" ./terraform.log

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.