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/stdlib/aws/aws.cue
Andrea Luzzardi c16455249e cue files: #compute -> #up
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 16:08:15 -07:00

32 lines
489 B
CUE

package aws
import (
"dagger.io/dagger"
"dagger.io/llb"
"dagger.io/alpine"
)
// Base AWS Config
#Config: {
// AWS region
region: string
// AWS access key
accessKey: dagger.#Secret
// AWS secret key
secretKey: dagger.#Secret
}
// Re-usable aws-cli component
#CLI: {
#up: [
llb.#Load & {
from: alpine.#Image & {
package: bash: "=5.1.0-r0"
package: jq: "=1.6-r1"
package: curl: "=7.74.0-r1"
package: "aws-cli": "=1.18.177-r0"
}
},
]
}