No description
  • Go 97.1%
  • Makefile 2.6%
  • HCL 0.3%
Find a file
oss-core-libraries-dashboard[bot] 7fae21ab5b
[COMPLIANCE] Update Copyright and License Headers (#83)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-03-26 11:05:32 +05:30
.github limit versions tested for now 2023-06-02 13:39:00 -05:00
.release [COMPLIANCE] Update Copyright and License Headers (#83) 2026-03-26 11:05:32 +05:30
docs go generate 2023-06-02 12:56:44 -05:00
examples go generate 2023-06-02 12:56:44 -05:00
internal [COMPLIANCE] Update Copyright and License Headers (#83) 2026-03-26 11:05:32 +05:30
tools [COMPLIANCE] Update Copyright and License Headers (#83) 2026-03-26 11:05:32 +05:30
.copywrite.hcl add .copywrite.hcl file 2023-05-25 09:49:56 -05:00
.gitignore updated module name 2022-06-01 18:45:43 +01:00
.go-version update to have .go-version and use go 1.19 2023-05-23 10:38:36 -05:00
.goreleaser.yml [COMPLIANCE] Update Copyright and License Headers (#83) 2026-03-26 11:05:32 +05:30
CHANGELOG.md minor update to changelog 2023-05-24 16:38:16 -05:00
go.mod t.Errorf instead of new package 2023-06-01 14:08:35 -05:00
go.sum Basic test and ID for config sourcer 2023-05-26 15:34:35 -05:00
LICENSE Initial commit 2022-05-18 16:20:16 +01:00
main.go [COMPLIANCE] Update Copyright and License Headers (#83) 2026-03-26 11:05:32 +05:30
Makefile combine these files 2023-05-24 16:40:06 -05:00
README.md Update README with deprecation notice. 2024-04-12 15:49:34 -05:00
terraform-registry-manifest.json update to latest protocol version 2023-05-23 09:21:33 -05:00
Waypoint_PrimaryLogo_Color_RGB.png generated provider docs 2022-06-07 13:18:40 +01:00

Boundary Logo

DEPRECATED Please use the official HashiCorp Cloud Platform (HCP) Provider instead.

This provider is deprecated and will no longer be maintained. It originally supported the Waypoint Community Edition, which has been replaced by the HashiCorp Cloud Platform (HCP) Waypoint service.

Terraform Provider Waypoint

Available in the Terraform Registry.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the make install command:
$ make 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

terraform {
  required_providers {
    waypoint = {
      source  = "hashicorp/waypoint"
      version = "0.1.0"
      # latest version by default
      # see the following resources for more information on specific versions:
      # https://github.com/hashicorp/terraform-provider-waypoint/blob/main/CHANGELOG.md
      # https://releases.hashicorp.com/
      # https://github.com/hashicorp/terraform-provider-waypoint/releases
    }
  }
}

provider "waypoint" {
  # if running locally: localhost:9701, 
  # or use WAYPOINT_HOST environment variable 
  # host = ""
  
  # output from `waypoint user token`, 
  # or use WAYPOINT_TOKEN environment variable 
  # token = ""
}

resource "waypoint_project" "example" {

  project_name           = "example"
  remote_runners_enabled = true

  data_source_git {
    git_url                   = "https://github.com/hashicorp/waypoint-examples"
    git_path                  = "docker/go"
    git_ref                   = "HEAD"
    file_change_signal        = "some-signal"
    git_poll_interval_seconds = 15
  }

  app_status_poll_seconds = 12

  project_variables = {
    name       = "devopsrob"
    job        = "dev-advocate"
    conference = "HashiConf EU 2022"
  }

  git_auth_basic {
    username = "test"
    password = "test"
  }
}

NOTE: WAYPOINT_HOST and WAYPOINT_TOKEN may be set as environment variables, and will override the provider host/token set in your terraform configuration.

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