TerraformAdvancedOptions

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

Bases: object

Specifies advanced options for Terraform commands. These options are not necessary for normal usage of Terraform.

Attributes

DETAILED_LOG_LEVEL_DEBUG A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions.
DETAILED_LOG_LEVEL_ERROR A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions.
DETAILED_LOG_LEVEL_INFO A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions.
DETAILED_LOG_LEVEL_TRACE A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions.
DETAILED_LOG_LEVEL_WARN A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions.
detailed_log_level Gets the detailed_log_level of this TerraformAdvancedOptions.
is_refresh_required Gets the is_refresh_required of this TerraformAdvancedOptions.
parallelism Gets the parallelism of this TerraformAdvancedOptions.

Methods

__init__(**kwargs) Initializes a new TerraformAdvancedOptions object with values from keyword arguments.
DETAILED_LOG_LEVEL_DEBUG = 'DEBUG'

A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions. This constant has a value of “DEBUG”

DETAILED_LOG_LEVEL_ERROR = 'ERROR'

A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions. This constant has a value of “ERROR”

DETAILED_LOG_LEVEL_INFO = 'INFO'

A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions. This constant has a value of “INFO”

DETAILED_LOG_LEVEL_TRACE = 'TRACE'

A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions. This constant has a value of “TRACE”

DETAILED_LOG_LEVEL_WARN = 'WARN'

A constant which can be used with the detailed_log_level property of a TerraformAdvancedOptions. This constant has a value of “WARN”

__init__(**kwargs)

Initializes a new TerraformAdvancedOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_refresh_required (bool) – The value to assign to the is_refresh_required property of this TerraformAdvancedOptions.
  • parallelism (int) – The value to assign to the parallelism property of this TerraformAdvancedOptions.
  • detailed_log_level (str) – The value to assign to the detailed_log_level property of this TerraformAdvancedOptions. Allowed values for this property are: “ERROR”, “WARN”, “INFO”, “DEBUG”, “TRACE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
detailed_log_level

Gets the detailed_log_level of this TerraformAdvancedOptions. Enables detailed logs at the specified verbosity for running the job (operation). Used with the following operations: PLAN, APPLY, DESTROY.

Allowed values for this property are: “ERROR”, “WARN”, “INFO”, “DEBUG”, “TRACE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The detailed_log_level of this TerraformAdvancedOptions.
Return type:str
is_refresh_required

Gets the is_refresh_required of this TerraformAdvancedOptions. Specifies whether to refresh the state for each resource before running the job (operation). Refreshing the state can affect performance. Consider setting to false if the configuration includes several resources. Used with the following operations: PLAN, APPLY, DESTROY.

Returns:The is_refresh_required of this TerraformAdvancedOptions.
Return type:bool
parallelism

Gets the parallelism of this TerraformAdvancedOptions. Limits the number of concurrent Terraform operations when walking the graph. Use this parameter to help debug Terraform issues or to accomplish certain special use cases. A higher value might cause resources to be throttled. Used with the following operations: PLAN, APPLY, DESTROY.

Returns:The parallelism of this TerraformAdvancedOptions.
Return type:int