https://github.com/enthought/terraform-provider-jumpcloud
Default Repo description from terraform module
https://github.com/enthought/terraform-provider-jumpcloud
Last synced: 10 months ago
JSON representation
Default Repo description from terraform module
- Host: GitHub
- URL: https://github.com/enthought/terraform-provider-jumpcloud
- Owner: enthought
- License: mit
- Created: 2019-01-28T21:35:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-04T10:26:22.000Z (almost 3 years ago)
- Last Synced: 2025-05-17T01:11:13.733Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 3.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JumpCloud Terraform Provider
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 0.13+
- [Go](https://golang.org/doc/install) 1.20
## Building The Provider
Clone repository to: `$GOPATH/src/github.com/enthought/terraform-provider-jumpcloud`
```sh
mkdir -p $GOPATH/src/github.com/enthought
cd $GOPATH/src/github.com/enthought
git clone git@github.com:enthought/terraform-provider-jumpcloud
```
Enter the provider directory and build the provider
```sh
cd $GOPATH/src/github.com/enthought/terraform-provider-jumpcloud
make build
```
## Releasing the provider
Use goreleaser
```
git tag -a $NEW_VERSION -m "REL: release $NEW_VERSION of the jumpcloud provider"
git push --tags
goreleaser release --rm-dist
```
Once done and thoroughly tested, update the `deploy_providers.sh script in the main terraform repository
and deploy the new version to the users.
## Using the provider
If you're building the provider, follow the instructions to [install it as a plugin.](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin) After placing it into your plugins directory, run `terraform init` to initialize it.
The Jumpcloud API key needs to be set before using the provider. It can either be retrieved via the API or through the UI : When selecting a resource, the ID is part of URL.
Export `JUMPCLOUD_API_KEY` to set it.
The Jumpcloud "Organization ID" is optional as only needed for multi-tenant-setups.
Export `JUMPCLOUD_ORG_ID` to set it.