From a369c7a1ba9ec54a5d7a333a601ed6de0c7a1823 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Fri, 14 May 2021 17:53:57 -0700 Subject: [PATCH] examples: simple-s3: converted to inputs attributes for testing Signed-off-by: Sam Alba --- examples/simple-s3/main.cue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/simple-s3/main.cue b/examples/simple-s3/main.cue index f8785da5..06e3e8f3 100644 --- a/examples/simple-s3/main.cue +++ b/examples/simple-s3/main.cue @@ -8,13 +8,15 @@ import ( // AWS Config for credentials and default region awsConfig: aws.#Config & { - region: *"us-east-1" | string + region: *"us-east-1" | string @dagger(input) + accessKey: dagger.#Secret @dagger(input) + secretKey: dagger.#Secret @dagger(input) } // Name of the S3 bucket to use -bucket: *"dagger-io-examples" | string +bucket: *"dagger-io-examples" | string @dagger(input) -source: dagger.#Artifact +source: dagger.#Artifact @dagger(input) url: "\(deploy.url)index.html" deploy: s3.#Put & {