From c06f2aa55ec16006e850ab6a1a89e630eb13c0f2 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Tue, 13 Apr 2021 14:11:49 -0700 Subject: [PATCH] stdlib/aws: don't cache cloudformation Signed-off-by: Sam Alba --- stdlib/aws/cloudformation/cloudformation.cue | 1 + stdlib/aws/elb/elb.cue | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/stdlib/aws/cloudformation/cloudformation.cue b/stdlib/aws/cloudformation/cloudformation.cue index 3fedd398..6501803b 100644 --- a/stdlib/aws/cloudformation/cloudformation.cue +++ b/stdlib/aws/cloudformation/cloudformation.cue @@ -60,6 +60,7 @@ import ( } }, op.#Exec & { + always: true args: [ "/bin/bash", "--noprofile", diff --git a/stdlib/aws/elb/elb.cue b/stdlib/aws/elb/elb.cue index aff20687..c5077065 100644 --- a/stdlib/aws/elb/elb.cue +++ b/stdlib/aws/elb/elb.cue @@ -19,6 +19,10 @@ import ( out: string aws.#Script & { + // FIXME: we should not rely on the cache for this but it's being + // executed several times if enabled: https://github.com/dagger/dagger/issues/42 + // always: true + files: { "/inputs/listenerArn": listenerArn if vhost != _|_ {