This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "google_data_fusion_instance" "create_instance" { | |
name = var.instance_name | |
description = var.description | |
region = var.region | |
type = var.cdf_version | |
enable_stackdriver_logging = true | |
enable_stackdriver_monitoring = true | |
labels = { | |
instance_owner = var.instance_owner | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.cloud import pubsub_v1 | |
import subprocess | |
import requests | |
import json | |
import os | |
import time | |
# get the access token for the API call | |
def get_access_token(): |
NewerOlder