Error launching source instance: InvalidSubnetID.NotFound

when i run my pipeline gitlab-ci.yml . i see during terraform apply i see following error

│ Error: Error launching source instance: InvalidSubnetID.NotFound: The subnet ID 'subnet-03xxxxxxxxxx' does not exist
│ 	status code: 400, 
│
│   with aws_instance.server1[0],
│   on main.tf line 24, in resource "aws_instance" "server1":
│   24: resource "aws_instance" "server1" {
│ 
╵
Cleaning up file based variables 
00:00

ERROR: Job failed: command terminated with exit code 1