From 4aeb11754dc64bd8a3f4eba96974a80dec04fd86 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Wed, 2 Jun 2021 16:43:48 +0200 Subject: [PATCH] stdlib: fix cloudformation.#Stack Signed-off-by: Sam Alba --- stdlib/aws/cloudformation/cloudformation.cue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/stdlib/aws/cloudformation/cloudformation.cue b/stdlib/aws/cloudformation/cloudformation.cue index 8a22f197..344ce839 100644 --- a/stdlib/aws/cloudformation/cloudformation.cue +++ b/stdlib/aws/cloudformation/cloudformation.cue @@ -52,7 +52,9 @@ import ( outputs: #up: [ op.#Load & { - from: aws.#CLI + from: aws.#CLI & { + "config": config + } }, op.#Mkdir & { path: "/src" @@ -74,13 +76,6 @@ import ( "/entrypoint.sh", ] env: { - AWS_CONFIG_FILE: "/cache/aws/config" - AWS_ACCESS_KEY_ID: config.accessKey - AWS_SECRET_ACCESS_KEY: config.secretKey - AWS_DEFAULT_REGION: config.region - AWS_REGION: config.region - AWS_DEFAULT_OUTPUT: "json" - AWS_PAGER: "" if neverUpdate { NEVER_UPDATE: "true" } @@ -89,7 +84,6 @@ import ( ON_FAILURE: onFailure } dir: "/src" - mount: "/cache/aws": "cache" }, op.#Export & { source: "/outputs.json"