Skip to content

Instantly share code, notes, and snippets.

@glendmaatita
Created June 23, 2024 05:46
Show Gist options
  • Save glendmaatita/d54f13f8f0e686d8ce537debd9d0fa43 to your computer and use it in GitHub Desktop.
Save glendmaatita/d54f13f8f0e686d8ce537debd9d0fa43 to your computer and use it in GitHub Desktop.
Pulumi Getting Started
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
// Create an AWS S3 bucket
const bucket = new aws.s3.Bucket("my-bucket", {
website: {
indexDocument: "index.html",
},
});
// Export the name of the bucket
export const bucketName = bucket.bucket;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment