terraform-provider-octopusdeploycontrib

command module
v0.0.6 Latest Latest
Warning

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

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

README

Octopus Deploy Terraform Provider

Provider for Octopus Deploy, my little project to learn about Terraform providers.

Original framework readme here.

Developing

You can build the provider and configure Terraform to prefer your local version

# Build and install the provider
go install

# Find where go put the provider binary
GOBIN="$(go env GOPATH)/bin"

# Add the override
cat <<EOF > $HOME/.terraformrc
provider_installation {
  dev_overrides {
    "registry.terraform.io/axatol/octopusdeploycontrib" = "${GOBIN}"
  }

  direct {}
}
EOF

At this point, you can use the provider like so:

terraform {
  required_providers {
    octopusdeploycontrib = {
      source = "registry.terraform.io/axatol/octopusdeploycontrib"
    }
  }
}

provider "octopusdeploycontrib" {}

data "octopusdeploycontrib_project" "test" {}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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