Error: Reference to undeclared resource
Revision as of 12:57, 20 September 2021 by Welcome (talk | contribs) (Created page with " terraform plan ╷ │ Error: Reference to undeclared resource │ │ on main.tf line 9, in resource "aws_instance" "example": │ 9: ami...")
terraform plan ╷ │ Error: Reference to undeclared resource │ │ on main.tf line 9, in resource "aws_instance" "example": │ 9: ami = data.aws_ami.windows.id │ │ A data resource "aws_ami" "windows" has not been declared in the root module.
See also
Advertising: