terraform-provider-autonomi

command module
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

README

Terraform Provider Autonomi

Use the Autonomi provider to interact with the many resources supported by Autonomi. You must configure the provider with the proper credential before you can use it.

Example Usage

terraform {
  required_providers {
    autonomi = {
      source = "intercloud/autonomi"
    }
  }
}

provider "autonomi" {
  terms_and_conditions = true
}

resource "autonomi_workspace" "workspace_test" {
  name = "Workspace created with Terraform"
  description = "from autonomi with <3"
}

Authentication and Configuration

Configuration for the Autonomi Provider can be derived from several sources, which are applied in the following order:

  1. Parameters in the provider configuration
  2. Environment variables
Provider configuration

Access can be allowed by adding a personal access token to the autonomi provider block. The terms and conditions must be accepted to be able to deploy resources.

Usage:

provider "autonomi" {
  terms_and_conditions = true
  personal_access_token = "my-personnal-access-token"
}
Environment Variables

Access can be allowed by using the AUTONOMI_PAT environment variables. For a local usage the variables AUTONOMI_HOST_URL and AUTONOMI_CATALOG_URL must also be set.

For example:

provider "autonomi" {
  terms_and_conditions = true
}
export AUTONOMI_PAT=<my-personal-access-token>
export AUTONOMI_HOST_URL=<autonomi-api-url>
export AUTONOMI_CATALOG_URL=<autonomi-catalog-url>
terraform plan

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
external
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL