Nothing Special   »   [go: up one dir, main page]

Skip to content

Latest commit

 

History

History

terraform

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Deploy with Terraform natively

Overview

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.

Before you start

Modify the variables.tf file with your target AWS Account and region.

variable "account_id" {
  default = "123456789101"
}
variable "aws_region" {
  default = "eu-west-1"
}

Deploy the solution

terraform init
terraform plan
terraform apply

Once deployed, follow these instructions to run Lambda Power Tuning.

Deploy to multiple accounts/regions

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.

Delete the solution

Run the below command to remove all resources from your account:

terraform destroy 

Enter 'yes' at the confirmation prompt.

Versions tested

  • 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.