Skip to content

Commit

Permalink
use map string instead of map
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjib committed Apr 12, 2021
1 parent 905c63c commit ecde8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws-go-webserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit ecde8c1

Please sign in to comment.