Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waypoint (beta) resources #426

Open
mbevc1 opened this issue Dec 6, 2022 · 5 comments
Open

Waypoint (beta) resources #426

mbevc1 opened this issue Dec 6, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@mbevc1
Copy link

mbevc1 commented Dec 6, 2022

Description

New or Affected Resource(s)

  • Support for HCP Waypoint resources, i.e. projects, runners

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

References

  • #0000

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@mbevc1 mbevc1 added the enhancement New feature or request label Dec 6, 2022
@bcmdarroch
Copy link
Contributor

Thanks for submitting this issue! I've reached out to the Waypoint team with this request.

@bcmdarroch
Copy link
Contributor

We do have a Waypoint provider for managing projects and runners: https://github.com/hashicorp-dev-advocates/terraform-provider-waypoint

You should be able to configure the Waypoint provider with the HCP Waypoint URL and use the token you get when you set up your local CLI context with the flag -server-auth-token.

provider "waypoint" {
  waypoint_addr = "api.hashicorp.cloud:443"
  token         = "..."
}

@mbevc1
Copy link
Author

mbevc1 commented Dec 7, 2022

Awesome, thanks! I'll give that a go 👍 .

@mbevc1
Copy link
Author

mbevc1 commented Feb 12, 2023

Does the token value needs to be hardcoded or coud it be also ingested from ENV or secret store?

@mbevc1
Copy link
Author

mbevc1 commented Feb 12, 2023

Just a slight feedback; I think it would make sense to support Waypoint in this provider similarly to Value, Consul cluster and align it with other HCP resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants