Difference between revisions of "Terraform import aws instance.my foo i-abcd1234"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
  
  
 +
 +
== See also ==
 
* {{terraform import}}
 
* {{terraform import}}
 +
 +
[[Category:Terraform]]

Revision as of 19:42, 22 June 2022

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)
}


See also

Advertising: