|
| 1 | +--- |
| 2 | +# The name of the workflow. |
| 3 | +name: Add an Amazon Redshift resource to the Meroxa Platform |
| 4 | +# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`. |
| 5 | +command: |- |
| 6 | + meroxa resources create {{resource_name}} --type redshift --url "redshift://{{redshift_username}}:{{redshift_password}}@{{redshift_url}}:{{redshift_port}}/{{redshift_db_name}}" |
| 7 | +# Any tags that the workflow should be categorized with. |
| 8 | +tags: |
| 9 | + - meroxa |
| 10 | +# A description of the workflow. |
| 11 | +description: Add an Amazon Redshift resource to the Meroxa Platform |
| 12 | +# List of arguments within the command. |
| 13 | +arguments: |
| 14 | + # Name of the argument within the command. This must exactly match the name of the argument |
| 15 | + # within the command (without the curly braces). |
| 16 | + - name: resource_name |
| 17 | + # The description of the argument. |
| 18 | + description: Name you want to use to identify this resource |
| 19 | + # The default value for the argument. |
| 20 | + default_value: ~ |
| 21 | + - name: redshift_username |
| 22 | + # The description of the argument. |
| 23 | + description: Redshift username |
| 24 | + # The default value for the argument. |
| 25 | + default_value: ~ |
| 26 | + - name: redshift_password |
| 27 | + # The description of the argument. |
| 28 | + description: Redshift password |
| 29 | + # The default value for the argument. |
| 30 | + default_value: ~ |
| 31 | + - name: redshift_url |
| 32 | + # The description of the argument. |
| 33 | + description: Redshift URL |
| 34 | + # The default value for the argument. |
| 35 | + default_value: ~ |
| 36 | + - name: redshift_port |
| 37 | + # The description of the argument. |
| 38 | + description: "Redshift Port (e.g.: 5439)" |
| 39 | + # The default value for the argument. |
| 40 | + default_value: 5439 |
| 41 | + - name: redshift_db_name |
| 42 | + # The description of the argument. |
| 43 | + description: "Redshift Database name" |
| 44 | + # The default value for the argument. |
| 45 | + default_value: ~ |
| 46 | +# The source URL for where the workflow was generated from, if any. |
| 47 | +source_url: "https://docs.meroxa.com/platform/resources/amazon-redshift#setup" |
| 48 | +# The author of the workflow. |
| 49 | +author: Meroxa |
| 50 | +# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page. |
| 51 | +author_url: "https://github.com/meroxa" |
| 52 | +# The valid shells where this workflow should be active. If valid for all shells, this can be left empty. |
| 53 | +# See FORMAT.md for the full list of accepted values. |
0 commit comments