Skip to main content

Check out Port for yourselfย 

Yaml

Yaml is an input used to save object definitions in YAML.

๐Ÿ’ก Common yaml usageโ€‹

The yaml input type can be used to store any key/value based data, for example:

  • Configurations
  • Helm charts
  • Dictionaries/Hash maps
  • Manifests
  • values.yml

API definitionโ€‹

{
"myYamlInput": {
"title": "My yaml input",
"icon": "My icon",
"description": "My yaml input",
"type": "string",
"format": "yaml"
}
}

Check out Port's API reference to learn more.

Terraform definitionโ€‹

resource "port_action" "myAction" {
# ...action properties
user_properties = {
string_props = {
"myYamlInput" = {
title = "My yaml input"
description = "My yaml input"
}
}
}
}