Network policy logs not visible Anthos on AWS Cluster

Problem

Unable to see network policy logs for Anthos clusters on AWS.

Environment

  • Anthos Cluster on AWS

Solution

  1. Create IAM bindings in order for observability agents to send logs to Cloud Logging.

Cause

No IAM binding is configured.