GitXplorerGitXplorer
M

terraform-provider-zfs

public
4 stars
2 forks
0 issues

Commits

List of commits on branch main.
Verified
82174d37106317d44e2e4244f6a0c372e3ac89d2

Merge pull request #3 from MaienM/main

MMathiasPius committed 2 years ago
Verified
bc23433c368dbb2225d4037bfc111fcb92edad2b

Proper shell escaping for property names/values

MMaienM committed 2 years ago
Verified
be0521e8446ba9a957a59074b492e2b8ea13eebc

Fix pool creation with device blocks

MMaienM committed 2 years ago
Verified
e11beb8ca654233a1adf18a3f6f274e5aa538004

Fix module name

MMaienM committed 2 years ago
Verified
e7fc45303ad571f670c90fbcf9d5815f2dc22b6b

Implement zfs/zpool property management & access

MMaienM committed 2 years ago
Verified
348fa22d5fa9e7f8eff28d50fa5ef574416b92e7

Merge pull request #4 from MathiasPius/fix-property-configuration

MMathiasPius committed 2 years ago

README

The README file for this repository.

ZFS Terraform Provider.

This is an absolutely zero-guarantee provider. It's primarily used by myself to manage ZFS datasets on a server I own, and therefore the functionality included is limited to what I actually need myself.

... I also have a profound hatred for Go as a language, so expect absolutely awful code within.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
$ go install

Adding Dependencies

This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.

To add a new dependency github.com/author/dependency to your Terraform provider:

go get github.com/author/dependency
go mod tidy

Then commit the changes to go.mod and go.sum.

Using the provider

Fill this in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc