@@ -20,7 +20,9 @@ import (
|
||||
stackName: string @dagger(input)
|
||||
|
||||
// Stack parameters
|
||||
parameters: [string]: _ @dagger(input)
|
||||
parameters: {
|
||||
...
|
||||
}
|
||||
|
||||
// Behavior when failure to create/update the Stack
|
||||
onFailure: *"DO_NOTHING" | "ROLLBACK" | "DELETE" @dagger(input)
|
||||
@@ -44,7 +46,9 @@ import (
|
||||
}
|
||||
}
|
||||
|
||||
outputs: [string]: string @dagger(output)
|
||||
outputs: {
|
||||
[string]: string @dagger(output)
|
||||
}
|
||||
|
||||
outputs: #up: [
|
||||
op.#Load & {
|
||||
|
@@ -17,7 +17,9 @@ import (
|
||||
taskArn: string @dagger(input)
|
||||
|
||||
// Environment variables of the task
|
||||
containerEnvironment: [string]: string @dagger(input)
|
||||
containerEnvironment: {
|
||||
[string]: string @dagger(input)
|
||||
}
|
||||
|
||||
// Container name
|
||||
containerName: string @dagger(input)
|
||||
|
@@ -19,7 +19,7 @@ import (
|
||||
// kubeconfig is the generated kube configuration file
|
||||
kubeconfig: {
|
||||
// FIXME There is a problem with dagger.#Secret type
|
||||
string @dagger(output)
|
||||
string
|
||||
|
||||
#up: [
|
||||
op.#Load & {
|
||||
@@ -62,5 +62,5 @@ import (
|
||||
format: "string"
|
||||
},
|
||||
]
|
||||
}
|
||||
} @dagger(output)
|
||||
}
|
||||
|
@@ -39,12 +39,12 @@ import (
|
||||
path: !="" @dagger(input)
|
||||
from: dagger.#Artifact @dagger(input)
|
||||
data: {
|
||||
string @dagger(output)
|
||||
string
|
||||
#up: [
|
||||
op.#Load & {"from": from},
|
||||
op.#Export & {source: path},
|
||||
]
|
||||
}
|
||||
} @dagger(output)
|
||||
}
|
||||
|
||||
#Glob: {
|
||||
|
@@ -13,7 +13,7 @@ import (
|
||||
// GCR credentials
|
||||
username: "oauth2accesstoken"
|
||||
secret: {
|
||||
string @dagger(output)
|
||||
string
|
||||
|
||||
#up: [
|
||||
op.#Load & {
|
||||
@@ -40,5 +40,5 @@ import (
|
||||
source: "/token.txt"
|
||||
},
|
||||
]
|
||||
}
|
||||
} @dagger(output)
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@ import (
|
||||
// kubeconfig is the generated kube configuration file
|
||||
kubeconfig: {
|
||||
// FIXME There is a problem with dagger.#Secret type
|
||||
string @dagger(output)
|
||||
string
|
||||
|
||||
#up: [
|
||||
op.#Load & {
|
||||
@@ -54,7 +54,7 @@ import (
|
||||
format: "string"
|
||||
},
|
||||
]
|
||||
}
|
||||
} @dagger(output)
|
||||
}
|
||||
|
||||
#Code: #"""
|
||||
|
@@ -47,7 +47,9 @@ import (
|
||||
source: dagger.#Artifact @dagger(input)
|
||||
|
||||
// Environment variables
|
||||
env: [string]: string @dagger(input)
|
||||
env: {
|
||||
[string]: string @dagger(input)
|
||||
}
|
||||
|
||||
#up: [
|
||||
op.#FetchContainer & {
|
||||
@@ -93,7 +95,9 @@ import (
|
||||
// Specify the targeted binary name
|
||||
output: string @dagger(output)
|
||||
|
||||
env: [string]: string @dagger(input)
|
||||
env: {
|
||||
[string]: string @dagger(input)
|
||||
}
|
||||
|
||||
#up: [
|
||||
op.#Copy & {
|
||||
|
@@ -16,7 +16,9 @@ import (
|
||||
source: dagger.#Artifact @dagger(input)
|
||||
|
||||
// Environment variables
|
||||
env: [string]: string @dagger(input)
|
||||
env: {
|
||||
[string]: string @dagger(input)
|
||||
}
|
||||
|
||||
// Write the contents of `environment` to this file,
|
||||
// in the "envfile" format.
|
||||
|
@@ -12,9 +12,13 @@ import (
|
||||
|
||||
source: dagger.#Artifact @dagger(input)
|
||||
|
||||
tfvars?: [string]: _ @dagger(input)
|
||||
tfvars?: {
|
||||
...
|
||||
}
|
||||
|
||||
env: [string]: string @dagger(input)
|
||||
env: {
|
||||
[string]: string @dagger(input)
|
||||
}
|
||||
|
||||
state: #up: [
|
||||
op.#FetchContainer & {
|
||||
|
Reference in New Issue
Block a user