Created
June 23, 2024 05:46
-
-
Save glendmaatita/d54f13f8f0e686d8ce537debd9d0fa43 to your computer and use it in GitHub Desktop.
Pulumi Getting Started
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
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