Skip to content

Commit

Permalink
fix: remove hardcoded imds URL
Browse files Browse the repository at this point in the history
  • Loading branch information
purpleclay committed Oct 10, 2022
1 parent e5d5489 commit 283f318
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ func awsConfig(opts *globalOptions) (aws.Config, error) {
optsFn = append(optsFn, config.WithRegion(opts.AWSRegion))
}

optsFn = append(optsFn, config.WithEC2IMDSEndpoint("http://localhost:1338/latest/meta-data/"))

return config.LoadDefaultConfig(context.Background(), optsFn...)
}

Expand Down

0 comments on commit 283f318

Please sign in to comment.