pulumi/pkg/cmd
Justin Van Patten 73dc0d673d
[cli/new] Strip sensitive data from template URLs (#15586)
This change strips credentials and query strings from template URLs that
are saved in the generated projects from `pulumi new`.

Note: I considered a different approach where we'd only keep templates
from the default templates repo or Pulumi AI. However, the
implementation ended up being more complex to figure out what was a
default template (and not a local file path, for example), and this way
other sources are still included to help with code searches and other
tools to identify the source of a project.

Fixes #15431
2024-03-04 23:09:42 +00:00
..
pulumi [cli/new] Strip sensitive data from template URLs (#15586) 2024-03-04 23:09:42 +00:00