Depends_on is throwing error Q9

I am trying the following labs:-

Issue:-

Error: Invalid combination of arguments

on main.tf line 6, in resource “local_file” “krill”:
6: resource “local_file” “krill” {

“sensitive_content”: one of content,content_base64,sensitive_content,source
must be specified

main.tf as below

resource “local_file” “whale” {
filename = “/root/whale”
depends_on = [local_file.krill]
}
resource “local_file” “krill” {
filename = “/root/krill”
}

Hello phanikrishna111,
Thanks for highlighting this to us.
It seems like “content” option started to be a mandatory for creating local file but the Documentation is not updated yes on terraform site.
We have reported this issue to the team and will try to resolve it on priority and add this in the solution part.
Appreciate your patience and apologies for the inconvenience caused. mean while please add the content option in the resource block in the lab in order to get it succeed.
Thanks,
KodeKloud Support