I am using visual studio code for terraform development and handling the deployment through Azure Devops. During deployment I am using replace tokens task to replace gitUser and gitAccessToken (Personal access token) values, which works without any issues. But, I can't find a way during development in my local PC. Currently, I am masking the current source line and adding a new line with original values. Is there an alternate way of doing this?
module "az-resource-group" {
source = "git::https://#{gitUser}#:#{gitAccessToken}#@github.com/myorg/Module-RG"
resource_group_name = var.resource_group_name
location = var.location
tags = var.tags
}