Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pulumi/gcp

Package Overview
Dependencies
Maintainers
2
Versions
1056
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulumi/gcp

A Pulumi package for creating and managing Google Cloud Platform resources.

  • 8.11.0-alpha.1733745144
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
299K
decreased by-16.14%
Maintainers
2
Weekly downloads
 
Created

What is @pulumi/gcp?

@pulumi/gcp is a Pulumi package that allows developers to create, deploy, and manage Google Cloud Platform (GCP) resources using Pulumi's infrastructure as code approach. It provides a wide range of functionalities to manage various GCP services such as Compute Engine, Cloud Storage, BigQuery, and more.

What are @pulumi/gcp's main functionalities?

Compute Engine

This feature allows you to create and manage Google Compute Engine instances. The code sample demonstrates how to create a new Compute Engine instance with specific configurations.

const gcp = require('@pulumi/gcp');
const compute = new gcp.compute.Instance('my-instance', {
  machineType: 'f1-micro',
  zone: 'us-central1-a',
  bootDisk: {
    initializeParams: {
      image: 'debian-cloud/debian-9'
    }
  },
  networkInterfaces: [{
    network: 'default',
    accessConfigs: [{}]
  }]
});

Cloud Storage

This feature allows you to create and manage Google Cloud Storage buckets. The code sample demonstrates how to create a new Cloud Storage bucket with specific configurations.

const gcp = require('@pulumi/gcp');
const bucket = new gcp.storage.Bucket('my-bucket', {
  location: 'US',
  forceDestroy: true
});

BigQuery

This feature allows you to create and manage Google BigQuery datasets. The code sample demonstrates how to create a new BigQuery dataset with specific configurations.

const gcp = require('@pulumi/gcp');
const dataset = new gcp.bigquery.Dataset('my-dataset', {
  datasetId: 'my_dataset',
  friendlyName: 'My Dataset',
  description: 'A sample dataset'
});

Cloud Functions

This feature allows you to create and manage Google Cloud Functions. The code sample demonstrates how to create a new Cloud Function with specific configurations.

const gcp = require('@pulumi/gcp');
const function = new gcp.cloudfunctions.Function('my-function', {
  runtime: 'nodejs10',
  entryPoint: 'helloWorld',
  sourceArchiveBucket: bucket.name,
  sourceArchiveObject: bucketObject.name,
  triggerHttp: true
});

Other packages similar to @pulumi/gcp

Keywords

FAQs

Package last updated on 09 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc