State file not created when using s3 buckets

Join others learning Terraform and get certified. when I deploy a terraform script using workspace the states file dont get create on the s3 bucket.

@eddiefcisneros , Did you give IAM policy access to S3 bucket.

Yes it works when workspace is not in use

The example on the training video not very clear on remote state file when using workspaces.