many-psychiatrist-74327
08/28/2020, 1:59 AMmany-psychiatrist-74327
08/28/2020, 4:55 AM$ pulumi up
Previewing update (test):
Type Name Plan Info
+ pulumi:pulumi:Stack kubernetes-test create 3 errors; 37 messages
+ └─ aws:ec2:Vpc eks-vpc-2 create
Diagnostics:
pulumi:pulumi:Stack (kubernetes-test):
error: 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/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/Users/<redacted>/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 83, in run_in_stack
await run_pulumi_func(lambda: Stack(func))
File "/Users/<redacted>/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 51, in run_pulumi_func
await RPC_MANAGER.rpcs.pop()
File "/Users/<redacted>/venv/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py", line 67, in rpc_wrapper
result = await rpc
File "/Users/<redacted>/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 427, in do_register
await rpc.resolve_outputs(res, resolver.serialized_props, resp.object, resolvers)
File "/Users/<redacted>/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 487, in resolve_outputs
translated_value = translate_output_properties(value, res.translate_output_property, types.get(key))
File "/Users/<redacted>/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 434, in translate_output_properties
return {
File "/Users/<redacted>/venv/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 436, in <dictcomp>
translate_output_properties(v, output_transformer, get_type(k))
File "/Users/<redacted>/venv/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 451, in translate_output_properties
raise AssertionError(f"Unexpected type. Expected 'list' got '{typ}'")
AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
error: an unhandled error occurred: Program exited with non-zero exit code: 1
To narrow down the problem, I created an entirely new stack, and commented out my resources until the error went away. If I define a VPC (like in the config below), the error shows up. If I remove the VPC resource, everything works fine.
from pulumi_aws import ec2
vpc = ec2.Vpc(
'eks-vpc',
cidr_block='10.100.0.0/16',
instance_tenancy='default',
enable_dns_hostnames=True,
enable_dns_support=True,
tags={
'Name' : 'pulumi-eks-vpc'
}
)
Has anyone encountered this before or has any pointers/suggestions?sticky-receptionist-53934
08/28/2020, 7:31 AMquick-finland-93793
08/28/2020, 7:37 AMAllocatedStorage
is not applicable, but still is required when instanciating an Rds.Instance()
with Engine aurora-mysql
. Furthermore, the CLI reports, that a value for iops
has to be set, but setting an iops
value for engine aurora-mysql
seems to be invalid  (InvalidParameterCombination: Specifying IOPs is not allowed for this engine
). I can’t find an applicable example of how to create AWS RDS Aurora-Mysql instances on the web - may someone give me some hints of what I'm doing wrong?cuddly-dusk-95227
08/28/2020, 8:42 AMvictorious-helmet-11068
08/28/2020, 12:45 PMvictorious-helmet-11068
08/28/2020, 12:45 PMbreezy-cricket-40277
08/28/2020, 1:55 PMfiles
or stdin
?
Such as
pulumi config set property --file myfile
astonishing-quill-88807
08/28/2020, 3:03 PMastonishing-quill-88807
08/28/2020, 3:03 PMastonishing-quill-88807
08/28/2020, 3:08 PMPreviewing update (<http://applications.dagster.QA|applications.dagster.QA>):
Type Name Plan Info
pulumi:pulumi:Stack <http://ol-infrastructure-dagster-application-applications.dagster.QA|ol-infrastructure-dagster-application-applications.dagster.QA> 3 errors
~ ├─ aws:ec2:SecurityGroup dagster-db-access-qa update [diff: ~ingress]
+ ├─ pulumi-python:dynamic:Resource dagster-data-qa-0 create
└─ ol:infrastructure:aws:database:OLAmazonDB ol-etl-db-qa
+- └─ aws:rds:Instance ol-etl-db-qa-postgres-instance replace [diff: ~name]
Diagnostics:
pulumi:pulumi:Stack (<http://ol-infrastructure-dagster-application-applications.dagster.QA|ol-infrastructure-dagster-application-applications.dagster.QA>):
error: Program failed with an unhandled exception:
error: Traceback (most recent call last):
File "/usr/bin/pulumi-language-python-exec", line 85, in <module>
loop.run_until_complete(coro)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/tmacey/code/mit/ops/infra/ol-infrastructure/.venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 83, in run_in_stack
await run_pulumi_func(lambda: Stack(func))
File "/home/tmacey/code/mit/ops/infra/ol-infrastructure/.venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 35, in run_pulumi_func
func()
File "/home/tmacey/code/mit/ops/infra/ol-infrastructure/.venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 83, in <lambda>
await run_pulumi_func(lambda: Stack(func))
File "/home/tmacey/code/mit/ops/infra/ol-infrastructure/.venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 106, in __init__
func()
File "/usr/bin/pulumi-language-python-exec", line 84, in <lambda>
coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
File "/usr/lib/python3.8/runpy.py", line 282, in run_path
return _run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "./__main__.py", line 173, in <module>
{salt_minion.minion_public_key}
AttributeError: 'OLSaltStack' object has no attribute 'minion_public_key'
error: an unhandled error occurred: Program exited with non-zero exit code: 1
astonishing-quill-88807
08/28/2020, 3:16 PMpurple-dawn-53665
08/28/2020, 3:37 PMechoing-breakfast-73834
08/28/2020, 4:10 PMI0828 15:57:58.508597 3262 eventsink.go:59] incoming output value translated: 128.0 -> 128.0
I0828 15:57:58.508613 3262 eventsink.go:62] eventSink::Debug(<{%reset%}>incoming output value translated: 128.0 -> 128.0<{%reset%}>)
I0828 15:57:58.508993 3262 eventsink.go:59] incoming output property translated: handler -> handler
I0828 15:57:58.509008 3262 eventsink.go:62] eventSink::Debug(<{%reset%}>incoming output property translated: handler -> handler<{%reset%}>)
I0828 15:57:58.509383 3262 eventsink.go:59] incoming output value translated: lambda_transform_alert.lambda_handler -> lambda_transform_alert.lambda_handler
I0828 15:57:58.509398 3262 eventsink.go:62] eventSink::Debug(<{%reset%}>incoming output value translated: lambda_transform_alert.lambda_handler -> lambda_transform_alert.lambda_handler<{%reset%}>)
I0828 15:57:58.509782 3262 eventsink.go:59] incoming output property translated: kmsKeyArn -> kms_key_arn
I0828 15:57:58.509797 3262 eventsink.go:62] eventSink::Debug(<{%reset%}>incoming output property translated: kmsKeyArn -> kms_key_arn<{%reset%}>)
I0828 15:57:58.510183 3262 eventsink.go:59] incoming output value translated: arn:aws:kms:us-east-2:ACCOUNT_ID:key/KEY_ID -> arn:aws:kms:us-east-2:ACCOUNT_ID:key/KEY_ID
I0828 15:57:58.510199 3262 eventsink.go:62] eventSink::Debug(<{%reset%}>incoming output value translated: arn:aws:kms:us-east-2:ACCOUNT_ID:key/KEY_ID -> arn:aws:kms:us-east-2:ACCOUNT_ID:key/KEY_ID<{%reset%}>)
I0828 15:57:58.510781 3262 eventsink.go:59] RPC failed with exception:
I0828 15:57:58.510797 3262 eventsink.go:62] eventSink::Debug(<{%reset%}>RPC failed with exception:<{%reset%}>)
I0828 15:57:58.511812 3262 eventsink.go:59] Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py", line 67, in rpc_wrapper
result = await rpc
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 426, in do_register
await rpc.resolve_outputs(res, resolver.serialized_props, resp.object, resolvers)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 492, in resolve_outputs
translated_value = translate_output_properties(value, res.translate_output_property, types.get(key))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 432, in translate_output_properties
translated_values = {
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 433, in <dictcomp>
k: translate_output_properties(v, output_transformer, get_type(k))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 439, in translate_output_properties
return {
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 441, in <dictcomp>
translate_output_properties(v, output_transformer, get_type(k))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 456, in translate_output_properties
raise AssertionError(f"Unexpected type. Expected 'list' got '{typ}'")
AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
I0828 15:57:58.511831 3262 eventsink.go:62] eventSink::Debug(<{%reset%}>Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc_manager.py", line 67, in rpc_wrapper
result = await rpc
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 426, in do_register
await rpc.resolve_outputs(res, resolver.serialized_props, resp.object, resolvers)
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 492, in resolve_outputs
translated_value = translate_output_properties(value, res.translate_output_property, types.get(key))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 432, in translate_output_properties
translated_values = {
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 433, in <dictcomp>
k: translate_output_properties(v, output_transformer, get_type(k))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 439, in translate_output_properties
return {
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 441, in <dictcomp>
translate_output_properties(v, output_transformer, get_type(k))
File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/pulumi/runtime/rpc.py", line 456, in translate_output_properties
AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
raise AssertionError(f"Unexpected type. Expected 'list' got '{typ}'")
<{%reset%}>)
echoing-breakfast-73834
08/28/2020, 4:10 PMquaint-egg-65511
08/28/2020, 5:06 PMdamp-elephant-82829
08/28/2020, 6:11 PMchilly-hairdresser-56259
08/28/2020, 7:37 PMstack:instanceparameters:
- name: tmp_table_size
value: 6.4e+07
- name: max_connections
value: "10000"
- name: read_buffer_size
value: "1000000"
- name: connect_timeout
value: "1200"
- name: innodb_stats_method
value: nulls_equal
- name: innodb_adaptive_hash_index
value: "1"
- name: slow_query_log
value: "1"
- name: net_read_timeout
value: "4000"
- name: key_buffer_size
value: "1000000000"
- name: innodb_stats_persistent
value: "true"
- name: read_rnd_buffer_size
value: "1000000"
- name: innodb_stats_auto_recalc
value: "1"
- name: lock_wait_timeout
value: "210"
- name: log_output
value: FILE
- name: general_log
value: "0"
- name: wait_timeout
value: "240"
- name: event_scheduler
value: "ON"
- name: long_query_time
value: "5"
- name: innodb_stats_on_metadata
value: "0"
- name: join_buffer_size
value: "1000000"
- name: group_concat_max_len
value: "1048576"
- name: innodb_sort_buffer_size
value: "65536"
- name: log_queries_not_using_indexes
value: "1"
- name: max_allowed_packet
value: "128000000"
- name: autocommit
value: "1"
- name: tx_isolation
value: READ-COMMITTED
- name: innodb_buffer_pool_size
value: '{DBInstanceClassMemory*1/4}'
- name: sort_buffer_size
value: "524288"
- name: default_tmp_storage_engine
value: MyISAM
- name: query_cache_size
value: '{DBInstanceClassMemory/12}'
- name: innodb_stats_transient_sample_pages
value: "256"
- name: bulk_insert_buffer_size
value: 3.2e+07
- name: innodb_stats_persistent_sample_pages
value: 256
- name: interactive_timeout
value: 250
- name: performance-schema-instrument
value: wait/lock/metadata/sql/mdl=ON
hallowed-beach-15050
08/28/2020, 8:10 PMbright-restaurant-97414
08/28/2020, 8:37 PMmillions-furniture-75402
08/28/2020, 8:49 PM// loadBalancer property not available in ApplicationLoadBalancer
const alb = new awsx.lb.ApplicationLoadBalancer(`${appName}-lb`, {
loadBalancer: aws.lb.LoadBalancer.get("sandbox", "arn:aws:elasticloadbalancing:us-east-1:xxxxxxxxxxx:loadbalancer/app/sandbox/xxxxxxx", {
vpcId: vpc.vpc.id
}),
});
// TS2511: Cannot create an instance of an abstract class.
const alb = new awsx.lb.LoadBalancer("application", `${appName}-lb`, {
loadBalancer: aws.lb.LoadBalancer.get("sandboxs", "arn:aws:elasticloadbalancing:us-east-1:xxxxxxxxxxx:loadbalancer/app/sandbox/xxxxxxx", {
vpcId: vpc.vpc.id
}),
});
sticky-receptionist-53934
08/29/2020, 2:23 PMerror: 1 error occurred:
* updating urn:pulumi:test::taskforce-infra::taskforce:cluster$gcp:container/cluster:Cluster::cluster-provisioner: googleapi: Error 400: Currently, the only supported value for workload pool is [PROJECT_ID].svc.id.goog and [PROJECT_ID].hub.id.goog., badRequest
sticky-receptionist-53934
08/29/2020, 2:24 PMworkloadIdentityConfig: {
identityNamespace: "default",
},
nice-portugal-52925
08/29/2020, 3:40 PMGCP container registry
 ? I keep running into this issue:
error: Error: ' docker login' failed with exit code 1
at /Documents/work/infra/node_modules/@pulumi/docker.ts:583:15
at Generator.next (<anonymous>)
at fulfilled (/Documents/work/infra/node_modules/@pulumi/docker/docker.js:18:58)
at processTicksAndRejections (internal/process/task_queues.js:86:5)
error: Error response from daemon: login attempt to <https://www.googleapis.com/v2/> failed with status: 404 Not Found
I am able to push to the registry when I use a docker push
command but unable to with Pulumidamp-elephant-82829
08/30/2020, 10:31 AMmillions-microphone-64941
08/30/2020, 6:29 PMdamp-table-85095
08/31/2020, 1:30 AMdamp-table-85095
08/31/2020, 1:31 AMdamp-table-85095
08/31/2020, 6:05 AMicy-train-33339
08/31/2020, 6:54 AMicy-train-33339
08/31/2020, 6:54 AM