stdlib: added @dagger(input) and @dagger(output) attributes

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-05-26 12:23:44 +02:00
parent 42e91c0a30
commit 7009d01835
19 changed files with 121 additions and 119 deletions

View File

@@ -14,22 +14,22 @@ import (
config: aws.#Config
// Source is the Cloudformation template (JSON/YAML string)
source: string
source: string @dagger(input)
// Stackname is the cloudformation stack
stackName: string
stackName: string @dagger(input)
// Stack parameters
parameters: [string]: _
parameters: [string]: _ @dagger(input)
// Behavior when failure to create/update the Stack
onFailure: *"DO_NOTHING" | "ROLLBACK" | "DELETE"
onFailure: *"DO_NOTHING" | "ROLLBACK" | "DELETE" @dagger(input)
// Timeout for waiting for the stack to be created/updated (in minutes)
timeout: *10 | uint
timeout: *10 | uint @dagger(input)
// Never update the stack if already exists
neverUpdate: *false | bool
neverUpdate: *false | bool @dagger(input)
#files: {
"/entrypoint.sh": #Code
@@ -44,7 +44,7 @@ import (
}
}
outputs: [string]: string
outputs: [string]: string @dagger(output)
outputs: #up: [
op.#Load & {