I’m not seeing what the issue is. Are you getting an error? If so, what is that error?
The layers = declaration looks correct. What you’re doing looks correct to me from the AWS provider docs. You might also want to try (or search) the AWS provider category, where folks more familiar with that provider might help: AWS - HashiCorp Discuss
Thanks for the response. I am not getting any error. My request is different. Hope you referred the snip in my earlier post. I want to know how I can specify ARN in “aws_lambda_layer_version” resource? As per AWS Provider docs I dont find any argument reference to specify the ARN. So what I am expecting now is which argument reference I have to use to specify the ARN?
No Lambda was already created, now I am trying to add layer for that Lambda that is what my screenshot looks. Ok what ever it would be is fine but my request is how to create layer by specifying another Lambda ARN through terraform?