<commit_before>---
description: |
    The Packer Alicloud Import post-processor takes a RAW or VHD artifact from
    various builders and imports it to an Alicloud customized image list.
layout: docs
page_title: 'Alicloud Import Post-Processor'
---

# Aicloud Import Post-Processor

Type: `alicloud-import`

The Packer Alicloud Import post-processor takes a RAW or VHD artifact from
various builders and imports it to an Alicloud ECS Image.

## How Does it Work?

The import process operates by making a temporary copy of the RAW or VHD to an OSS
bucket, and calling an import task in ECS on the RAW or VHD file. Once
completed, an Alicloud ECS Image is returned. The temporary RAW or VHD copy in
OSS can be discarded after the import is complete.

## Configuration

There are some configuration options available for the post-processor. There are
two categories: required and optional parameters.

### Required:

-   `access_key` (string) - This is the Alicloud access key. It must be provided,
    but it can also be sourced from the `ALICLOUD_ACCESS_KEY` environment<commit_msg>fix alicloud misspelling, add missing sidebar_current<commit_after>---
description: |
    The Packer Alicloud Import post-processor takes a RAW or VHD artifact from
    various builders and imports it to an Alicloud customized image list.
layout: docs
page_title: 'Alicloud Import Post-Processor'
sidebar_current: 'docs-post-processors-alicloud-import'
---

# Alicloud Import Post-Processor

Type: `alicloud-import`

The Packer Alicloud Import post-processor takes a RAW or VHD artifact from
various builders and imports it to an Alicloud ECS Image.

## How Does it Work?

The import process operates by making a temporary copy of the RAW or VHD to an OSS
bucket, and calling an import task in ECS on the RAW or VHD file. Once
completed, an Alicloud ECS Image is returned. The temporary RAW or VHD copy in
OSS can be discarded after the import is complete.

## Configuration

There are some configuration options available for the post-processor. There are
two categories: required and optional parameters.

### Required:

-   `access_key` (string) - This is the Alicloud access key. It must be provided,
    but it can also be sourced from the `ALICLOUD_ACCESS_KEY` environment
{'fraction_non_alphanumeric': 0.051350154935812305, 'fraction_numerical': 0.0, 'mean_word_length': 4.231481481481482, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '978977', 'n_tokens_mistral': 656, 'n_tokens_neox': 620, 'n_words': 322}