

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# AWS ParallelCluster 适用于 Terraform
<a name="terraform-what-is"></a>

[从 AWS ParallelCluster 3.8.0 开始，您可以使用 Terraform 部署集群和自定义镜像。](https://www.terraform.io/)要开始使用此功能，请参阅 [Terraform Registry 中的 Terraform P AWS ParallelCluster rovid](https://registry.terraform.io/providers/aws-tf/aws-parallelcluster/latest) er。

**注意**  
您的账户中必须部署 [ParallelCluster API](https://docs.aws.amazon.com//parallelcluster/latest/ug/api-reference-v3.html) 才能使用该提供商。

使用下表来确定提供程序和 AWS ParallelCluster 版本之间的兼容性：


| 提供程序版本 | AWS ParallelCluster 版本 | 
| --- | --- | 
| 1.0.0 | 3.8.0-3.10.1 | 
| 1.1.0 | 3.11.0\+ | 

查看如何使用提供程序的[示例](https://github.com/aws-tf/terraform-provider-aws-parallelcluster/tree/main/examples)。

要获得更流畅的体验，请使用来 AWS ParallelCluster自 Terraform Registry [的官方 Terraform 模块](https://registry.terraform.io/modules/aws-tf/parallelcluster/aws/latest)。该模块让您能够部署：

1. ParallelCluster API 

1. ParallelCluster 使用 YAML 配置文件和 HCL 定义的集群

1.  ParallelCluster 集群所需的网络基础架构

查看如何使用该模块的[示例](https://github.com/aws-tf/terraform-aws-parallelcluster/tree/main/examples)。