This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/pkg/universe.dagger.io/x/david@rawkode.dev/pulumi/example.cue
David Flanagan 88748d3563
fix: appease the linter
Signed-off-by: David Flanagan <david@rawkode.dev>
2022-04-01 21:03:51 +01:00

24 lines
495 B
CUE

package rawkode_pulumi_example
import (
"dagger.io/dagger"
"universe.dagger.io/x/david@rawkode.dev/pulumi"
)
dagger.#Plan & {
client: {
filesystem: "./": read: contents: dagger.#FS
env: {
PULUMI_CONFIG_PASSPHRASE: dagger.#Secret
PULUMI_ACCESS_TOKEN: dagger.#Secret
}
}
actions: rawkode: pulumi.#Up & {
stack: "test"
stackCreate: true
runtime: "nodejs"
accessToken: client.env.PULUMI_ACCESS_TOKEN
source: client.filesystem."./".read.contents
}
}