anchor.diff:  # [START dns_domain_tutorial]
   # to setup a web-server
   resource "google_compute_instance" "default" {
  +  provider     = google-beta
     name         = "<%= ctx[:vars]['dns_compute_instance'] %>"
     machine_type = "g1-small"
     zone         = "us-central1-b"
  
positive.code: 
  # to create a DNS zone
  resource "google_dns_managed_zone" "<%= ctx[:primary_resource_id] %>" {
    name          = "<%= ctx[:vars]['example_zone_googlecloudexample'] %>"
    dns_name      = "googlecloudexample.com."
    description   = "Example DNS zone"
  
negative.code: 
  # to register web-server's ip address in DNS
  resource "google_dns_record_set" "default" {
    provider     = google-beta
    name         = google_dns_managed_zone.default.dns_name
    managed_zone = google_dns_managed_zone.default.name
    type         = "A"
  