I have my EKS specific user configuration in a json file that I want to load into terraform to apply it.
I use the data_source aws_iam_policy_document
resource "aws_iam_policy_document" "ops_manager" {
policy = file("templates/eks_user_policy.json")
}
Unfortunately when i run terraform plan i got this:
The provider provider.aws does not support resource type
"aws_iam_policy_document".
terraform version: v0.14.9