An argument named “root_block_device” is not expected here. Did you mean to define a block of type “root_block_device”?
In the Terraform script to create an AWS EC2 instance, we can specify the volume sizes. Separate arguments describe the root and data volumes. This feature enables the script to create the volumes without specifying the connection attributes in another…
Error: Failed to instantiate provider “aws” to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]
When a provider has been updated outside of Terraform, (for example in Terraformer) Terraform can get out of sync with that provider version. terraform init works, but terraform plan throws the error message: Error: Failed to instantiate provider…
Using Terraform
To generate graphs with Terraform Open a terminal window in the Terraform script directory Execute the command terraform graph | dot -Tsvg > graph.svg
Execute Terraform scripts with Octopus
Terraform is a very powerful, free command-line tool to launch servers in any cloud or virtual machine environment. Hashicorp, the creator of Terraform just introduced the paid Terraform Enterprise server, that orchestrates the execution of the Terraform…
amazon-ebs: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
When you launch a Linux AWS EC2 instance with Terraform or create a Linux AWS image with Packer, one of the following errors are displayed: amazon-ebs: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none…
SQL Server AWS RDS instance ALARM FreeableMemory <=... MB
The SQL database servers use the available memory for caching to speed up the database operation. If we do not restrict the SQL database server memory usage, the operating system will not have enough memory to run. This setting is also necessary for an…
Terraform provider.aws: no suitable version installed
The new versions of Terraform do not contain all plugins after the application installation. When you try to access a provider the first time, Terraform may not be able to communicate with it. * provider.aws: no suitable version installed version…
Setup failed: Failed to copy slug dir: lstat /Users: no such file or directory error in Terraform Enterprise
When you try to execute a Terraform configuration in Terraform Enterprise (Atlas) you may get the error message: Setup failed: Failed to copy slug dir: lstat /Users: no such file or directory Cause: The Git repository contains the .terraform/modules…
Create a Terraform Enterprise environment
If you just start to work with Terraform Enterprise, you need to create a Terraform environment. Preparation GitHub account To access GitHub from Terraform Enterprise, create a GitHub team and account with admin access to the GitHub repository that will…
Terraform Enterprise Administration
Create a new organization In your web browser navigate to https://atlas.hashicorp.com/help/organizations, On the left menu bar under Organizations click Create, In the middle of the screen click the new organization page link, Enter the email address and…