Skip to main content

list services which support Google VPC Service Controls

Project description

Google List VPC SC supported services

Scrapes the web page https://cloud.google.com/vpc-service-controls/docs/supported-products. This page describes which Google Cloud Platform services support VPC SC and at which support level: ga, beta or preview.

The utility prints out a Terraform style dictionary of string lists. The key is the status of the service in lowercase, the value an array of service names in that status. For example:

list-vpc-sc-supported-services

{
  beta = [
    "adsdatahub.googleapis.com",
    "cloudbuild.googleapis.com",
    ...
    "lifesciences.googleapis.com",
    "transcoder.googleapis.com",
  ]
  ga = [
    "accessapproval.googleapis.com",
    "aiplatform.googleapis.com",
    ...
    "vpcaccess.googleapis.com",
  ]
  preview = [
    "networkmanagement.googleapis.com",
    ...
  ]
}

updating Hashicorp template

You can programmatically update this template. If you have a variable vpc_sc_services in HCL:

locals {
  vpc_sc_services = {}
}

install hcledit and type:

         hcledit attributes set locals.vpc_sc_services \
         "$(list-vpc-sc-supported-services)" \
         --file locals.tf \
         --update

Caveats

  • It is a scraper, so your milage may vary. We are looking forward to a proper API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

list-vpc-sc-supported-services-0.1.0.tar.gz (7.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page