Error: Missing required argument

From wikieduonline
Revision as of 19:47, 22 June 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search
│ Error: Missing required argument
│
│   with module.compute.aws_instance.this[0],
│   on ../path/to/your/terraformodule.tf  line 1, in resource "aws_instance" "this":
│    1: resource "aws_instance" "this" {
│
│ "launch_template": one of `ami,instance_type,launch_template` must be specified
╷
│ Error: Missing required argument
│
│   with aws_instance.your_name,
│   on main.tf line 6, in resource "aws_instance" "your_name,":
│    6: resource "aws_instance" "your_name," {
│
│ "ami": one of `ami,launch_template` must be specified
╵


╷
│ Error: Missing required argument
│
│   with module.db_aurora.module.db_option_group.aws_db_option_group.this[0],
│   on ../../modules/db_option_group/main.tf line 15, in resource "aws_db_option_group" "this":
│    15:   major_engine_version     = var.major_engine_version
│
│ The argument "major_engine_version" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│
│   with module.db_aurora.module.db_parameter_group.aws_db_parameter_group.this[0],
│   on ../../modules/db_parameter_group/main.tf line 14, in resource "aws_db_parameter_group" "this":
│   14:   family      = var.family
│
│ The argument "family" is required, but no definition was found.
╵


See also

Advertising: