terraform-provider-geoserver

command module
v0.0.0-...-a1dbac4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

README

Geoserver Terraform Provider

Terraform Registry Version Go Report Card By Camptocamp

This provider adds integration between Terraform and Geoserver.

Requirements

Building The Provider

Download the provider source code

$ go get github.com/camptocamp/terraform-provider-geoserver

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/camptocamp/terraform-provider-geoserver
$ make build

Installing the provider

After building the provider, install it using the Terraform instructions for installing a third party provider.

Example

provider geoserver {
  url = "https://geoserver.example.tld"   # or set $GEOSERVER_URL
  username = "admin"                      # or set $GEOSERVER_USERNAME
  password = "password"                   # or set $GEOSERVER_PASSWORD
  insecure = true
}

resource "geoserver_workspace" "foo" {
  name = "foo"
}

resource "geoserver_datastore" "default" {
  workspace_name = geoserver_workspace.foo.name
  name           = "default"
  type           = "postgis"
  host           = "pgmaster"
  port           = "5432"
  db_name        = "test"
  db_user        = "postgres"
  db_pass        = "postgres"
}

Documentation

The documentation is generated using the Terraform Plugin Doc utility from Hashicorp.

See https://github.com/hashicorp/terraform-plugin-docs on how to install and use it.

  • The examples folder is expected to contain TF files which will be injected in each resource page
  • The templates folder is expected to contain overloads or custom templating for rendering the documentation

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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