pulumi/tests/integration/component_provider/nodejs/component-provider-host/yaml/Pulumi.yaml

25 lines
677 B
YAML

name: nodejs-component-provider-yaml
description: Using a component provider written in Node.js from YAML
runtime: yaml
plugins:
providers:
- name: nodejs-component-provider
path: ../provider
resources:
comp:
type: nodejs-component-provider:index:MyComponent
properties:
aNumber: 123
anOptionalString: "Bonnie"
aBooleanInput: true
aComplexTypeInput:
aNumber: 7
nestedComplexType:
aNumber: 9
outputs:
urn: ${comp.urn}
aNumberOutput: ${comp.aNumberOutput}
anOptionalStringOutput: ${comp.anOptionalStringOutput}
aBooleanOutput: ${comp.aBooleanOutput}
aComplexTypeOutput: ${comp.aComplexTypeOutput}