I have used this code to create Instance const eip...
# aws
c
I have used this code to create Instance const eip = new aws.ec2.Eip("myeip"); const securityGroup = new aws.ec2.SecurityGroup("mysecuritygroup", { ingress: [ { protocol: "tcp", fromPort: 80, toPort: 80, cidrBlocks: ["0.0.0.0/0"] }, ], }); const vpc = new aws.ec2.Vpc("myvpc", { cidrBlock: "10.0.0.0/16" }) const internetGateway = new aws.ec2.InternetGateway("myinternetgateway", { vpcId: vpc.id, }); const publicRouteTable = new aws.ec2.RouteTable("myroutetable", { routes: [ { cidrBlock: "0.0.0.0/0", gatewayId: internetGateway.id, }, ], vpcId: vpc.id, }); I was able to create security groups, eip & vpc but the code doesn't able to create the instance. Can anyone help me creating instance using pulumi
h
can't see new aws.ec2.Instance