pulumi / esc

Pulumi ESC is a centralized, secure service for environments, secrets, and configuration management, optimized for multi-cloud infrastructures and applications.
https://www.pulumi.com/product/esc/
Apache License 2.0
221 stars 9 forks source link

Add Renaming of environments #186

Open arunkumar611 opened 12 months ago

arunkumar611 commented 12 months ago

Add support for changing environment names.

Two considerations

  1. Changing env name in the imported environments
  2. Resolving old env name in the imported Pulumi Config
fa-bwilliams commented 9 months ago

Add support for changing environment names.

Two considerations

  1. Changing env name in the imported environments
  2. Resolving old env name in the imported Pulumi Config

I second this. It would be much nicer to be able to rename environments while the rename also:

  1. Automatically updates any imports from other environments to the renamed name.
  2. Maintains encryption of any secrets (fn::secret:) that were in place before the rename.

Without the ability to rename, we must

  1. Create a new environment with a new name.
  2. Remember or search out and manually update any imports from other environments.
  3. Manually redo any secrets with plaintext values when creating the new environment.
  4. Delete the old environment.
cleverguy25 commented 3 months ago

Added to epic https://github.com/pulumi/pulumi-service/issues/18145

arunkumar611 commented 3 months ago

For Pulumi config imports, would the list of stacks that need to be updated always be available so that users can change them later rather than doing it right when they change the environment name?