Package com.pulumi.automation
Class ProjectSettingsConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.pulumi.automation.AutomationException
-
- com.pulumi.automation.ProjectSettingsConflictException
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectSettingsConflictException(java.lang.String settingsFileLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSettingsFileLocation()
FullPath of the Pulumi.yaml (or Pulumi.yml, Pulumi.json) settings file found on disk.
-