https://pulumi.com logo
Title
l

little-cartoon-10569

05/14/2021, 4:45 AM
I'm using the cloudinit provider and I'm getting this warning:
warning: urn😛ulumi:stack😛roject:aws:PublicProxy$cloudinit:index/config:Config::stack verification warning: Deprecated Resource
I can't see it in the code anywhere, and there's no additional info.
Is this provider deprecated? The Config resource? I can't see anything in the code or the docs to suggest that it is...
b

billowy-army-68599

05/14/2021, 5:02 AM
use the
get
methods:
cloudinit.getConfig
l

little-cartoon-10569

05/14/2021, 5:03 AM
Will do. Should the message include that info?
Oo, the example in getConfig() refers to
async: true
.. that's all old and stuff, right?
@billowy-army-68599 I see your example uses runcmd's string variant. The docs I read say the list variant should also work, but I couldn't get working; cloudinit was creating /var/lib/cloud/instance/scripts/runcmd with every list item quoted:
#!/bin/sh
'ls'
'cd' '/'
'echo' 'Hi' 'Lee'
And stuff like that. Is that a known issue? Did I create my runcmd lists incorrectly?
runcmd: [
  [ "ls" ],
  [ "cd", "/" ],
  [ "echo", "Hi", "Lee" ]
]