Class ProjectSettingsConflictException

All Implemented Interfaces:
Serializable

public class ProjectSettingsConflictException extends AutomationException
Thrown when creating a Workspace detects a conflict between project settings found on disk (such as Pulumi.yaml) and a ProjectSettings object passed to the Create API. There are two resolutions: (A) to use the ProjectSettings, delete the Pulumi.yaml file from WorkDir or use a different WorkDir (B) to use the exiting Pulumi.yaml from WorkDir, avoid customizing the ProjectSettings
See Also:
  • Constructor Details

    • ProjectSettingsConflictException

      public ProjectSettingsConflictException(String settingsFileLocation)
  • Method Details

    • getSettingsFileLocation

      public String getSettingsFileLocation()
      FullPath of the Pulumi.yaml (or Pulumi.yml, Pulumi.json) settings file found on disk.
      Returns:
      The full path to the settings file