class TerraformLandscape::TerraformPlan

def display_attribute( # rubocop:disable Metrics/ParameterLists

rubocop:disable Metrics/ParameterLists
def display_attribute( # rubocop:disable Metrics/ParameterLists
  resource,
  change_color,
  attribute_name,
  attribute_value,
  attribute_change_reason,
  attribute_value_indent_amount
)
  attribute_value_indent = ' ' * attribute_value_indent_amount
  if %i[~ -/+].include?(resource[:change])
    display_modified_attribute(change_color,
                               attribute_name,
                               attribute_value,
                               attribute_change_reason,
                               attribute_value_indent,
                               attribute_value_indent_amount)
  else
    display_added_or_removed_attribute(change_color,
                                       attribute_name,
                                       attribute_value,
                                       attribute_value_indent,
                                       attribute_value_indent_amount)
  end
end