Skip to content

dedalus-labs/terraform-provider-dedalus

Dedalus Terraform Provider

The Dedalus Terraform provider provides convenient access to the Dedalus REST API from Terraform.

It is generated with Stainless.

Requirements

This provider requires Terraform CLI 1.0 or later. You can install it for your system on Hashicorp's website.

Usage

Add the following to your main.tf file:

# Declare the provider and version
terraform {
  required_providers {
    dedalus = {
      source  = "stainless-sdks/dedalus"
      version = "~> 0.0.1"
    }
  }
}

# Initialize the provider
provider "dedalus" {
  api_key = "My API Key" # or set PETSTORE_API_KEY env variable
}

# Configure a resource
resource "dedalus_store_order" "example_store_order" {
  id = 10
  complete = true
  pet_id = 1
  quantity = 1
  ship_date = "2019-12-27T18:11:19.117Z"
  status = "placed"
}

Initialize your project by running terraform init in the directory.

Additional examples can be found in the ./examples folder within this repository, and you can refer to the full documentation on the Terraform Registry.

Provider Options

When you initialize the provider, the following options are supported. It is recommended to use environment variables for sensitive values like access tokens. If an environment variable is provided, then the option does not need to be set in the terraform source.

Property Environment variable Required Default value
api_key PETSTORE_API_KEY true

Semantic versioning

This package generally follows SemVer conventions, though certain backwards-incompatible changes may be released as minor versions:

  1. Changes to library internals which are technically public but not intended or documented for external use. (Please open a GitHub issue to let us know if you are relying on such internals.)
  2. Changes that we do not expect to impact the vast majority of users in practice.

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an issue with questions, bugs, or suggestions.

Contributing

See the contributing documentation.

About

The Dedalus Terraform Provider enables Terraform to manage resources on Dedalus Cloud Services

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages