handsome-zebra-11018
08/27/2020, 7:06 AMconst devNamespace = "m1af-dev"
const devNs = new k8s.core.v1.Namespace(devNamespace, {
metadata: {
"name": devNamespace,
"labels": {
"name": devNamespace
}
}
}, {});
Used above but it create name with m1af-dev-h0cgk8db
and not m1af-dev
chilly-rainbow-79265
08/27/2020, 9:27 AMstaging_akscluster
sticky-receptionist-53934
08/27/2020, 10:38 AMbitter-application-91815
08/27/2020, 12:24 PMbitter-application-91815
08/27/2020, 12:24 PMbitter-application-91815
08/27/2020, 12:24 PMsticky-receptionist-53934
08/27/2020, 1:32 PMmanifest_sorter.go:192: info: skipping unknown hook: "crd-install"
hallowed-beach-15050
08/27/2020, 1:54 PMsticky-receptionist-53934
08/27/2020, 2:22 PMwarning: <http://apiextensions.k8s.io/v1beta1/CustomResourceDefinition|apiextensions.k8s.io/v1beta1/CustomResourceDefinition> is deprecated by <http://apiextensions.k8s.io/v1/CustomResourceDefinition|apiextensions.k8s.io/v1/CustomResourceDefinition> and not supported by Kubernetes v1.22+ clusters.
billowy-kangaroo-51688
08/27/2020, 5:08 PMaws-sdk
(NodeJS) version to Lambda and I'm not sure how to bundle the intended version, pinned via package.json dependencies
& even yarn resolutions
and yarn.lock
. What am I missing?early-intern-90238
08/27/2020, 7:41 PMbig-potato-91793
08/27/2020, 7:50 PMcalm-pizza-15027
08/27/2020, 8:39 PMconst devNamespace = new k8s.core.v1.Namespace("devNamespace", {
metadata: {
name: "dev",
},
},{provider:clusterRecIngProvider});
export const nginxIngress = new k8s.helm.v3.Chart("nginx-ingress", {
chart: "nginx-ingress",
namespace: devNamespace.metadata.name,
fetchOpts:{
repo: "<https://helm.nginx.com/stable/>",
},
},{provider:clusterRecIngProvider});
const status = nginxIngress.getResourceProperty("v1/Service","nginx-ingress-nginx-ingress","status");
export const recIp = status.apply((status)=> status.loadBalancer.ingress[0].ip);
calm-pizza-15027
08/27/2020, 8:40 PMmany-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 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%}>)
quaint-egg-65511
08/28/2020, 5:06 PM