terraform-provider-hirefire

command module
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 3 Imported by: 0

README

Terraform Provider HireFire

This provider is used to configure resources supported by the HireFire API.

Documention at Terraform registry.

Development

go build .

Then, create a .terraformrc file with:

provider_installation {
  dev_overrides {
    "carwow/hirefire" = "<ABSOLUTE-PATH-TO-PROJECT>"
  }
}

Finally, create a main.tf file (see main.tf.example) and call:

terraform init
HIREFIRE_API_KEY=your-key TF_CLI_CONFIG_FILE=.terraformrc terraform apply

Testing

go test -v ./...

In order to run Terraform acceptance tests which will create real resources then create an .env file with:

TF_ACC=on
HIREFIRE_API_KEY=your-key
# The following variables are optional.
# For user data source:
HIREFIRE_TEST_USER_ID=user-id
HIREFIRE_TEST_USER_EMAIL=user-email
# For membership resource:
HIREFIRE_TEST_MEMBERSHIP_USER_ID=another-user-id

and run with:

env $(cat .env) go test -v ./...

or to run tests for a single resource:

env $(cat .env) go test -v ./resources/application

Release

Push a tag for the new version. CircleCI will do the rest.

Contributing

Pull requests are very welcome!

Please report bugs in a new issue.

Everyone is expected to follow the code of conduct.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
resources
testing

Jump to

Keyboard shortcuts

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