Terraform default values if SSM parameter not found

Hi,

Is there a way to set a default value when the Terraform data source aws_ssm_parameter parameter does not exist?

Thanks.