https://github.com/intercloud/terraform-provider-autonomi
Terraform provider for Autonomi platform
https://github.com/intercloud/terraform-provider-autonomi
intercloud terraform terraform-provider
Last synced: about 1 month ago
JSON representation
Terraform provider for Autonomi platform
- Host: GitHub
- URL: https://github.com/intercloud/terraform-provider-autonomi
- Owner: intercloud
- License: mpl-2.0
- Created: 2024-07-10T07:27:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T21:46:31.000Z (over 1 year ago)
- Last Synced: 2025-06-20T14:40:02.991Z (11 months ago)
- Topics: intercloud, terraform, terraform-provider
- Language: Go
- Homepage: https://registry.terraform.io/providers/intercloud/autonomi
- Size: 216 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
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](https://docs.autonomi-platform.com/docs/legal) must be accepted to be able to deploy resources.
Usage:
```terraform
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:
```terraform
provider "autonomi" {
terms_and_conditions = true
}
```
```bash
export AUTONOMI_PAT=
export AUTONOMI_HOST_URL=
export AUTONOMI_CATALOG_URL=
terraform plan
```