early-musician-41645
10/25/2018, 4:51 PMbucketObject = 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 beNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by