I was reading Terraform's docs and I found these two commands:
$ terraform import aws_instance.foo i-abcd1234
$ terraform import module.foo.aws_instance.bar i-abcd1234
So I was wondering what's the practical difference within terraform's state when you execute these two commands.
Thanks in advance!
question from:https://stackoverflow.com/questions/65879110/difference-between-importing-into-module-and-importing-into-resource-in-terr