x-tags

This module allows you to define tags that you want to applied to all the resources that you are creating.

Syntax Reference


x-tags:

str: value

Alternatively


x-tags:
  • Key: sts Value: <value>

Default tags

CreatedByComposeX: true # Allows you to identify quickly if that resource was created by Compose-X

JSON Schema

x-tags

x-tags.spec.json

x-tags specification

oneOf

type

object

patternProperties

  • [\x20-\x7E]+

type

string

maxLength

256

minLength

0

type

array

items

type

object

properties

  • Key

type

string

maxLength

128

minLength

1

  • Value

type

string

maxLength

256

minLength

0

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "id": "x-tags.spec.json",
  "$id": "x-tags.spec.json",
  "title": "x-tags",
  "description": "x-tags specification",
  "oneOf": [
    {
      "type": "object",
      "patternProperties": {
        "[\\x20-\\x7E]+": {
          "type": "string",
          "minLength": 0,
          "maxLength": 256
        }
      }
    },
    {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "Key",
          "Value"
        ],
        "properties": {
          "Key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "Value": {
            "type": "string",
            "minLength": 0,
            "maxLength": 256
          }
        }
      }
    }
  ]
}