Skip to content

Document resource attribute on Pulumi.yaml #16674

@pose

Description

@pose

It seems we support a version attribute that could be passed to resources inside the Pulumi project YAML files. For instance, here's a snippet using pulumi-random:

name: yaml_program
runtime: yaml
description: A minimal Random Pulumi YAML program.
outputs:
  name: ${username.id}
resources:
  username:
    type: random:RandomPet
    options:
      version: 4.18.4

I checked both:

And I couldn't find any mention of resource or version. Could we clarify where is that coming from?

Metadata

Metadata

Assignees

Labels

kind/taskWork that's part of an ongoing epicneeds-triageNeeds attention from the triage teamresolution/fixedThis issue was fixed

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions