Skip to content

Commit

Permalink
update go module creation example
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteinich committed Sep 21, 2021
1 parent 0199d4a commit 0323f11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/go/aws/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
eks "github.com/hashicorp/terraform-cdk/examples/go/aws/generated/eks"
"github.com/hashicorp/terraform-cdk/examples/go/aws/generated/eks"
"github.com/hashicorp/terraform-cdk/examples/go/aws/generated/hashicorp/aws"

"github.com/aws/constructs-go/constructs/v10"
Expand All @@ -24,7 +24,7 @@ func NewExampleCdktfGoAwsStack(scope constructs.Construct, id string) cdktf.Terr
},
})

eks.NewAwsEksModule(stack, jsii.String("EKS"), &eks.AwsEksModuleOptions{
eks.NewEks(stack, jsii.String("EKS"), &eks.EksOptions{
ClusterName: jsii.String("my-eks"),
Subnets: jsii.Strings("a", "b"),
VpcId: jsii.String("id"),
Expand Down

0 comments on commit 0323f11

Please sign in to comment.