

# `pcluster3-config-converter`


Reads a Amazon ParallelCluster version 2 configuration file and writes a Amazon ParallelCluster version 3 configuration file.

```
pcluster3-config-converter [-h]                            
                [-t CLUSTER_TEMPLATE]
                [-c CONFIG_FILE]
                [--force-convert]
                [-o OUTPUT_FILE]
```

## Named arguments


**-h, --help**  
Shows the help text for `pcluster3-config-converter`.

**-t *CLUSTER\$1TEMPLATE*, --cluster-template *CLUSTER\$1TEMPLATE***  
Specifies the [`[cluster]` section](https://docs.amazonaws.cn/parallelcluster/v2/ug/cluster-definition.html) of the configuration file to convert. If not specified the script will look for the [cluster-template](https://docs.amazonaws.cn/parallelcluster/v2/ug/global.html#cluster-template) parameter in the [`[global]` section](https://docs.amazonaws.cn/parallelcluster/v2/ug/global.html) or will search for `[cluster default]`.

**-c *CONFIG\$1FILE*, --config-file *CONFIG\$1FILE***  
Specifies the Amazon ParallelCluster version 2 configuration file to be read.

**--force-convert**  
Enables a conversion even if one or more settings is not supported and not recommended.

**-o *OUTPUT\$1FILE*, --output-file *OUTPUT\$1FILE***  
Specifies the Amazon ParallelCluster version 3 configuration file to be written. If this parameter is not specified, the configuration is written to stdout.

**Note**  
The `pcluster3-config-converter` command was added in Amazon ParallelCluster version 3.0.1.