Difference between revisions of "Error: Missing required argument"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
│ 1: resource "aws_instance" "this" { | │ 1: resource "aws_instance" "this" { | ||
│ | │ | ||
− | │ "launch_template": one of `[[ami]],[[instance_type]],launch_template` must be specified | + | │ "[[launch_template]]": one of `[[ami]],[[instance_type]],launch_template` must be specified |
╷ | ╷ |
Revision as of 19:45, 22 June 2022
│ 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 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: