How to access AWS OIDC variables to run terraform using github action?

I am using the following github action to retrieve OIDC credentials to interact with AWS via Terraform Cloud:

https://github.com/aws-actions/configure-aws-credentials

The TF code must look something like this:

provider "aws" {
  region = "us-east-1"
  assume_role_with_web_identity {
    role_arn                = "arn:aws:iam::${var.account_id}:role/${var.assume_role_name}"
    web_identity_token_file = "/tmp/aws-oidc-credentials"
    # or use this:
    # web_identity_token = var.web_identity_token
  }
}

How can I use the built in action to generate this token file? I am completely lost.

Everything else works, but this is blocking me now