Skip to main content

Check out Port for yourselfย 

URL

URL is an input used to save links to websites.

๐Ÿ’ก Common url usageโ€‹

The URL input type can be used to store a link to any web resource, for example:

  • Link to Datadog dashboard
  • Link to configuration file
  • Link to pull request

API definitionโ€‹

{
"myUrlInput": {
"title": "My url input",
"icon": "My icon",
"description": "My url input",
"type": "string",
"format": "url",
"default": "https://example.com"
}
}

Check out Port's API reference to learn more.

Terraform definitionโ€‹

resource "port_action" "myAction" {
# ...action properties
user_properties = {
string_props = {
"myUrlInput" = {
title = "My url input"
icon = "My icon"
description = "My url input"
format = "url"
default = "https://example.com"
}
}
}
}