Cross-platform scripts and Terraform configurations for doing cool things with AWS VPC, ELB, and Route 53.
This repository contains both PowerShell scripts and Terraform configurations for setting up AWS lab environments.
If you don't already have the AWS PowerShell SDK installed, install-awspowershell.ps1 has got you covered. It will detect your PowerShell edition (Desktop or Core) and install and import the appropriate AWS PowerShell module.
. ./install-awspowershell.ps1I recommend using Visual Studio Code with the PowerShell extension. It works on Linux, Mac, and Windows!
If you prefer infrastructure-as-code with Terraform, configurations are available for some lab modules. To use these:
- Ensure you have Terraform installed.
- Navigate to the
terraformdirectory within the module folder. - Run
terraform initandterraform apply.
- PowerShell: Refer to vpc/lab-setup.md for setup instructions.
- PowerShell: Refer to elb/lab-setup.md for setup instructions.
- Terraform: Configuration available in elb/terraform.
- PowerShell: Refer to route53/lab-setup.md for setup instructions.
- Terraform: Configuration available in route53/terraform.
- Scripts for AWS Config are in the cfg directory.
Baked with love for PowerShell Core and Terraform!