Skip to main content

tharsis_apply_module

Defines and manages tharsis_apply_module resources, which launch runs in other workspaces.

Schema​

Required​

  • module_source (String) The source of the module.
  • workspace_path (String) The full path of the workspace.

Optional​

  • module_version (String) The version identifier of the module.
  • refresh (Boolean) Whether to do a Terraform refresh to update the state based on all managed remote objects.
  • variables (Attributes List) Optional list of variables for the run in the target workspace. (see below for nested schema)

Read-Only​

  • id (String) An ID for this tharsis_apply_module resource.
  • resolved_variables (Attributes List) The variables that were used by the run. (see below for nested schema)

Nested Schema for variables​

Required:

  • category (String) Category of this variable, 'terraform' or 'environment'.
  • key (String) Key or name of this variable.
  • value (String) Value of the variable.

Nested Schema for resolved_variables​

Read-Only:

  • category (String) Category of this variable, 'terraform' or 'environment'.
  • key (String) Key or name of this variable.
  • namespace_path (String) Namespace path of the variable.
  • value (String) Value of the variable.