Prerequisites
Requirements
Before you start, ensure you have the following:
An AWS IAM account with administrator access.
Ubuntu 20.04 LTS installed on your local machine.
SSL certificate generated for your domain/subdomain
AWS CLI installed on your machine.
To install follow the below steps
Verify AWS CLI Installation
Run the following command to check if AWS CLI is installed properly.
You should see the version of AWS CLI installed.
Configure AWS CLI
Use the AWS configure command to set up your credentials.
Enter your AWS Access Key ID, Secret Access Key, region, and output format when prompted.
Install terraform
Verify the key's fingerprint.
Download the package information from HashiCorp.
Install Terraform from the new repository.
Verify the installation
Verify that the installation worked by opening a new terminal session and listing Terraform's available subcommands.
Add any subcommand to terraform -help
to learn more about what it does and available options.
Last updated
Was this helpful?