@@ -12,25 +12,19 @@ Waypoint Template resource
1212## Example Usage
1313
1414``` terraform
15- resource "tfe_project" "example" {
16- name = "waypoint-build-destination"
17- organization = var.org_name
18- }
19-
20- data "tfe_registry_module" "example" {
21- organization = var.org_name
22- name = "my-nocode-example-module"
23- module_provider = "aws"
24- }
25-
26- resource "hcp_waypoint_template" "example" {
27- name = "example-aws-template"
28- summary = "AWS waypoint deployment."
29- description = "Deploys a nocode module."
30- terraform_project_id = tfe_project.example.id
31- labels = ["pets"]
32- terraform_no_code_module_source = data.tfe_registry_module.example.no_code_module_source
33- terraform_no_code_module_id = data.tfe_registry_module.example.no_code_module_id
15+ resource "hcp_waypoint_template" "template" {
16+ name = "go-k8s-microservice"
17+ summary = "A simple Go microservice running on Kubernetes."
18+ description = <<EOF
19+ This template deploys a simple Go microservice to Kubernetes. The microservice
20+ is a simple HTTP server that listens on port 8080 and returns a JSON response.
21+ The template includes a Dockerfile, Kubernetes manifests, and boiler plate code
22+ for a gRPC service written in Go.
23+ EOF
24+ terraform_project_id = "prj-123456"
25+ labels = ["go", "kubernetes"]
26+ terraform_no_code_module_source = "private/fake-org/go-k8s-microservice/kubernetes"
27+ terraform_no_code_module_id = "nocode-123456"
3428 variable_options = [
3529 {
3630 name = "resource_size"
0 commit comments