class oci.resource_manager.models.ZipUploadConfigSource(**kwargs)

Bases: oci.resource_manager.models.config_source.ConfigSource

File path to the location of the zip file that contains the Terraform configuration.


Initializes a new ZipUploadConfigSource object with values from keyword arguments. The default value of the config_source_type attribute of this class is ZIP_UPLOAD and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

  • config_source_type (str) -- The value to assign to the config_source_type property of this ZipUploadConfigSource. Allowed values for this property are: "ZIP_UPLOAD"
  • working_directory (str) -- The value to assign to the working_directory property of this ZipUploadConfigSource.

[Required] Gets the config_source_type of this ConfigSource. The configuration file type.

Allowed values for this property are: "ZIP_UPLOAD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The config_source_type of this ConfigSource.
Return type:str

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.


Gets the working_directory of this ConfigSource. File path to the directory from which Terraform runs. If not specified, we use the root directory.

Returns:The working_directory of this ConfigSource.
Return type:str