aws_eks_access_policy_association

Nivis Nix constructor for the aws_eks_access_policy_association resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  cluster_name,
  policy_arn,
  principal_arn,
  id ? null,
  region ? null,
  access_scope ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • cluster_name
  • policy_arn
  • principal_arn
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • access_scope (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • associated_at
  • modified_at
Example
aws_eks_access_policy_association {
  name = "eks_access_policy_association";
  cluster_name = …;  # required
  policy_arn = …;  # required
  principal_arn = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.