Skip to main content

pulumi_google_native 0.32.0+1 copy "pulumi_google_native: ^0.32.0+1" to clipboard
pulumi_google_native: ^0.32.0+1 copied to clipboard

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

example/main.dart

import 'package:pulumi/pulumi.dart' as pulumi;

import 'package:pulumi_google_native/storage.dart'
    as pulumi_google_native_storage;

class GoogleNativeStack extends pulumi.Stack {
  late final List<pulumi.OutputProperty> _outputProperties;

  GoogleNativeStack() {
    final config = pulumi.Config();
    final project0 = config.require('project');
    final bucketName = config.require('bucketName');
    final bucket = pulumi_google_native_storage.Bucket(
      'bucket',
      args: pulumi_google_native_storage.BucketArgs(
        name: pulumi.Input.asInput(bucketName),
        project: pulumi.Input.asInput(project0),
        location: pulumi.Input.asInput('US'),
      ),
    );

    _outputProperties = [
      pulumi.OutputProperty(
        'bucketName',
        pulumi.output(bucket.name).apply<Object?>((value) => value),
      ),
    ];
  }

  @override
  List<pulumi.OutputProperty> getOutputProperties() => _outputProperties;
}

Future<void> main() async {
  await pulumi.Deployment.runOrThrow(() => GoogleNativeStack());
}
0
likes
0
points
2
downloads

Documentation

API reference

Publisher

verified publisherglenfordwilliams.com

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Topics

#pulumi #google-cloud #category-cloud #kind-native

License

unknown (license)

Dependencies

pulumi

More

Packages that depend on pulumi_google_native