I have a json policy created on the aws console. Now this has to be split environmental based. like test, dev, stage etc. My policy name is p-dia-stage-ec2-capacity-reservation for stage env.
How do I reference it in terraform policy.tf, so that it can call the json file?
Any examples will help me