v1.5.0以上の機能。idが事前にわかってないとimportブロックは使えないそうだがどういうidはproviderのドキュメントを読め、とのこと。
import { to = aws_instance.example id = "i-abcd1234" } resource "aws_instance" "example" { name = "hashi" # (other resource arguments...) }
v1.5.0以上の機能。idが事前にわかってないとimportブロックは使えないそうだがどういうidはproviderのドキュメントを読め、とのこと。
import { to = aws_instance.example id = "i-abcd1234" } resource "aws_instance" "example" { name = "hashi" # (other resource arguments...) }