methods, you always need to provide an
, and sometimes need to provide additional property values. What is required here is ultimately based on what the semantics of the underlying Terraform AWS provider
method, which is unfortunately not documented robustly. Most of the AWS resources don't require anything beyond the
, but some do. In particular,
in Terraform does use the
and optionally the
to look up the function instead of using the
. That error message doesn't look great though - and I suspect we can report a better error message in this case.