Merge pull request #544 from samalba/fix-cloudformation
stdlib: fix cloudformation.#Stack
This commit is contained in:
commit
c4162b1e98
@ -52,7 +52,9 @@ import (
|
|||||||
|
|
||||||
outputs: #up: [
|
outputs: #up: [
|
||||||
op.#Load & {
|
op.#Load & {
|
||||||
from: aws.#CLI
|
from: aws.#CLI & {
|
||||||
|
"config": config
|
||||||
|
}
|
||||||
},
|
},
|
||||||
op.#Mkdir & {
|
op.#Mkdir & {
|
||||||
path: "/src"
|
path: "/src"
|
||||||
@ -74,13 +76,6 @@ import (
|
|||||||
"/entrypoint.sh",
|
"/entrypoint.sh",
|
||||||
]
|
]
|
||||||
env: {
|
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 {
|
if neverUpdate {
|
||||||
NEVER_UPDATE: "true"
|
NEVER_UPDATE: "true"
|
||||||
}
|
}
|
||||||
@ -89,7 +84,6 @@ import (
|
|||||||
ON_FAILURE: onFailure
|
ON_FAILURE: onFailure
|
||||||
}
|
}
|
||||||
dir: "/src"
|
dir: "/src"
|
||||||
mount: "/cache/aws": "cache"
|
|
||||||
},
|
},
|
||||||
op.#Export & {
|
op.#Export & {
|
||||||
source: "/outputs.json"
|
source: "/outputs.json"
|
||||||
|
Reference in New Issue
Block a user