Terraform on Google Cloud

S3CloudHub - Mar 25 '23 - - Dev Community

IMAGE ALT TEXT HERE

Complete all prerequisites to begin using the AWS SAM CLI with your Terraform projects.

Install Python 3.6 or newer
Python 3.6 or newer is required for use with the AWS SAM CLI. For installation instructions, see Downloading Python in Python's Beginners Guide.

Verify that Python 3.6 or newer is added to your machine path by running:

python --version
The output should display a version of Python that is 3.6 or newer.

Install or upgrade the AWS SAM CLI
To check if you have the AWS SAM CLI installed, run the following:

sam --version
If the AWS SAM CLI is already installed, the output will display a version. To upgrade to the newest version, see Upgrading the AWS SAM CLI.

For instructions on installing the AWS SAM CLI along with all of its prerequisites, see Installing the AWS SAM CLI.

Install Terraform
To check if you have Terraform installed, run the following:

terraform -version
To install Terraform, see Install Terraform in Terraform's Developer Documentation.

Install Docker for local testing
The AWS SAM CLI requires Docker for local testing. To install Docker, see Installing Docker to use with the AWS SAM CLI.

Install the make tool (Windows only)
Make is a package manager and installer for Windows. To install using Chocolatey, see Using Chocolatey in How to Install and Use "Make" in Windows.

Next steps
You're now ready to begin using the AWS SAM CLI with your Terraform projects. To learn more, see:

Better together: AWS SAM CLI and HashiCorp Terraform – Tutorial on using the AWS SAM CLI with Terraform.

Using the AWS SAM CLI with Terraform for local debugging and testing – Documentation on using the AWS SAM CLI with Terraform.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .