Setup
1. System Requirements
Operating System: Terraform supports multiple operating systems such as Linux, macOS, and Windows.
Version: The latest version of Terraform, ensuring compatibility with the cloud service providers you are using.
Internet access: To download Terraform and plugins.
2. Installing Terraform
On macOS:
Using Homebrew:
brew tap hashicorp/tapbrew install hashicorp/tap/terraform
On Ubuntu:
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install terraform
On Windows:
Download from the Terraform Download Page.
Extract the file and add the Terraform path to the PATH environment variable.
3. Check Installation
Check the Terraform version:
terraform -v
4. How to obtain the token for FptCloud Terraform
Go to Sidebar -> select Token
5. Initialize FPT Cloud Provider
Check the version and installation instructions for the FPT Cloud Provider on the Terraform page:
Use the "terraform init" command to install the FPT Cloud Provider:
FPT Cloud connection script:
Create an access token to connect to FPT Cloud:
Use the access token to connect to FPT Cloud:
Last updated
