anchor.diff:  		providers := getTestAccProviders(t.Name())
   		c.Providers = providers
   		defer closeRecorder(t)
  -	} else if isUpstreamDiffEnabled() {
  -		c = initializeUpstreamDiffTest(c)
  +	} else if isReleaseDiffEnabled() {
  +		c = initializeReleaseDiffTest(c)
   	}
   	resource.Test(t, c)
   }
  
positive.code: 			replacementSteps = append(replacementSteps, teststep)
  			if teststep.ExpectError == nil && teststep.PlanOnly == false {
  				newStep := resource.TestStep{
  					Config:   reformConfigWithProvider(ogConfig, upstreamProvider),
  					PlanOnly: true,
  				}
  				replacementSteps = append(replacementSteps, newStep)
  
negative.code: 	}
  }
  
  func isReleaseDiffEnabled() bool {
  	releaseDiff := os.Getenv("RELEASE_DIFF")
  	return releaseDiff != ""
  }
  
  func initializeReleaseDiffTest(c resource.TestCase) resource.TestCase {
  	var releaseProvider string
  	packagePath := fmt.Sprint(reflect.TypeOf(Config{}).PkgPath())
  	if strings.Contains(packagePath, "google-beta") {
  		releaseProvider = "google-beta"
  	} else {
  		releaseProvider = "google"
  	}
  
  	if c.ExternalProviders != nil {
  		c.ExternalProviders[releaseProvider] = resource.ExternalProvider{}
  	} else {
  		c.ExternalProviders = map[string]resource.ExternalProvider{
  			releaseProvider: {},
  		}
  	}
  
  