white-balloon-205
.get
methods, you always need to provide an id
, 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 Read
method, which is unfortunately not documented robustly. Most of the AWS resources don't require anything beyond the id
, but some do. In particular, aws_lambda_function
in Terraform does use the name
and optionally the qualifier
to look up the function instead of using the id
.
That error message doesn't look great though - and I suspect we can report a better error message in this case.