Based on the comments.
I verified the data.aws_ami.jenkins_master_ami
using my own sandbox account, and the data source definition is correct.
It returns AMI named packer-jenkins-master-2.249.3
as expected, if it exists in the given region and account.
CLICK HERE to find out more related problems solutions.