macro_rules! attribute { ($($attr:tt)+) => { ... }; }
Construct an hcl::Attribute from a key and a value expression.
hcl::Attribute
For supported syntax see the body! macro documentation.
body!
use hcl::Attribute; assert_eq!(hcl::attribute!(foo = "bar"), Attribute::new("foo", "bar"));