Editing Terraform import aws instance.my foo i-abcd1234

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
terraform import aws_instance.YOUR_NAME i-00b1cf99a8fd118aa
 
aws_instance.YOUR_NAME: Importing from ID "i-00b1cf99a8fd118aa"...
 
aws_instance.YOUR_NAME: Import prepared!
 
  Prepared aws_instance for import
 
aws_instance.YOUR_NAME: Refreshing state... [id=i-00b1cf99a8fd118aa]
 
 
Import successful!
 
 
The resources that were imported are shown above. These resources are now in
 
your Terraform state and will henceforth be managed by Terraform.
 
 
 
== Errors ==
 
 
  terraform import [[aws_instance]].your_name i-00b1cf99a8fd118aa
 
  terraform import [[aws_instance]].your_name i-00b1cf99a8fd118aa
 
  Error: resource address "aws_instance.your_name" does not exist in the configuration.
 
  Error: resource address "aws_instance.your_name" does not exist in the configuration.

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: