pulumi/pkg/workspace
Justin Van Patten b46820dbef
Move away from ${PROJECT} and ${DESCRIPTION} (#1873)
We generally want examples and apps to be authored such that they are
clonable/deployable as-is without using new/up (and want to
encourage this). That means no longer using the ${PROJECT} and
${DESCRIPTION} replacement strings in Pulumi.yaml and other text files.
Instead, good default project names and descriptions should be specified
in Pulumi.yaml and elsewhere.

We'll use the specified values as defaults when prompting the user, and
then directly serialize/save the values to Pulumi.yaml when configuring
the user's project. This does mean that name in package.json (for nodejs
projects) won't be updated if it isn't using ${PROJECT}, but that's OK.

Our templates in the pulumi/templates repo will still use
${PROJECT}/${DESCRIPTION} for now, to continue to work well with v0.15
of the CLI. After that version is no longer in use, we can update the
templates to no longer use the replacement strings and delete the code
in the CLI that deals with it.
2018-09-05 08:00:57 -07:00
..
creds.go Add license headers 2018-05-22 15:02:47 -07:00
paths.go Warn when pulumi is out of date 2018-08-13 13:18:02 -07:00
plugins.go Add license headers 2018-05-22 15:02:47 -07:00
project.go Support project config keys in templates and -c (#1841) 2018-08-30 14:56:13 -07:00
project_test.go Allow more types for runtimeOptions 2018-08-06 14:00:58 -07:00
settings.go Allow overriding config location 2018-06-05 09:26:48 -07:00
templates.go Move away from ${PROJECT} and ${DESCRIPTION} (#1873) 2018-09-05 08:00:57 -07:00
templates_test.go Add license headers 2018-05-22 15:02:47 -07:00
workspace.go Allow overriding config location 2018-06-05 09:26:48 -07:00