Import a Resource to Terraform Module


The example below will import an AWS instance into a terraform module:

$ terraform import module.foo.aws_instance.bar i-abcd1234

Leave a Reply