anchor.diff:    
   # Deploy Cloud Run service
   resource "google_cloud_run_service" "<%= ctx[:primary_resource_id] %>" {
  +  provider = google-beta
     name     = "<%= ctx[:vars]['cloudrun_hello_tf'] %>"
     location = "us-east1"
   
  
positive.code:       
  # Make Cloud Run service publicly accessible
  resource "google_cloud_run_service_iam_member" "allUsers" {
    service  = google_cloud_run_service.default.name
    location = google_cloud_run_service.default.location
    role     = "roles/run.invoker"
  
negative.code: # [START eventarc_terraform_enableapis]
  # Used to retrieve project_number later
  data "google_project" "project" {
    provider = google-beta
  }
          
  # Enable Cloud Run API
  resource "google_project_service" "run" {
    provider = google-beta
    service            = "run.googleapis.com"
    disable_on_destroy = false
  }
      
  # Enable Eventarc API
  resource "google_project_service" "eventarc" {
    provider = google-beta
    service            = "eventarc.googleapis.com"
    disable_on_destroy = false
  }
  