Error creating direct connect connection LAG association Macsec at same time

A direct connect connection was previously created manually. We have created the LAG with terraform, but the association of the LAG with the connection is failing with the error:
DirectConnectClientException: Connection dxcon-ffw3wtre and lag should be requested Macsec at the same time

I don’t see any options in the terraform to turn MacSec on or off.

Can anyone help us resolve this error so the association can be created?