resource "aws_instance" "foo" { foo = "\ar" } output "value" {# value = "${aws_instance.foo.id}" }