Wrap paragon APIs with terraform resources - provider is available at https://registry.terraform.io/providers/arielb135/paragon
Important: This is not an official provider and is not supported by Paragon. This provider is maintained by the community and is not officially supported by HashiCorp. The APIs used by this provider are not officially supported by Paragon and may change at any time.
Local development
In order to build the provider locally, just run go install .
and the provider will be installed into your $GOPATH/bin
directory.
In order to test it, first update your .terraformrc
file to include the following:
provider_installation {
dev_overrides {
"arielb135/paragon" = "YOUR_GO_PATH_BIN_DIRECTORY"
}
direct {}
}
Then you may test any terraform code you'd like, and the local binary will be used:
terraform {
required_providers {
paragon = {
source = "arielb135/paragon"
version = "1.0.1"
}
}
}
provider "paragon" {
username = "your_email"
password = "your_password"
}
# Read your organization to get it by name.
data "paragon_organization" "my_org" {
name = "my_paragon_organization"
}