Reference variable within workflow

I’m unsure if this is even possible…

I have env defined in my workflow, however one of the parameter needs to be built off of another.

name: build-and-deploy

on:
push:
branches: [ dev ]

env:
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
> s3_bucket: s3://examplebucket-${{ secrets.ACCOUNT_ID }}-us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}

Under s3_bucket, I am attempting to reference the ACCOUNT_ID. I have tried the displayed attempt as well as: s3://examplebucket-$ACCOUNT_ID-us-east-1. In either case, the workflow is not appropriately reading the account ID. There’s a syntax error. Is it possible to reference a variable within env?

Thank you.