When creating a template from scratch there may be a validation error like this example: "Resource 'aws.iam.role1' is not supported in guardrails"
The most probable cause is that the resource is not yet supported.
Please refer to the curated templates and the product documentation for resource types that are currently supported.