From b7f8cb246468a18da4760b4c871853a7a6466f50 Mon Sep 17 00:00:00 2001 From: Benoit Blais Date: Tue, 11 Nov 2025 16:17:18 -0500 Subject: [PATCH 1/3] add_on to template --- main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.tf b/main.tf index 8b13857..7658c50 100644 --- a/main.tf +++ b/main.tf @@ -56,4 +56,10 @@ resource "hcp_waypoint_add_on_definition" "this" { variable_type = "string" } ] +} + +resource "hcp_waypoint_add_on" "this" { + application_id = hcp_waypoint_template.this.id + definition_id = hcp_waypoint_add_on_definition.this.id + name = "HCPTerraformWorkspace" } \ No newline at end of file From 6c77acb453313727d3ae8e628eb31b965e3d3084 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 11 Nov 2025 21:18:11 +0000 Subject: [PATCH 2/3] terraform-docs: automated action --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9a19c2f..e6234d4 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,7 @@ Default: The following resources are used by this module: +- [hcp_waypoint_add_on.this](https://registry.terraform.io/providers/hashicorp/hcp/0.110.0/docs/resources/waypoint_add_on) (resource) - [hcp_waypoint_add_on_definition.this](https://registry.terraform.io/providers/hashicorp/hcp/0.110.0/docs/resources/waypoint_add_on_definition) (resource) - [hcp_waypoint_template.this](https://registry.terraform.io/providers/hashicorp/hcp/0.110.0/docs/resources/waypoint_template) (resource) - [tfe_project.add_on_project](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/project) (data source) From 79b7f344d982a7ac62f26052d2b191b8a530575d Mon Sep 17 00:00:00 2001 From: Benoit Blais Date: Tue, 11 Nov 2025 16:19:01 -0500 Subject: [PATCH 3/3] update readme --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index e6234d4..b701bde 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ -# HCPWaypoint-RepositoriesFactory -Code to provision and manage HCP Waypoint for Repositories Factory using Terraform code (IaC). - # HCP Waypoint Repositories Factory