bored-river-53178
02/02/2020, 11:13 PMmany-garden-84306
02/02/2020, 11:19 PMdef get_auth_container_definition_obj():
def gen_result(
db_password_secret_arn,
image_url,
region,
log_group_name,
db_dns_name,
db_database_name):
# do a bunch of stuff with these sync values passed as args
return Output.all(
db_password_secret.arn,
latest_image_url,
region,
cloudwatch_log_group.name,
db_dns_name,
db_database_name,
).apply(lambda args: gen_result(*args))
bored-river-53178
02/02/2020, 11:23 PMmany-garden-84306
02/02/2020, 11:34 PMbored-river-53178
02/03/2020, 12:23 AMmammoth-elephant-55302
02/03/2020, 12:21 PMerror: Running program '/home/xk/dp/github-testing' failed with an unhandled exception:
/home/xk/dp/github-testing/node_modules/@ibrasho/pulumi-github/index.ts:5
export * from "./branchProtection";
^^^^^^
SyntaxError: Unexpected token export
dry-raincoat-51244
02/03/2020, 1:24 PMclever-egg-2543
02/03/2020, 2:27 PMpulumi
is not found. Yes, Iβm updating my path:
=== Pulumi is now installed! πΉ ===
+ Please add /root/.pulumi/bin to your $PATH
+ Get started with Pulumi: <https://www.pulumi.com/docs/quickstart>
$ export PATH=$PATH:$HOME/.pulumi/bin
$ which pulumi
/root/.pulumi/bin/pulumi
$ cd pulumi
$ pulumi login
/bin/sh: eval: line 96: pulumi: not found
delightful-truck-1268
02/03/2020, 3:45 PMmammoth-elephant-55302
02/03/2020, 6:13 PMcool-egg-852
02/03/2020, 7:12 PMError: invocation of kubernetes:yaml:decode returned an error: Unknown Invoke type 'kubernetes:yaml:decode'
at /Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/runtime/invoke.js:172:33
at Object.onReceiveStatus (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:1210:9)
at InterceptingListener._callNext (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:847:24)
It keeps occurring in one project and I canβt figure out the cause. There are only 2 resources, a namespace and a helm chart.millions-judge-24978
02/03/2020, 8:57 PMpulumi preview
failure due to --expect-no-changes
vs other reasons? It seems the exit code is 255 either way.many-garden-84306
02/03/2020, 11:50 PMcalm-greece-42329
02/04/2020, 12:40 AMcalm-greece-42329
02/04/2020, 12:44 AMcalm-greece-42329
02/04/2020, 12:44 AMdazzling-area-7593
02/04/2020, 3:24 AMcareful-market-30508
02/04/2020, 4:12 AMerror: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/usr/local/bin/pulumi-language-python-exec", line 85, in <module>
loop.run_until_complete(coro)
File "/usr/local/anaconda3/lib/python3.7/asyncio/base_events.py", line 573, in run_until_complete
return future.result()
File "/usr/local/anaconda3/lib/python3.7/site-packages/pulumi/runtime/stack.py", line 73, in run_in_stack
raise RPC_MANAGER.unhandled_exception.with_traceback(RPC_MANAGER.exception_traceback)
File "/usr/local/anaconda3/lib/python3.7/site-packages/pulumi/runtime/rpc_manager.py", line 67, in rpc_wrapper
result = await rpc_function(*args, **kwargs)
File "/usr/local/anaconda3/lib/python3.7/site-packages/pulumi/runtime/resource.py", line 325, in do_register
resolver = await prepare_resource(res, ty, custom, props, opts)
File "/usr/local/anaconda3/lib/python3.7/site-packages/pulumi/runtime/resource.py", line 88, in prepare_resource
serialized_props = await rpc.serialize_properties(props, property_dependencies_resources, res.translate_input_property)
File "/usr/local/anaconda3/lib/python3.7/site-packages/pulumi/runtime/rpc.py", line 68, in serialize_properties
result = await serialize_property(v, deps, input_transformer)
File "/usr/local/anaconda3/lib/python3.7/site-packages/pulumi/runtime/rpc.py", line 198, in serialize_property
raise ValueError(f"unexpected input of type {type(value).__name__}")
ValueError: unexpected input of type tuple
error: an unhandled error occurred: Program exited with non-zero exit code: 1
cuddly-leather-18640
02/04/2020, 9:49 AMpulumi watch
hot reload k8s deployments/pods/jobs/etc when there are code changes to the folder being watched?straight-twilight-64698
02/04/2020, 4:24 PMthousands-london-78260
02/04/2020, 6:01 PMabundant-author-13372
02/04/2020, 6:03 PMcalm-greece-42329
02/04/2020, 6:11 PMmost-football-81032
02/04/2020, 6:29 PMworried-engineer-33884
02/04/2020, 9:35 PMmany-garden-84306
02/04/2020, 9:57 PMPULUMI_STACK_TAGS="$(pulumi stack tag ls --json)"
PULUMI_PROJECT="$(echo "$PULUMI_STACK_TAGS" | jq -r .[\"pulumi:project\"])"
PULUMI_CONFIG="$(pulumi config --json --show-secrets)"
PULUMI_STACK_INFO="$(pulumi stack ls --json | jq '.[] | select(.current==true)')"
PULUMI_STACK="$(echo "$PULUMI_STACK_INFO" | jq -r .name)"
I realize there are command options, e.g., to just get a single stack tag, but doing so is just as slow so I might as well get all the tags at once and pull out what I need.some-waitress-78905
02/04/2020, 10:01 PMerror: Failed to create record: error from makeRequest: HTTP status 400: content "{\"success\":false,\"errors\":[{\"code\":6003,\"message\":\"Invalid request headers\",\"error_chain\":[{\"code\":6103,\"message\":\"Invalid format for X-Auth-Key header\"}]}],\"messages\":[],\"result\":null}"
icy-london-58403
02/05/2020, 12:12 AMbored-river-53178
02/05/2020, 1:00 AMsparse-intern-71089
02/05/2020, 5:32 AM