This repository contains Terraform configurations that deploy an Amazon FSx for Windows File Server and an associated Windows EC2 instance used for configuring the FSx file system.
- Amazon Web Services (AWS) account.
- Terraform 0.14 installed on your computer. Check out HasiCorp documentation on how to install Terraform.
- Configure your AWS access keys as environment variables:
$ export AWS_ACCESS_KEY_ID=(your access key id)
$ export AWS_SECRET_ACCESS_KEY=(your secret access key)
- Clone this repository:
$ git clone https://github.com/RaduLupan/terraform-fsxwin-aws.git
$ cd terraform-fsxwin-aws
- Deploy Amazon FSx for Windows File Server:
$ cd deploy
$ terraform init
$ terraform apply
- Deploy an AD domain-joined EC2 instance to use for configuring the FSx file system:
$ cd configure
$ terraform init
$ terraform apply