Skip to content

Commit

Permalink
fix: broken blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-geller committed Nov 18, 2024
1 parent 32dfb61 commit cc14375
Showing 1 changed file with 44 additions and 50 deletions.
94 changes: 44 additions & 50 deletions request-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ tasks:
extend:
title: Use conditional inputs to request compute resources and wait for approval
description: "This flow shows how to use conditional inputs to build dynamic
description: |
This flow shows how to use conditional inputs to build dynamic
approval workflows. The workflow takes user input and sends those in a Slack
message for approval — the execution is paused until manually resumed.
Expand All @@ -139,56 +140,49 @@ extend:
namespace: company.team
tasks:
\ - id: access_permissions
\ type: io.kestra.plugin.core.kv.Set
\ key: \"{{ task.id }}\"
\ kvType: JSON
\ value: |
\ [\"Admin\", \"Developer\", \"Editor\", \"Launcher\", \"Viewer\"]
\
\ - id: saas_applications
\ type: io.kestra.plugin.core.kv.Set
\ key: \"{{ task.id }}\"
\ kvType: JSON
\ value: |
\ [\"Slack\", \"Notion\", \"HubSpot\", \"GitHub\", \"Jira\"]
\
\ - id: development_tools
\ type: io.kestra.plugin.core.kv.Set
\ key: \"{{ task.id }}\"
\ kvType: JSON
\ value: |
\ [\"Cursor\", \"IntelliJ IDEA\", \"PyCharm Professional\",
\"Datagrip\"]
\
\ - id: cloud_vms
\ type: io.kestra.plugin.core.kv.Set
\ key: \"{{ task.id }}\"
\ kvType: JSON
\ value: |
\ {
\ \"AWS\": [\"t2.micro\", \"t2.small\", \"t2.medium\", \"t2.large\"],
\ \"GCP\": [\"f1-micro\", \"g1-small\", \"n1-standard-1\",
\"n1-standard-2\"],
\ \"Azure\": [\"Standard_B1s\", \"Standard_B1ms\", \"Standard_B2s\",
\"Standard_B2ms\"]
\ }
\
\ - id: cloud_regions
\ type: io.kestra.plugin.core.kv.Set
\ key: \"{{ task.id }}\"
\ kvType: JSON
\ value: |
\ {
\ \"AWS\": [\"us-east-1\", \"us-west-1\", \"us-west-2\",
\"eu-west-1\"],
\ \"GCP\": [\"us-central1\", \"us-east1\", \"us-west1\",
\"europe-west1\"],
\ \"Azure\": [\"eastus\", \"westus\", \"centralus\",
\"northcentralus\"]
\ }
- id: access_permissions
type: io.kestra.plugin.core.kv.Set
key: "{{ task.id }}"
kvType: JSON
value: |
["Admin", "Developer", "Editor", "Launcher", "Viewer"]
- id: saas_applications
type: io.kestra.plugin.core.kv.Set
key: "{{ task.id }}"
kvType: JSON
value: |
["Slack", "Notion", "HubSpot", "GitHub", "Jira"]
- id: development_tools
type: io.kestra.plugin.core.kv.Set
key: "{{ task.id }}"
kvType: JSON
value: |
["Cursor", "IntelliJ IDEA", "PyCharm Professional", "Datagrip"]
- id: cloud_vms
type: io.kestra.plugin.core.kv.Set
key: "{{ task.id }}"
kvType: JSON
value: |
{
"AWS": ["t2.micro", "t2.small", "t2.medium", "t2.large"],
"GCP": ["f1-micro", "g1-small", "n1-standard-1", "n1-standard-2"],
"Azure": ["Standard_B1s", "Standard_B1ms", "Standard_B2s", "Standard_B2ms"]
}
- id: cloud_regions
type: io.kestra.plugin.core.kv.Set
key: "{{ task.id }}"
kvType: JSON
value: |
{
"AWS": ["us-east-1", "us-west-1", "us-west-2", "eu-west-1"],
"GCP": ["us-central1", "us-east1", "us-west1", "europe-west1"],
"Azure": ["eastus", "westus", "centralus", "northcentralus"]
}
```
\ "
tags:
- Inputs
- If
Expand Down

0 comments on commit cc14375

Please sign in to comment.