https://pulumi.com logo
Title
e

early-musician-41645

10/25/2018, 4:51 PM
this is failing:
bucketObject = s3.BucketObject("some/foo/path/my-bucket-object", { bucket: bucket.bucket, content: "hello foo world" })
bucketObject = s3.BucketObject("some/foo/path/my-bucket-object", { bucket: bucket.bucket, content: "hello foo world" })
    NameError: name 'content' is not defined
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
I'm just looking for the actual arguments that go in the constructor. The doc you posted says this:
new BucketObject(name: string, args: BucketObjectArgs, opts?: pulumi.CustomResourceOptions)
Create a BucketObject resource with the given unique name, arguments, and options.

name The unique name of the resource.
args The arguments to use to populate this resource's properties.
opts A bag of options that control this resource's behavior.
But I'm not sure what the args or opts are supposed to be