Skip to content

mircea-c/terraform-provider-latitudesh

 
 

Repository files navigation

Latitude.sh Terraform Provider

Requirements for running the provider

Requirements for developing the provider

  • Terraform >= 1.3.x
  • Go >= 1.19.x (to build the provider plugin)

Developing the provider locally

  • Download the latest release for your architecture

Mac

$ mkdir -p ~/.terraform.d/plugins/latitude.sh/iac/latitudesh/[VERSION]/darwin_amd64
$ mv terraform-provider-latitudesh ~/.terraform.d/plugins/latitude.sh/iac/latitudesh/[VERSION]/darwin_amd64

Linux

$ export OS_ARCH="$(go env GOHOSTOS)_$(go env GOHOSTARCH)"
$ mkdir -p ~/.terraform.d/plugins/latitude.sh/iac/latitudesh/[VERSION]/$OS_ARCH

Windows

$ mkdir -p %APPDATA%\terraform.d\plugins\latitude.sh\iac\latitudesh\[VERSION]\[OS_ARCH]
$ # Move the binary to the appropriate subdirectory within your user plugins directory, replacing [OS_ARCH] with your system's OS_ARCH

After installing the provider locally, create a Terraform project and on main.tf replace source with:

source  = "latitude.sh/iac/latitudesh"

Create variables.tf and add your Latitude.sh token. Finally, initialize the project with terraform init

About

Latitude.sh Terraform Provider

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.1%
  • Makefile 0.9%