User permission issue with tomcat

Hi All,

I am trying to execute terraform scripts kept in Linux OS with a web application. Since web application is running from the tomcat user, terraform state file is getting tomcat user as owner and gets permission issues, while executing the script.

Is there any way we can give tomcat user permission to execute the state file or any other alternative?
Please let me know for any suggestions.

Rahul Jha