The AMI ID provided in the source_ami
is not valid.
The AMI ID provided in the image_id
field of AWS launch configuration resource is not valid.
Terraform allows you to source modules from source control repositories. If you do not pin the revision to use, the dependency you require may introduce unexpected breaking changes. To prevent this, always specify an explicit version to check out. Pinning to a mutable reference, such as a branch, still allows for unintended breaking changes. Semver style can help avoid this.
Value provided in engine_type
for AWS MQ is not valid. Please check AWS Broker Engine Types for vilid values.
excess_capacity_termination_policy
TF-L0053excess_capacity_termination_policy
value provided for Amazon EC2 SpotFleetRequestConfigData
is not valid. This field indicates whether running Spot Instances
should be terminated if you decrease the target capacity of the Spot Fleet
request below the current size of the Spot Fleet
.
When you create an Application Load Balancer, you must specify one of the following types of subnets: Availability Zone
, Local Zone
, or Outpost
. Here, the ALB subnet id is not valid. Ref: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#subnets-load-balancer
AWS DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region. The requirements for a valid DBSubnetGroupName
are:
OptionGroupName
TF-L0004The OptionGroupName
provided is not valid. Here are the constraints: - Must be 1 to 255 letters, numbers, or hyphens
Each Virtual Private Cloud security group rule enables a specific source to access a DB instance in a VPC that is associated with that VPC security group. The security group provided in the configuration doesn't look valid here. Ref: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
Terraform v0.12 introduces a new interpolation syntax, but continues to support the old 0.11-style interpolation syntax for compatibility. Terraform will currently print diagnostic warnings when deprecated interpolations are used. Consistent with its deprecation policy, they will raise errors in the next major release (v0.13). It is recommended to switch to the new interpolation syntax.
Terraform v0.12
supports traditional square brackets for accessing list items by index. However, for backward compatibility with v0.11
, Terraform continues to support accessing list items with the dot syntax normally used for attributes. While Terraform does not print warnings for this syntax, it is no longer documented and its use is discouraged.
Terraform will ignore variables and locals that are not used. It will refresh declared data sources regardless of usage. However, unreferenced variables likely indicate either a bug (and should be referenced) or removed code (and should be removed).
terraform
declarations without require_version
TF-L0046The required_version
setting can be used to constrain which versions of the Terraform CLI can be used with your configuration. If the running version of Terraform doesn't match the constraints specified, Terraform will produce an error and exit without taking any further actions. It is recommended to add the required_version attribute to the terraform configuration block.
All providers should have version constraints through required_providers
. Providers are plugins released on a separate rhythm from Terraform itself, and so they have their own version numbers.
Amazon S3 access control lists (ACLs) enable you to manage access to buckets and objects. Each bucket and object has an ACL attached to it as a subresource. It defines which AWS accounts or groups are granted access and the type of access.
An invalid region has been provided to AWS S3 bucket resource. The available regions are: - EU
In a Virtual Private Cloud, you provide the security group for your load balancer, which enables you to choose the ports and protocols to allow. Here, the security group provided is not valid.
ParameterGroupName
for AWS DB instance TF-L0005The ParameterGroupName
provided is not valid. Here are the constraints: - Must be 1 to 255 letters, numbers, or hyphens.
An invalid AWS DB instance type has been provided. This is an error. Please check available instance types for more info.
aws_route
resource TF-L0030The routing target is not specified for the aws_route
resource. Each aws_route
must contain either of these: - egress_only_gateway_id