For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create module example

Endpoint to upload README and Terraform source files for a single example directory of a module version

post
Path parameters
namestringRequired

module name

Example: Maiores et.
systemstringRequired

system name

Example: Natus consequatur quisquam qui tenetur dolorem.
versionstringRequired

version of the module

Example: Eaque dolorem sequi repudiandae distinctio nihil.
Query parameters
scope_orgstringOptional

org name

Example: Doloribus dolor odit.
scope_projectstringOptional

project name

Example: Rem impedit nemo eaque.
pathstring · min: 1 · max: 1024Required

relative path under the module root; must be "examples" or begin with "examples/" (e.g. "examples/eks-auto-mode")

Example: zu0Pattern: ^[a-zA-Z0-9_-][a-zA-Z0-9._/-]*$
Header parameters
Harness-AccountstringRequired

account name

Example: Illo ipsum voluptatem accusantium cum ea.
Content-TypestringRequired

Content-Type header (multipart/form-data with boundary)

Example: Ipsam totam delectus aut eos magni cum.
Content-Lengthinteger · int64Optional

Size in bytes of the multipart body

Example: 6384160890419196000
Responses
201

Created response.

No content

post/api/modules/{name}/{system}/{version}/examples
POST /api/modules/{name}/{system}/{version}/examples?path=zu0 HTTP/1.1
Host: localhost:80
Harness-Account: Illo ipsum voluptatem accusantium cum ea.
Content-Type: Ipsam totam delectus aut eos magni cum.
Accept: */*

No content

Last updated

Was this helpful?