# Show workspace Show an individual workspace. Endpoint: GET /iacm/api/orgs/{org}/projects/{project}/workspaces/{identifier} Version: 1.0 Security: x-api-key ## Path parameters: - `org` (string, required) Org is the organisation identifier. Example: "ztq" - `project` (string, required) Project is the project identifier. Example: "spu" - `identifier` (string, required) Identifier is the project identifier. Example: "e5o" ## Header parameters: - `Harness-Account` (string, required) Account is the internal customer account ID. Example: "7" ## Response 200 fields (application/json): - `account` (string, required) Account is the internal customer account ID. Example: "rb" - `associated_template` (object) AssociatedTemplate defines the template details with template_id and version. Example: {"template_id":"m","version":"l"} - `associated_template.template_id` (string) Template ID of the template associated to the Workspace. Example: "m" - `associated_template.version` (string) Version of the template associated to the Workspace. Example: "l" - `backend_locked` (boolean) Defines if the remote backend is locked or not - `budget` (number) define the budget for a specific workspace Example: 0.664712 - `cost_breakdown_json` (string) cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully Example: "c4a2d99bc28d236098a095277b7eb0718d6be068" - `cost_diff_json` (string) cost_diff_json is the identifier to the diff cost file between the previous and current successful executions Example: "c4a2d99bc28d236098a095277b7eb0718d6be068" - `cost_estimation_enabled` (boolean) define if cost estimation operations will be performed in this workspace Example: true - `created` (integer, required) Created is the unix timestamp at which the resource was originally created in milliseconds. Example: 1035692417036009300 - `default_pipelines` (object) List of default pipelines associated with this workspace and any per-workspace overrides. Example: {"Aliquam dolor voluptas quam.":{"project_pipeline":"Architecto quia ut ratione earum impedit sed.","workspace_pipeline":"Quisquam enim rem similique."},"Est quis et.":{"project_pipeline":"Architecto quia ut ratione earum impedit sed.","workspace_pipeline":"Quisquam enim rem similique."}} - `description` (string) Description provides long-form text about the resource. Example: "this is a more detailed explanation of the resource." - `environment_variables` (object, required) list of environment variables configured on the workspace. Example: {"Doloremque tempora dolores sit animi iure blanditiis.":{"created":4167943712779243000,"key":"0s","updated":7113477059707596000,"value":"Minima placeat provident maiores odio officia.","value_type":"secret"}} - `identifier` (string, required) Workspace identifier. Example: "r" - `modules_json` (string) modules_json is the identifier of any modules metadata associated with this workspace Example: "c4a2d99bc28d236098a095277b7eb0718d6be068" - `name` (string, required) Name is the human readable name for the resource. Example: "resource name" - `org` (string, required) Org is the organisation identifier. Example: "3dj" - `project` (string, required) Project is the project identifier. Example: "c5p" - `provider_connector` (string, required) Provider Connector is the reference to the connector for the infrastructure provider. Example: "Animi voluptatem at laboriosam omnis cum." - `provider_connectors` (array) define an array of provider connectors that belong to Workspace Example: [{"connector_ref":"8be","created":1627590400,"id":1417218168821303600,"terragrunt_provider":true,"type":"aws","updated":1627686800,"workspace_id":7475434293435524000},{"connector_ref":"8be","created":1627590400,"id":1417218168821303600,"terragrunt_provider":true,"type":"aws","updated":1627686800,"workspace_id":7475434293435524000},{"connector_ref":"8be","created":1627590400,"id":1417218168821303600,"terragrunt_provider":true,"type":"aws","updated":1627686800,"workspace_id":7475434293435524000},{"connector_ref":"8be","created":1627590400,"id":1417218168821303600,"terragrunt_provider":true,"type":"aws","updated":1627686800,"workspace_id":7475434293435524000}] - `provider_connectors.connector_ref` (string, required) Connector reference in harness platform. Example: "sqm" - `provider_connectors.created` (integer) Timestamp when the connector was created. Example: 1627590400 - `provider_connectors.id` (integer) ID PK for internal uses Example: 351449432820385340 - `provider_connectors.terragrunt_provider` (boolean) Whether this workspace uses terragrunt to provision infrastructure - `provider_connectors.type` (string, required) Type indicates the connector type. Enum: "aws", "azure", "gcp" - `provider_connectors.updated` (integer) Timestamp when the connector was last updated. Example: 1627686800 - `provider_connectors.workspace_id` (integer) Workspace ID FK for internal uses Example: 4363183943609637400 - `providers_json` (string) providers_json is the identifier of any modules metadata associated with this workspace Example: "c4a2d99bc28d236098a095277b7eb0718d6be068" - `provisioner` (string, required) Provisioner defines the provisioning tool to use. Example: "Dolores aliquam deleniti asperiores fuga." - `provisioner_data` (string, required) Example: "Qui asperiores." - `provisioner_version` (string) Provisioner Version defines the tool version to use. Example: "Velit reiciendis et qui." - `prune_sensitive_data` (boolean) prune_sensitive_data is a flag to enable or disable pruning of sensitive data Example: true - `repository` (string) Repository is the name of the repository to use. Example: "Voluptate excepturi omnis mollitia." - `repository_branch` (string) Repository Branch in which the code should be accessed. Example: "main" - `repository_commit` (string) Repository Commit/Tag in which the code should be accessed. Example: "abc10ed" - `repository_connector` (string, required) Repository Connector is the reference to the connector to use for this code. Example: "Molestiae error temporibus." - `repository_path` (string) Repository Path is the path in which the infra code resides. - `repository_sha` (string) Repository SHA in which the code should be accessed. Example: "abc10ed" - `repository_submodules` (string) repository_submodules is the instruction about whether to clone submodules in the pipeline step Enum: "false", "true", "recursive" - `run_all` (boolean) Run-All terragrunt modules. Example: true - `sparse_checkout` (string) List of patterens that will be used for sparse checkout option of git clone Example: "Nihil alias." - `state_checksum` (string) state_checksum is the sha-256 checksum of terraform state file Example: "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f" - `status` (string, required) The status of the workspace Enum: "active", "inactive", "provisioning", "destroying", "failed", "unknown" - `tags` (string, required) Tags associated with the workspace. Example: {"foo":"bar"} - `terraform_plan_json` (string) terraform_plan_json is the identifier to the current state file only in JSON format. Example: "f9e21473daaa2674d862b67a1339f4570e86de17" - `terraform_state` (string) terraform_state is the identifier to the plan file used to create the latest state. Example: "fc1200c7a7aa52109d762a9f005b149abef01479" - `terraform_state_json` (string) terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format. Example: "c4a2d99bc28d236098a095277b7eb0718d6be068" - `terraform_variable_files` (array) define an array of terraform variables files that belong to a different repository Example: [{"repository":"Quia omnis nobis tempore ipsam ea quia.","repository_branch":"main","repository_commit":"abc10ed","repository_connector":"Vitae perferendis incidunt aut assumenda et.","repository_path":"","repository_sha":"abc10ed"},{"repository":"Quia omnis nobis tempore ipsam ea quia.","repository_branch":"main","repository_commit":"abc10ed","repository_connector":"Vitae perferendis incidunt aut assumenda et.","repository_path":"","repository_sha":"abc10ed"}] - `terraform_variables` (object, required) list of terraform variables configured on the workspace. Example: {"Est maiores eligendi nesciunt.":{"created":4167943712779243000,"key":"0s","updated":7113477059707596000,"value":"Minima placeat provident maiores odio officia.","value_type":"secret"}} - `terragrunt_version` (string) Terragrunt Version to use when provisioner is terragrunt. Example: "Provident quibusdam est omnis." - `updated` (integer, required) Modified is the unix timestamp at which the resource was last modified in milliseconds. Example: 4554595841385176600 - `variable_sets` (array) Attached Variable Sets references Example: ["Consectetur consequatur recusandae rem aliquam et.","Qui necessitatibus.","Esse commodi quo at possimus."] ## Response 400 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 401 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 403 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 404 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 408 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 409 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 423 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 499 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 500 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 502 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true