Errata

Terraform: Up & Running

Errata for Terraform: Up & Running, Second Edition

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
?
Chapter 2, "Install Terraform", "Deploy a Single Server"

The hyperlink for `aws_instance resource` should be updated to `https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance`, which drops the `.html` suffix.

R. Aidan Campbell  Mar 28, 2022 
Printed Page 107
Code block starting near the top of the page

The specified combination of instance_class and engine appears to have been deprecated, resulting in an apply error similar to:

InvalidParameterCombination: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.t2.micro, Engine=mysql, EngineVersion=8.0.35, LicenseModel=general-public-license. For supported combinations of instance class and database engine version, see the documentation.

That is reflected in the AWS documentation, which says that MySQL support on t2.micro has been deprecated.

Changing this to a t3.micro resolves the error and stays within the free tier.

Anonymous  May 21, 2024 
Other Digital Version 216
First paragraph after the code

aws_alb and the correct is aws_lb

Gustavo Rojas  Nov 07, 2022