Imports github.com/aws/aws-sdk-go/aws/client github.com/aws/aws-sdk-go/aws/ec2metadata github.com/aws/aws-sdk-go/aws/awserr github.com/aws/aws-sdk-go/aws/credentials Standard library imports bufio encoding/json fmt path strings time