# getting-started


11/05/2021, 6:41 PM
Heya, I'm going through the initial exercise and I am getting a stack overflow with an extensive stack trace after modifying my initial application as described here: I won't paste the error as it's wildly long, but here's my application:
Copy code
package main

import (

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create an AWS resource (S3 Bucket)
		bucket, err := s3.NewBucket(ctx, "playground", nil)
		if err != nil {
			return err

		_, err = s3.NewBucketObject(ctx, "index.html", &s3.BucketObjectArgs{
			Bucket: bucket.ID(),
			Source: pulumi.NewFileAsset("index.html"),
		if err != nil {
			return err

		// Export the name of the bucket
		ctx.Export("bucketName", bucket.ID())
		return nil
Is there something I might be missing? The application runs fine until I introduce the NewBucketObject func call. Thanks in advance!
In searching the Slack it seems others experienced similar and the advice is to downgrade CLI. Perhaps that's the right approach?
I resolved the issue by updating my
to point to the newest version of pulumi