Skip to content

Commit

Permalink
test: fix missing tasks type
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Aug 18, 2023
1 parent f902743 commit e0fff3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions internal/resources/bigint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ namespace: io.kestra.terraform

tasks:
- id: t1
type: io.kestra.core.tasks.scripts.Bash
commands:
- 'echo "{{ task.id }}"'
type: io.kestra.core.tasks.log.Log
message: "{{ task.id }}"

- id: t2
type: io.kestra.core.tasks.debugs.Return
Expand Down
6 changes: 2 additions & 4 deletions internal/resources/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ namespace: io.kestra.terraform
tasks:
- id: project-iam-extract
description: Extract all iam at the project level
type: io.kestra.core.tasks.scripts.Python
inputFiles:
type: io.kestra.core.tasks.storages.LocalFiles
inputs:
main.py: |
${indent(8, file("/tmp/unit-test/flow.py"))}
requirements:
- request
triggers:
- id: schedule
Expand Down

0 comments on commit e0fff3d

Please sign in to comment.