AWS Parameter Store parameters instead of variables


Is it possible for Terraform to use an aws_ssm_parameter data resource instead of specifying a variable’s value in a tfvars file? I have prepopulated the values in Parameter Store and trying to reference them gives only errors.

I would expect to supply only the AWS region and terraform to get retrieve the rest of the values from SSM.

Has anyone accomplished this?