Is it possible to push custom report definitions to an Edge BYOC environment using the GC Terraform provider?
Current setup: AU-1 BYOC. Terraform provider version 1.3.1. GitHub Actions workflow for automated deployment.
Plan succeeds. Apply fails with 403 Forbidden.
Endpoint: /api/v2/analytics/report-definitions
Method: POST
Error snippet from terraform apply:
Error creating Analytics Report Definition: 403 Forbidden
Body: {"code":"unauthorized","message":"User does not have permission to perform this action","details":[]}
Verified service account permissions. Has analytics:read, analytics:write, reporting:read, reporting:write. Also added edge:admin just in case. Still 403.
Local API call using same token works fine. The issue seems specific to the Terraform provider or the Edge endpoint routing.
Tried adding depends_on to ensure edge resources are created first. No change.
Any known issues with analytics resources in BYOC via IaC? Or is this a permission scope gap I am missing?