Skip to content

Commit

Permalink
dynamic holodeck ci instance name
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <shivaku@nvidia.com>
  • Loading branch information
shivakunv committed Dec 17, 2024
1 parent 75b15f3 commit d6fe7c5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkg/provider/aws/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,15 @@ func (p *Provider) createInternetGateway(cache *AWS) error {
p.log.Wg.Add(1)
go p.log.Loading("Creating Internet Gateway")

gwInput := &ec2.CreateInternetGatewayInput{}
gwInput := &ec2.CreateInternetGatewayInput{
VpcId: aws.String(cache.Vpcid),

Check failure on line 149 in pkg/provider/aws/create.go

View workflow job for this annotation

GitHub Actions / build

unknown field VpcId in struct literal of type ec2.CreateInternetGatewayInput
TagSpecifications: []types.TagSpecification{
{
ResourceType: types.ResourceTypeInternetGateway,
Tags: p.Tags,
},
},
}
gwOutput, err := p.ec2.CreateInternetGateway(context.TODO(), gwInput)
if err != nil {
p.fail()
Expand Down

0 comments on commit d6fe7c5

Please sign in to comment.