Error Creating FSX using terraform

I seem to be running into an error with my FSX build using terraform and I dont understand the error as the API error is a generic one that doesnt make sense to me what Im doing wrong. Has anyone had this error before?

Windows Terminal

Error: Error creating FSx filesystem: BadRequest: 1 validation error detected: Value ‘[aws_subnet.subnetAZ1.id]’ at ‘s
ubnetIds’ failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to
24, Member must have length greater than or equal to 15, Member must satisfy regular expression pattern: ^(subnet-[0-
9a-f]{8,})$]
status code: 400, request id: 81598879-8b84-4012-9bd1-37e3bdba6b3d

on …\modules\fsx\main.tf line 89, in resource “aws_fsx_windows_file_system” “fsxaz1”:
89: resource “aws_fsx_windows_file_system” “fsxaz1” {

Figured this out. Even though interpolating isnt allowed in later version of Terraform you need to interpolate your subnetIDs