Wrap paragon APIs with terraform resources - provider is available at https://registry.terraform.io/providers/jitsecurity/paragon
was written mostly with the help of Claude.ai
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.
In order to build the provider locally, just run go install . and the provider will be installed into your $GOPATH/bin directory.
You can also run this command GOBIN=YOUR_GO_PATH_BIN_DIRECTORY go install .
In order to test it, first update your .terraformrc file to include the following:
provider_installation {
dev_overrides {
"jitsecurity/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 = "jitsecurity/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"
}