https://pulumi.com logo
Title
f

full-artist-27215

11/10/2022, 4:12 PM
Am I correct in thinking that with the current project-level configuration (i.e., https://www.pulumi.com/blog/project-config-mvp) it is not possible to create a type specification for a configuration object, even though objects can definitely exist in a configuration file? The error message I'm getting (
value must be one of "string", "integer", "boolean", "array"
) suggests that's not allowed.
b

billowy-army-68599

11/10/2022, 4:50 PM
how are you setting the value?
f

full-artist-27215

11/10/2022, 5:08 PM
The top-level
Pulumi.yaml
file looks like this:
...
config:
  foo:
    type: object
    description: blah blah
while the stack configuration file looks like this:
config:
  myproject:foo:
    one: 1
    two: 2
    three: 3
I was initially just trying to say that
foo
is an object, rather than delving into more specific typing.
b

billowy-army-68599

11/10/2022, 5:12 PM
ah, yeah could you open an issue for that?
f

full-artist-27215

11/10/2022, 5:13 PM
will do 👍