terraform import aws instance.my foo i-abcd1234

From wikieduonline
Revision as of 19:40, 22 June 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

terraform import aws_instance.your_name i-00b1cf99a8fd118aa
Error: resource address "aws_instance.your_name" does not exist in the configuration.

Before importing this resource, please create its configuration in the root module. For example:

resource "aws_instance" "your_name" {
  # (resource arguments)
}


Advertising: