incalculable-quill-13895
01/30/2020, 6:30 PMgray-city-50684
01/30/2020, 7:08 PMcuddly-australia-15715
01/30/2020, 7:35 PMcold-author-10079
01/31/2020, 9:36 AMred-football-97286
01/31/2020, 11:55 AMenvironments = {
'HealthChecks': [health_check_1.id, health_check_2.id],
'Names': ['Primary', 'Secondary']
}
# Metric alarm for both primary and secondary sites
for index in range(0, (len(environments))):
cloudwatch.MetricAlarm(
f"{environments['Names'][index]}_site_alarm",
__opts__=ResourceOptions(
depends_on=[sns_topic, sns_email]),
alarm_actions=[sns_topic.arn],
alarm_description=f"{environments['Names'][index]} alarm for website",
name=f"{environments['Names'][index]}_site",
comparison_operator="LessThanThreshold",
statistic="Minimum", evaluation_periods=3,
metric_name="HealthCheckStatus",
namespace="AWS/Route53",
period=60, threshold=1,
dimensions={
'HealthCheckId': environments['HealthChecks'][index]
}
)
broad-helmet-79436
01/31/2020, 1:42 PMcolossal-room-15708
01/31/2020, 6:13 PMable-crayon-21563
01/31/2020, 6:29 PMcareful-market-30508
01/31/2020, 7:55 PMbored-river-53178
02/02/2020, 6:33 PMbored-river-53178
02/02/2020, 10:11 PMmany-garden-84306
02/02/2020, 10:21 PMbored-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
careful-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
white-balloon-205
02/04/2020, 7:01 AM