Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Terraform provider for Juju

License

NotificationsYou must be signed in to change notification settings

juju/terraform-provider-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 makeinstall-dependencies target:

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

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

    make install

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

Using the Provider

Please, refer to theTerraform docs for the Juju provider.

Developing the Provider

Please see theDeveloping 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.loggrep"@module=juju.datasource" ./terraform.log

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

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

About

A Terraform provider for Juju

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors36


[8]ページ先頭

©2009-2025 Movatter.jp