Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAWSInfo (0.45 sec)

  1. pkg/bootstrap/platform/aws.go

    func getRegion(ipv6 bool, headers map[string]string) string {
    	region, _ := getAWSInfo("placement/region", ipv6, headers)
    	return region
    }
    
    // getAvailabilityZone returns the AvailabilityZone that the instance is running in.
    func getAvailabilityZone(ipv6 bool, headers map[string]string) string {
    	az, _ := getAWSInfo("placement/availability-zone", ipv6, headers)
    	return az
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top