diff --git a/docs/infra-as-code-management/manage-projects/connectors-variables.md b/docs/infra-as-code-management/manage-projects/connectors-variables.md index b1c1f694df5..dc5bb5dc3ea 100644 --- a/docs/infra-as-code-management/manage-projects/connectors-variables.md +++ b/docs/infra-as-code-management/manage-projects/connectors-variables.md @@ -2,6 +2,7 @@ title: Connectors and Variables description: Learn how to configure connectors, environment variables, OpenTofu/Terraform variables, and variable files in your IaCM workspace. sidebar_position: 10 +redirect_from: "/docs/infra-as-code-management/project-setup/input-variables" --- import Tabs from "@theme/Tabs"; diff --git a/docs/infra-as-code-management/workspaces/create-workspace.md b/docs/infra-as-code-management/workspaces/create-workspace.md index 3a1b6c78bda..7810e4ccc46 100644 --- a/docs/infra-as-code-management/workspaces/create-workspace.md +++ b/docs/infra-as-code-management/workspaces/create-workspace.md @@ -12,7 +12,7 @@ A workspace is a named environment that stores Terraform configurations, variabl Users can define a Terraform configuration with multiple workspaces to enforce the same desired configuration. Each workspace creates a different state with its own independent lifecycle. -For example, you can have a single configuration of a Kubernetes cluster and create multiple workspaces out of it, each leading to different clusters. The configuration is unique to each workspace and can be managed through environment or Terraform variables. +For example, you can have a single configuration of a Kubernetes cluster and create multiple workspaces out of it, each leading to different clusters. The configuration is unique to each workspace and can be managed through environment or OpenTofu/Terraform variables. ## Workspace statuses A workspace can have one of the following statuses: @@ -102,4 +102,8 @@ Harness supports workspace cloning for quick setup of new workspaces with the sa -Go to [provision workspace](/docs/infra-as-code-management/workspaces/provision-workspace) to learn how to provision workspaces. \ No newline at end of file +## Workspace templates +Create reuseable workspace templates to standardize your workspace configurations across projects. Go to [workspace templates](/docs/infra-as-code-management/workspaces/workspace-templates) to learn how to create and manage workspace templates. + +## Next step +Once you have created your workspace, by creating a new workspace from scratch, cloning, or using a template, you can [provision](/docs/infra-as-code-management/workspaces/provision-workspace) it to apply your OpenTofu or Terraform state. \ No newline at end of file diff --git a/docs/infra-as-code-management/workspaces/delete-workspace.md b/docs/infra-as-code-management/workspaces/delete-workspace.md index 75e5ef058a5..d9219b62782 100644 --- a/docs/infra-as-code-management/workspaces/delete-workspace.md +++ b/docs/infra-as-code-management/workspaces/delete-workspace.md @@ -7,7 +7,7 @@ sidebar_position: 90 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -In cases where your workspace has become redundant and you no longer need it, you can delete it from your Harness account. As a safeguard, Harness have several confirmation steps to ensure that workspaces aren't mistakenly deleted. +In cases where your workspace has become redundant, and you no longer need it, you can delete it from your Harness account. As a safeguard, Harness has several confirmation steps to ensure that workspaces aren't mistakenly deleted. :::warning Deleting a workspace will remove your workspace, along with it's associated state file from Harness, but will not remove any of your resources. @@ -34,17 +34,17 @@ Resources are only destroyed if you run your workspace through [a destroy pipeli allowfullscreen="allowfullscreen"> - If your workspace already has an `inactive` status, you can delete a workspace via the [Harness API destroy-workspace endpoint](https://apidocs.harness.io/tag/workspaces#operation/workspaces_destroy-workspace). + If your workspace already has an `inactive` status, you can delete a workspace via the [Harness API destroy-workspace endpoint](https://apidocs.harness.io/openapi-merged/workspaces/workspaces_destroy-workspace). ```bash curl -i -X DELETE \ - 'https://app.harness.io/iacm/api/orgs/{org}/projects/{project}/workspaces/{identifier}' \ - -H 'Harness-Account: ' \ - -H 'x-api-key: ' + https://apidocs.harness.io/openapi-merged/iacm/api/orgs/{org_id}/projects/{project_id}/workspaces/{workspace_id} \ + -H 'Harness-Account: {harness_account_id}' \ + -H 'x-api-key: {api_key}' ``` - --- - :::info deactivate workspace - If your workspace is still active, deactivate it before calling the above endpoint with a [destroy-workspace pipeline](/docs/infra-as-code-management/workspaces/destroy-workspaces). - ::: - +--- +:::info deactivate workspace +If your workspace is still active, deactivate it before calling the above endpoint with a [destroy-workspace pipeline](/docs/infra-as-code-management/workspaces/destroy-workspaces). +::: + \ No newline at end of file diff --git a/docs/infra-as-code-management/workspaces/workspace-tempates.md b/docs/infra-as-code-management/workspaces/workspace-templates.md similarity index 96% rename from docs/infra-as-code-management/workspaces/workspace-tempates.md rename to docs/infra-as-code-management/workspaces/workspace-templates.md index eedcd02edc5..044ee8e800b 100644 --- a/docs/infra-as-code-management/workspaces/workspace-tempates.md +++ b/docs/infra-as-code-management/workspaces/workspace-templates.md @@ -44,17 +44,17 @@ The difference between these options is as follows: ## Configure Workspace Templates To configure workspace templates and standardize your workspace setups, follow this interactive guide: - - + + - + - + - + Follow these steps to: - Create and review a new workspace template. diff --git a/docs/internal-developer-portal/environment-management/get-started.md b/docs/internal-developer-portal/environment-management/get-started.md index 6ad12bed333..aee37d2a77a 100644 --- a/docs/internal-developer-portal/environment-management/get-started.md +++ b/docs/internal-developer-portal/environment-management/get-started.md @@ -50,7 +50,7 @@ In this tutorial, we will setup the following resources: In the following steps, we will create an IaCM Workspace template and default pipelines to provision and destroy infrastructure - in this case, a Kubernetes namespace. #### 1. Create a new Workspace Template -We need a **workspace template** to standardize IaCM workspace configurations by predefining essential variables, configuration settings, and other workspace options. Go to [Workspace Templates](/docs/infra-as-code-management/workspaces/workspace-tempates/) to learn more. +We need a **workspace template** to standardize IaCM workspace configurations by predefining essential variables, configuration settings, and other workspace options. Go to [Workspace Templates](/docs/infra-as-code-management/workspaces/workspace-templates/) to learn more. Follow the instructions below to create a new workspace template: 1. Go to Project Settings and under “Project-level Resources”, choose “Templates”. diff --git a/docs/internal-developer-portal/environment-management/overview.md b/docs/internal-developer-portal/environment-management/overview.md index 245531c9eeb..c3235c51a09 100644 --- a/docs/internal-developer-portal/environment-management/overview.md +++ b/docs/internal-developer-portal/environment-management/overview.md @@ -64,7 +64,7 @@ A Component in IDP Catalog represents a service or any other type of software co IaCM Workspace is a container for your infrastructure resources. It integrates IaC code, variables, cloud provider connections, state files, and workflows. In Terraform, each workspace has its own state file, which tracks the status of its managed resources. Go to [Workspaces](/docs/category/workspaces) to learn more. ### Workspace Templates -With IaCM Workspace Templates, you can standardize workspace configurations across your projects by predefining essential variables, configuration settings, and other workspace options. Go to [Workspace Templates](/docs/infra-as-code-management/workspaces/workspace-tempates) to learn more. +With IaCM Workspace Templates, you can standardize workspace configurations across your projects by predefining essential variables, configuration settings, and other workspace options. Go to [Workspace Templates](/docs/infra-as-code-management/workspaces/workspace-templates) to learn more. diff --git a/src/components/Roadmap/data/iacmData.ts b/src/components/Roadmap/data/iacmData.ts index e2b52aa19b3..1450468df2d 100644 --- a/src/components/Roadmap/data/iacmData.ts +++ b/src/components/Roadmap/data/iacmData.ts @@ -14,7 +14,7 @@ export const IacmData: Horizon = { tag: [{ value: "Simplify Onboarding" }], title: "Workspace templates", description: "Users will be able to create Workspaces that will inherit cost, OPA, and other configurations from templates, simplifying onboarding and enforcing best practices", - link: "/docs/infra-as-code-management/workspaces/workspace-tempates", + link: "/docs/infra-as-code-management/workspaces/workspace-templates", }, { tag: [{ value: "Reports & Insights" }],