https://pulumi.com logo
#python
Title
# python
f

fancy-river-36247

12/23/2020, 1:48 PM
Good morning. I'm standing up RDS in Python. I'm getting the following error but cannot trace down the source:
Copy code
File "/Users/jasonvertrees/work/infra-pulumi/venv/lib/python3.9/site-packages/pulumi/output.py", line 175, in run
        transformed: Input[U] = func(value)
    TypeError: sequence item 7: expected str instance, int found
c

cool-fireman-90027

12/23/2020, 2:32 PM
Can you try this:
pulumi up --logtostderr -v9 --debug
I found this issue in stackoverflow.
f

fancy-river-36247

12/23/2020, 2:38 PM
Hi @cool-fireman-90027: I've tried that. That debug output doesn't help at all b/c it's async. I have no idea which object is failing to create -- or which field is failing the coersion.
Thanks for that recommendation, though.
c

cool-fireman-90027

12/23/2020, 2:48 PM
Which RDS instance are you standing up? Have you seen the following aurora python examples? Can you share the rds code?
f

fancy-river-36247

12/23/2020, 3:11 PM
I'm standing up postgres.
Would the output from the run help?
I think the problem is converting the Outputs.
c

cool-fireman-90027

12/23/2020, 3:17 PM
Here is an example postgress rds. Sure, send over the code.
f

fancy-river-36247

12/23/2020, 3:45 PM
Thanks. We got it. The output port, for some reason, is documented as an
int
but is really a
str
.
🆒 1
2 Views