Pulumi.yaml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:
==<tt>description</tt>==
==<tt>description</tt>==
==<tt>template</tt>==
==<tt>template</tt>==
This section of the configuration file is relevant when a new project is initialized with <code>[[Pulumi_Operations#new|pulumi new]]</code>. The initialization code processes the the configuration key listed under <code>template.config</code> and queries for values, interactively.

Revision as of 00:26, 15 January 2022

External

Internal

Overview

Pulumi.yaml contains the project definition. The name must begin with a capital "P", and both "yaml" and "yaml" extensions are valid.

Example

name: simple-aws 
runtime:
  name: python
  options:
    virtualenv: venv
description: An experimental AWS Pulumi project.
template:
  description: ...
  config:
    aws:profile: ...

Elements

name

Required attribute that specifies the project name.

runtime

description

template

This section of the configuration file is relevant when a new project is initialized with pulumi new. The initialization code processes the the configuration key listed under template.config and queries for values, interactively.