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:
Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFullPath of the Pulumi.yaml (or Pulumi.yml, Pulumi.json) settings file found on disk.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProjectSettingsConflictException
-
-
Method Details
-
getSettingsFileLocation
FullPath of the Pulumi.yaml (or Pulumi.yml, Pulumi.json) settings file found on disk.- Returns:
- The full path to the settings file
-