This deployment option is intended for those who may not be in a position to use AWS Cloudformation, in cases where you do not have access or when CloudFormation is not an approved service within your company.
The Terraform code is contained in the terraform
directory of this project. All commands should be run from within this directory.
Modify the variables.tf
file with your target AWS Account and region.
variable "account_id" {
default = "123456789101"
}
variable "aws_region" {
default = "eu-west-1"
}
terraform init
terraform plan
terraform apply
Once deployed, follow these instructions to run Lambda Power Tuning.
If you're planning on deploying to multiple accounts or regions, it's recommended to adopt a folder strategy by either account or region. This will make sure you keep your statefile lightweight and plans/applies faster.
Run the below command to remove all resources from your account:
terraform destroy
Enter 'yes' at the confirmation prompt.
- 0.13.3
- 1.0.11
- 1.7.3
This should provide good coverage between those versions. If there's any problems, please raise an issue.