Skip to content

Inconsistent Key Naming for IACM workspace.yaml file between docs/code #95

Description

@sawka-harness

The docs have a different naming scheme vs the code for the workspace.yaml file. the docs mention "org", "project", and "workspace", but the code uses "_id" on those names.

https://developer.harness.io/docs/infra-as-code-management/cli-commands/cli-iacm-plan/
Image

from the code:

// WorkspaceInfo holds org, project and workspace identifiers from CLI or .harness/workspace.yaml
type WorkspaceInfo struct {
	Org       string `yaml:"org_id"`
	Project   string `yaml:"project_id"`
	Workspace string `yaml:"workspace_id"`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions