From ecde8c1f50d513cff5640f5119e1e7d7d8029f32 Mon Sep 17 00:00:00 2001 From: Ranjib Dey Date: Mon, 12 Apr 2021 12:09:16 -0700 Subject: [PATCH] use map string instead of map --- aws-go-webserver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-go-webserver/main.go b/aws-go-webserver/main.go index 8015452a7..d9173fa59 100644 --- a/aws-go-webserver/main.go +++ b/aws-go-webserver/main.go @@ -40,7 +40,7 @@ func main() { // Create a simple web server using the startup script for the instance. srv, err := ec2.NewInstance(ctx, "web-server-www", &ec2.InstanceArgs{ - Tags: pulumi.Map{"Name": pulumi.String("web-server-www")}, + Tags: pulumi.MapString{"Name": pulumi.String("web-server-www")}, InstanceType: pulumi.String("t2.micro"), // t2.micro is available in the AWS free tier. VpcSecurityGroupIds: pulumi.StringArray{group.ID()}, Ami: pulumi.String(ami.Id),