stdlib: added @dagger(input) and @dagger(output) attributes
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
@@ -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 & {
|
||||
|
Reference in New Issue
Block a user