Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Resources: Shared Image Galleries (#1987)
* Registeringg the Image Galleries clients * Validation for Shared Image Versions ``` $ go test -v ./azurerm/helpers/validate/ === RUN TestSharedImageGalleryName === RUN TestSharedImageGalleryName/#00 === RUN TestSharedImageGalleryName/a.b.c === RUN TestSharedImageGalleryName/1.2.3 === RUN TestSharedImageGalleryName/0.0.1 === RUN TestSharedImageGalleryName/hello === RUN TestSharedImageGalleryName/1.2.3.4 === RUN TestSharedImageGalleryName/hell0-there --- PASS: TestSharedImageGalleryName (0.00s) --- PASS: TestSharedImageGalleryName/#00 (0.00s) --- PASS: TestSharedImageGalleryName/a.b.c (0.00s) --- PASS: TestSharedImageGalleryName/1.2.3 (0.00s) --- PASS: TestSharedImageGalleryName/0.0.1 (0.00s) --- PASS: TestSharedImageGalleryName/hello (0.00s) --- PASS: TestSharedImageGalleryName/1.2.3.4 (0.00s) --- PASS: TestSharedImageGalleryName/hell0-there (0.00s) === RUN TestIPv4Address === RUN TestIPv4Address/#00 === RUN TestIPv4Address/0.0.0.0 === RUN TestIPv4Address/1.2.3.no === RUN TestIPv4Address/text === RUN TestIPv4Address/1.2.3.4 === RUN TestIPv4Address/12.34.43.21 === RUN TestIPv4Address/100.123.199.0 === RUN TestIPv4Address/255.255.255.255 --- PASS: TestIPv4Address (0.00s) --- PASS: TestIPv4Address/#00 (0.00s) --- PASS: TestIPv4Address/0.0.0.0 (0.00s) --- PASS: TestIPv4Address/1.2.3.no (0.00s) --- PASS: TestIPv4Address/text (0.00s) --- PASS: TestIPv4Address/1.2.3.4 (0.00s) --- PASS: TestIPv4Address/12.34.43.21 (0.00s) --- PASS: TestIPv4Address/100.123.199.0 (0.00s) --- PASS: TestIPv4Address/255.255.255.255 (0.00s) === RUN TestIPv4AddressOrEmpty === RUN TestIPv4AddressOrEmpty/#00 === RUN TestIPv4AddressOrEmpty/0.0.0.0 === RUN TestIPv4AddressOrEmpty/1.2.3.no === RUN TestIPv4AddressOrEmpty/text === RUN TestIPv4AddressOrEmpty/1.2.3.4 === RUN TestIPv4AddressOrEmpty/12.34.43.21 === RUN TestIPv4AddressOrEmpty/100.123.199.0 === RUN TestIPv4AddressOrEmpty/255.255.255.255 --- PASS: TestIPv4AddressOrEmpty (0.00s) --- PASS: TestIPv4AddressOrEmpty/#00 (0.00s) --- PASS: TestIPv4AddressOrEmpty/0.0.0.0 (0.00s) --- PASS: TestIPv4AddressOrEmpty/1.2.3.no (0.00s) --- PASS: TestIPv4AddressOrEmpty/text (0.00s) --- PASS: TestIPv4AddressOrEmpty/1.2.3.4 (0.00s) --- PASS: TestIPv4AddressOrEmpty/12.34.43.21 (0.00s) --- PASS: TestIPv4AddressOrEmpty/100.123.199.0 (0.00s) --- PASS: TestIPv4AddressOrEmpty/255.255.255.255 (0.00s) === RUN TestMACAddress === RUN TestMACAddress/#00 === RUN TestMACAddress/text_d === RUN TestMACAddress/12:34:no === RUN TestMACAddress/123:34:56:78:90:ab === RUN TestMACAddress/12:34:56:78:90:NO === RUN TestMACAddress/12:34:56:78:90:ab === RUN TestMACAddress/ab:cd:ef:AB:CD:EF --- PASS: TestMACAddress (0.00s) --- PASS: TestMACAddress/#00 (0.00s) --- PASS: TestMACAddress/text_d (0.00s) --- PASS: TestMACAddress/12:34:no (0.00s) --- PASS: TestMACAddress/123:34:56:78:90:ab (0.00s) --- PASS: TestMACAddress/12:34:56:78:90:NO (0.00s) --- PASS: TestMACAddress/12:34:56:78:90:ab (0.00s) --- PASS: TestMACAddress/ab:cd:ef:AB:CD:EF (0.00s) === RUN TestPortNumber === RUN TestPortNumber/-1 === RUN TestPortNumber/0 === RUN TestPortNumber/1 === RUN TestPortNumber/8477 === RUN TestPortNumber/65535 === RUN TestPortNumber/65536 === RUN TestPortNumber/7000000 --- PASS: TestPortNumber (0.00s) --- PASS: TestPortNumber/-1 (0.00s) --- PASS: TestPortNumber/0 (0.00s) --- PASS: TestPortNumber/1 (0.00s) --- PASS: TestPortNumber/8477 (0.00s) --- PASS: TestPortNumber/65535 (0.00s) --- PASS: TestPortNumber/65536 (0.00s) --- PASS: TestPortNumber/7000000 (0.00s) === RUN TestPortNumberOrZero === RUN TestPortNumberOrZero/-1 === RUN TestPortNumberOrZero/0 === RUN TestPortNumberOrZero/1 === RUN TestPortNumberOrZero/8477 === RUN TestPortNumberOrZero/65535 === RUN TestPortNumberOrZero/65536 === RUN TestPortNumberOrZero/7000000 --- PASS: TestPortNumberOrZero (0.00s) --- PASS: TestPortNumberOrZero/-1 (0.00s) --- PASS: TestPortNumberOrZero/0 (0.00s) --- PASS: TestPortNumberOrZero/1 (0.00s) --- PASS: TestPortNumberOrZero/8477 (0.00s) --- PASS: TestPortNumberOrZero/65535 (0.00s) --- PASS: TestPortNumberOrZero/65536 (0.00s) --- PASS: TestPortNumberOrZero/7000000 (0.00s) === RUN TestRFC3339Time === RUN TestRFC3339Time/#00 === RUN TestRFC3339Time/this_is_not_a_date === RUN TestRFC3339Time/2000-01-01 === RUN TestRFC3339Time/2000-01-01T01:23:45 === RUN TestRFC3339Time/2000-01-01T01:23:45Z === RUN TestRFC3339Time/2000-01-01T01:23:45+00:00 --- PASS: TestRFC3339Time (0.00s) --- PASS: TestRFC3339Time/#00 (0.00s) --- PASS: TestRFC3339Time/this_is_not_a_date (0.00s) --- PASS: TestRFC3339Time/2000-01-01 (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45 (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45Z (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45+00:00 (0.00s) === RUN TestRfc3339DateInFutureBy === RUN TestRfc3339DateInFutureBy/empty === RUN TestRfc3339DateInFutureBy/not_a_time === RUN TestRfc3339DateInFutureBy/now_is_not_1_hour_ahead === RUN TestRfc3339DateInFutureBy/now_+_7_hours_is_not_1_hour_ahead === RUN TestRfc3339DateInFutureBy/now_+_7_min_is_7_min_ahead === RUN TestRfc3339DateInFutureBy/now_+_8_min_is_at_least_7_min_ahead --- PASS: TestRfc3339DateInFutureBy (0.00s) --- PASS: TestRfc3339DateInFutureBy/empty (0.00s) --- PASS: TestRfc3339DateInFutureBy/not_a_time (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_is_not_1_hour_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_7_hours_is_not_1_hour_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_7_min_is_7_min_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_8_min_is_at_least_7_min_ahead (0.00s) === RUN TestURLIsHTTPS === RUN TestURLIsHTTPS/#00 === RUN TestURLIsHTTPS/this_is_not_a_url === RUN TestURLIsHTTPS/www.example.com === RUN TestURLIsHTTPS/ftp://www.example.com === RUN TestURLIsHTTPS/http://www.example.com === RUN TestURLIsHTTPS/https://www.example.com --- PASS: TestURLIsHTTPS (0.00s) --- PASS: TestURLIsHTTPS/#00 (0.00s) --- PASS: TestURLIsHTTPS/this_is_not_a_url (0.00s) --- PASS: TestURLIsHTTPS/www.example.com (0.00s) --- PASS: TestURLIsHTTPS/ftp://www.example.com (0.00s) --- PASS: TestURLIsHTTPS/http://www.example.com (0.00s) --- PASS: TestURLIsHTTPS/https://www.example.com (0.00s) === RUN TestURLIsHTTPOrHTTPS === RUN TestURLIsHTTPOrHTTPS/#00 === RUN TestURLIsHTTPOrHTTPS/this_is_not_a_url === RUN TestURLIsHTTPOrHTTPS/www.example.com === RUN TestURLIsHTTPOrHTTPS/ftp://www.example.com === RUN TestURLIsHTTPOrHTTPS/http://www.example.com === RUN TestURLIsHTTPOrHTTPS/https://www.example.com --- PASS: TestURLIsHTTPOrHTTPS (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/#00 (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/this_is_not_a_url (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/ftp://www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/http://www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/https://www.example.com (0.00s) === RUN TestUUID === RUN TestUUID/#00 === RUN TestUUID/hello-world === RUN TestUUID/00000000-0000-111-0000-000000000000 === RUN TestUUID/00000000-0000-0000-0000-000000000000 --- PASS: TestUUID (0.00s) --- PASS: TestUUID/#00 (0.00s) --- PASS: TestUUID/hello-world (0.00s) --- PASS: TestUUID/00000000-0000-111-0000-000000000000 (0.00s) --- PASS: TestUUID/00000000-0000-0000-0000-000000000000 (0.00s) === RUN TestUrlWithScheme === RUN TestUrlWithScheme/TestUrlWithScheme --- PASS: TestUrlWithScheme (0.00s) --- PASS: TestUrlWithScheme/TestUrlWithScheme (0.00s) === RUN TestVirtualNetworkRule_invalidNameValidation --- PASS: TestVirtualNetworkRule_invalidNameValidation (0.00s) === RUN TestResourceAzureRMPostgreSQLVirtualNetworkRule_validNameValidation --- PASS: TestResourceAzureRMPostgreSQLVirtualNetworkRule_validNameValidation (0.00s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/validate 0.620s ``` * Validation for the Shared Image Gallery Name ``` $ go test -v ./azurerm/helpers/validate/ === RUN TestSharedImageGalleryName === RUN TestSharedImageGalleryName/#00 === RUN TestSharedImageGalleryName/hello === RUN TestSharedImageGalleryName/hello123 === RUN TestSharedImageGalleryName/hello.123 === RUN TestSharedImageGalleryName/hello,123 === RUN TestSharedImageGalleryName/hello_123 === RUN TestSharedImageGalleryName/hello-123 === RUN TestSharedImageGalleryName/eg0jovd9ln1m19flbdq429qsxpfh0hhn0hqqhwyaysmq8gyylzghgmwfdvgoxyqib6a8hyq1hpnhlyx === RUN TestSharedImageGalleryName/inaamas6mjs23tax4k62ace3c0cuatutqr47zutxhj26jp4ih1x7ks7bc6mtor6vqx0snj71djj1p2ze --- PASS: TestSharedImageGalleryName (0.00s) --- PASS: TestSharedImageGalleryName/#00 (0.00s) --- PASS: TestSharedImageGalleryName/hello (0.00s) --- PASS: TestSharedImageGalleryName/hello123 (0.00s) --- PASS: TestSharedImageGalleryName/hello.123 (0.00s) --- PASS: TestSharedImageGalleryName/hello,123 (0.00s) --- PASS: TestSharedImageGalleryName/hello_123 (0.00s) --- PASS: TestSharedImageGalleryName/hello-123 (0.00s) --- PASS: TestSharedImageGalleryName/eg0jovd9ln1m19flbdq429qsxpfh0hhn0hqqhwyaysmq8gyylzghgmwfdvgoxyqib6a8hyq1hpnhlyx (0.00s) --- PASS: TestSharedImageGalleryName/inaamas6mjs23tax4k62ace3c0cuatutqr47zutxhj26jp4ih1x7ks7bc6mtor6vqx0snj71djj1p2ze (0.00s) === RUN TestSharedImageVersionName === RUN TestSharedImageVersionName/#00 === RUN TestSharedImageVersionName/a.b.c === RUN TestSharedImageVersionName/1.2.3 === RUN TestSharedImageVersionName/0.0.1 === RUN TestSharedImageVersionName/hello === RUN TestSharedImageVersionName/1.2.3.4 === RUN TestSharedImageVersionName/hell0-there --- PASS: TestSharedImageVersionName (0.00s) --- PASS: TestSharedImageVersionName/#00 (0.00s) --- PASS: TestSharedImageVersionName/a.b.c (0.00s) --- PASS: TestSharedImageVersionName/1.2.3 (0.00s) --- PASS: TestSharedImageVersionName/0.0.1 (0.00s) --- PASS: TestSharedImageVersionName/hello (0.00s) --- PASS: TestSharedImageVersionName/1.2.3.4 (0.00s) --- PASS: TestSharedImageVersionName/hell0-there (0.00s) === RUN TestIPv4Address === RUN TestIPv4Address/#00 === RUN TestIPv4Address/0.0.0.0 === RUN TestIPv4Address/1.2.3.no === RUN TestIPv4Address/text === RUN TestIPv4Address/1.2.3.4 === RUN TestIPv4Address/12.34.43.21 === RUN TestIPv4Address/100.123.199.0 === RUN TestIPv4Address/255.255.255.255 --- PASS: TestIPv4Address (0.00s) --- PASS: TestIPv4Address/#00 (0.00s) --- PASS: TestIPv4Address/0.0.0.0 (0.00s) --- PASS: TestIPv4Address/1.2.3.no (0.00s) --- PASS: TestIPv4Address/text (0.00s) --- PASS: TestIPv4Address/1.2.3.4 (0.00s) --- PASS: TestIPv4Address/12.34.43.21 (0.00s) --- PASS: TestIPv4Address/100.123.199.0 (0.00s) --- PASS: TestIPv4Address/255.255.255.255 (0.00s) === RUN TestIPv4AddressOrEmpty === RUN TestIPv4AddressOrEmpty/#00 === RUN TestIPv4AddressOrEmpty/0.0.0.0 === RUN TestIPv4AddressOrEmpty/1.2.3.no === RUN TestIPv4AddressOrEmpty/text === RUN TestIPv4AddressOrEmpty/1.2.3.4 === RUN TestIPv4AddressOrEmpty/12.34.43.21 === RUN TestIPv4AddressOrEmpty/100.123.199.0 === RUN TestIPv4AddressOrEmpty/255.255.255.255 --- PASS: TestIPv4AddressOrEmpty (0.00s) --- PASS: TestIPv4AddressOrEmpty/#00 (0.00s) --- PASS: TestIPv4AddressOrEmpty/0.0.0.0 (0.00s) --- PASS: TestIPv4AddressOrEmpty/1.2.3.no (0.00s) --- PASS: TestIPv4AddressOrEmpty/text (0.00s) --- PASS: TestIPv4AddressOrEmpty/1.2.3.4 (0.00s) --- PASS: TestIPv4AddressOrEmpty/12.34.43.21 (0.00s) --- PASS: TestIPv4AddressOrEmpty/100.123.199.0 (0.00s) --- PASS: TestIPv4AddressOrEmpty/255.255.255.255 (0.00s) === RUN TestMACAddress === RUN TestMACAddress/#00 === RUN TestMACAddress/text_d === RUN TestMACAddress/12:34:no === RUN TestMACAddress/123:34:56:78:90:ab === RUN TestMACAddress/12:34:56:78:90:NO === RUN TestMACAddress/12:34:56:78:90:ab === RUN TestMACAddress/ab:cd:ef:AB:CD:EF --- PASS: TestMACAddress (0.00s) --- PASS: TestMACAddress/#00 (0.00s) --- PASS: TestMACAddress/text_d (0.00s) --- PASS: TestMACAddress/12:34:no (0.00s) --- PASS: TestMACAddress/123:34:56:78:90:ab (0.00s) --- PASS: TestMACAddress/12:34:56:78:90:NO (0.00s) --- PASS: TestMACAddress/12:34:56:78:90:ab (0.00s) --- PASS: TestMACAddress/ab:cd:ef:AB:CD:EF (0.00s) === RUN TestPortNumber === RUN TestPortNumber/-1 === RUN TestPortNumber/0 === RUN TestPortNumber/1 === RUN TestPortNumber/8477 === RUN TestPortNumber/65535 === RUN TestPortNumber/65536 === RUN TestPortNumber/7000000 --- PASS: TestPortNumber (0.00s) --- PASS: TestPortNumber/-1 (0.00s) --- PASS: TestPortNumber/0 (0.00s) --- PASS: TestPortNumber/1 (0.00s) --- PASS: TestPortNumber/8477 (0.00s) --- PASS: TestPortNumber/65535 (0.00s) --- PASS: TestPortNumber/65536 (0.00s) --- PASS: TestPortNumber/7000000 (0.00s) === RUN TestPortNumberOrZero === RUN TestPortNumberOrZero/-1 === RUN TestPortNumberOrZero/0 === RUN TestPortNumberOrZero/1 === RUN TestPortNumberOrZero/8477 === RUN TestPortNumberOrZero/65535 === RUN TestPortNumberOrZero/65536 === RUN TestPortNumberOrZero/7000000 --- PASS: TestPortNumberOrZero (0.00s) --- PASS: TestPortNumberOrZero/-1 (0.00s) --- PASS: TestPortNumberOrZero/0 (0.00s) --- PASS: TestPortNumberOrZero/1 (0.00s) --- PASS: TestPortNumberOrZero/8477 (0.00s) --- PASS: TestPortNumberOrZero/65535 (0.00s) --- PASS: TestPortNumberOrZero/65536 (0.00s) --- PASS: TestPortNumberOrZero/7000000 (0.00s) === RUN TestRFC3339Time === RUN TestRFC3339Time/#00 === RUN TestRFC3339Time/this_is_not_a_date === RUN TestRFC3339Time/2000-01-01 === RUN TestRFC3339Time/2000-01-01T01:23:45 === RUN TestRFC3339Time/2000-01-01T01:23:45Z === RUN TestRFC3339Time/2000-01-01T01:23:45+00:00 --- PASS: TestRFC3339Time (0.00s) --- PASS: TestRFC3339Time/#00 (0.00s) --- PASS: TestRFC3339Time/this_is_not_a_date (0.00s) --- PASS: TestRFC3339Time/2000-01-01 (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45 (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45Z (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45+00:00 (0.00s) === RUN TestRfc3339DateInFutureBy === RUN TestRfc3339DateInFutureBy/empty === RUN TestRfc3339DateInFutureBy/not_a_time === RUN TestRfc3339DateInFutureBy/now_is_not_1_hour_ahead === RUN TestRfc3339DateInFutureBy/now_+_7_hours_is_not_1_hour_ahead === RUN TestRfc3339DateInFutureBy/now_+_7_min_is_7_min_ahead === RUN TestRfc3339DateInFutureBy/now_+_8_min_is_at_least_7_min_ahead --- PASS: TestRfc3339DateInFutureBy (0.00s) --- PASS: TestRfc3339DateInFutureBy/empty (0.00s) --- PASS: TestRfc3339DateInFutureBy/not_a_time (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_is_not_1_hour_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_7_hours_is_not_1_hour_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_7_min_is_7_min_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_8_min_is_at_least_7_min_ahead (0.00s) === RUN TestURLIsHTTPS === RUN TestURLIsHTTPS/#00 === RUN TestURLIsHTTPS/this_is_not_a_url === RUN TestURLIsHTTPS/www.example.com === RUN TestURLIsHTTPS/ftp://www.example.com === RUN TestURLIsHTTPS/http://www.example.com === RUN TestURLIsHTTPS/https://www.example.com --- PASS: TestURLIsHTTPS (0.00s) --- PASS: TestURLIsHTTPS/#00 (0.00s) --- PASS: TestURLIsHTTPS/this_is_not_a_url (0.00s) --- PASS: TestURLIsHTTPS/www.example.com (0.00s) --- PASS: TestURLIsHTTPS/ftp://www.example.com (0.00s) --- PASS: TestURLIsHTTPS/http://www.example.com (0.00s) --- PASS: TestURLIsHTTPS/https://www.example.com (0.00s) === RUN TestURLIsHTTPOrHTTPS === RUN TestURLIsHTTPOrHTTPS/#00 === RUN TestURLIsHTTPOrHTTPS/this_is_not_a_url === RUN TestURLIsHTTPOrHTTPS/www.example.com === RUN TestURLIsHTTPOrHTTPS/ftp://www.example.com === RUN TestURLIsHTTPOrHTTPS/http://www.example.com === RUN TestURLIsHTTPOrHTTPS/https://www.example.com --- PASS: TestURLIsHTTPOrHTTPS (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/#00 (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/this_is_not_a_url (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/ftp://www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/http://www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/https://www.example.com (0.00s) === RUN TestUUID === RUN TestUUID/#00 === RUN TestUUID/hello-world === RUN TestUUID/00000000-0000-111-0000-000000000000 === RUN TestUUID/00000000-0000-0000-0000-000000000000 --- PASS: TestUUID (0.00s) --- PASS: TestUUID/#00 (0.00s) --- PASS: TestUUID/hello-world (0.00s) --- PASS: TestUUID/00000000-0000-111-0000-000000000000 (0.00s) --- PASS: TestUUID/00000000-0000-0000-0000-000000000000 (0.00s) === RUN TestUrlWithScheme === RUN TestUrlWithScheme/TestUrlWithScheme --- PASS: TestUrlWithScheme (0.00s) --- PASS: TestUrlWithScheme/TestUrlWithScheme (0.00s) === RUN TestVirtualNetworkRule_invalidNameValidation --- PASS: TestVirtualNetworkRule_invalidNameValidation (0.00s) === RUN TestResourceAzureRMPostgreSQLVirtualNetworkRule_validNameValidation --- PASS: TestResourceAzureRMPostgreSQLVirtualNetworkRule_validNameValidation (0.00s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/validate 0.619s ``` * Validation for the Shared Image name ``` $ go test -v ./azurerm/helpers/validate/ === RUN TestSharedImageGalleryName === RUN TestSharedImageGalleryName/#00 === RUN TestSharedImageGalleryName/hello === RUN TestSharedImageGalleryName/hello123 === RUN TestSharedImageGalleryName/hello.123 === RUN TestSharedImageGalleryName/hello,123 === RUN TestSharedImageGalleryName/hello_123 === RUN TestSharedImageGalleryName/hello-123 === RUN TestSharedImageGalleryName/0xfbkai7139qjtelz8ngjk6128zlyho7qgtar8tk3wcygv2iyyrych0n4wx71bgtrywu9wgpusexvjv === RUN TestSharedImageGalleryName/xa0t9ibyph7ydmewrdqlm7mc2tyhibxbzne00u30d8xli4mzbvr7rozuvklaekx3il43gqienkhmb7n0 --- PASS: TestSharedImageGalleryName (0.00s) --- PASS: TestSharedImageGalleryName/#00 (0.00s) --- PASS: TestSharedImageGalleryName/hello (0.00s) --- PASS: TestSharedImageGalleryName/hello123 (0.00s) --- PASS: TestSharedImageGalleryName/hello.123 (0.00s) --- PASS: TestSharedImageGalleryName/hello,123 (0.00s) --- PASS: TestSharedImageGalleryName/hello_123 (0.00s) --- PASS: TestSharedImageGalleryName/hello-123 (0.00s) --- PASS: TestSharedImageGalleryName/0xfbkai7139qjtelz8ngjk6128zlyho7qgtar8tk3wcygv2iyyrych0n4wx71bgtrywu9wgpusexvjv (0.00s) --- PASS: TestSharedImageGalleryName/xa0t9ibyph7ydmewrdqlm7mc2tyhibxbzne00u30d8xli4mzbvr7rozuvklaekx3il43gqienkhmb7n0 (0.00s) === RUN TestSharedImageName === RUN TestSharedImageName/#00 === RUN TestSharedImageName/hello === RUN TestSharedImageName/hello123 === RUN TestSharedImageName/hello.123 === RUN TestSharedImageName/hello,123 === RUN TestSharedImageName/hello_123 === RUN TestSharedImageName/hello-123 === RUN TestSharedImageName/f0pe3ko7waqqzov1prgmsa16a11aob8ajmv8vvp399aqodr4uvizrj9hocuakghol9gbyfzedk9jci7 === RUN TestSharedImageName/j20heqhz242rm9crh3ex6lib013gmh2yknt2bj81cv6mzissfmj0uqevrx4rrygxp0cytpmei88w9962 --- PASS: TestSharedImageName (0.00s) --- PASS: TestSharedImageName/#00 (0.00s) --- PASS: TestSharedImageName/hello (0.00s) --- PASS: TestSharedImageName/hello123 (0.00s) --- PASS: TestSharedImageName/hello.123 (0.00s) --- PASS: TestSharedImageName/hello,123 (0.00s) --- PASS: TestSharedImageName/hello_123 (0.00s) --- PASS: TestSharedImageName/hello-123 (0.00s) --- PASS: TestSharedImageName/f0pe3ko7waqqzov1prgmsa16a11aob8ajmv8vvp399aqodr4uvizrj9hocuakghol9gbyfzedk9jci7 (0.00s) --- PASS: TestSharedImageName/j20heqhz242rm9crh3ex6lib013gmh2yknt2bj81cv6mzissfmj0uqevrx4rrygxp0cytpmei88w9962 (0.00s) === RUN TestSharedImageVersionName === RUN TestSharedImageVersionName/#00 === RUN TestSharedImageVersionName/a.b.c === RUN TestSharedImageVersionName/1.2.3 === RUN TestSharedImageVersionName/0.0.1 === RUN TestSharedImageVersionName/hello === RUN TestSharedImageVersionName/1.2.3.4 === RUN TestSharedImageVersionName/hell0-there --- PASS: TestSharedImageVersionName (0.00s) --- PASS: TestSharedImageVersionName/#00 (0.00s) --- PASS: TestSharedImageVersionName/a.b.c (0.00s) --- PASS: TestSharedImageVersionName/1.2.3 (0.00s) --- PASS: TestSharedImageVersionName/0.0.1 (0.00s) --- PASS: TestSharedImageVersionName/hello (0.00s) --- PASS: TestSharedImageVersionName/1.2.3.4 (0.00s) --- PASS: TestSharedImageVersionName/hell0-there (0.00s) === RUN TestIPv4Address === RUN TestIPv4Address/#00 === RUN TestIPv4Address/0.0.0.0 === RUN TestIPv4Address/1.2.3.no === RUN TestIPv4Address/text === RUN TestIPv4Address/1.2.3.4 === RUN TestIPv4Address/12.34.43.21 === RUN TestIPv4Address/100.123.199.0 === RUN TestIPv4Address/255.255.255.255 --- PASS: TestIPv4Address (0.00s) --- PASS: TestIPv4Address/#00 (0.00s) --- PASS: TestIPv4Address/0.0.0.0 (0.00s) --- PASS: TestIPv4Address/1.2.3.no (0.00s) --- PASS: TestIPv4Address/text (0.00s) --- PASS: TestIPv4Address/1.2.3.4 (0.00s) --- PASS: TestIPv4Address/12.34.43.21 (0.00s) --- PASS: TestIPv4Address/100.123.199.0 (0.00s) --- PASS: TestIPv4Address/255.255.255.255 (0.00s) === RUN TestIPv4AddressOrEmpty === RUN TestIPv4AddressOrEmpty/#00 === RUN TestIPv4AddressOrEmpty/0.0.0.0 === RUN TestIPv4AddressOrEmpty/1.2.3.no === RUN TestIPv4AddressOrEmpty/text === RUN TestIPv4AddressOrEmpty/1.2.3.4 === RUN TestIPv4AddressOrEmpty/12.34.43.21 === RUN TestIPv4AddressOrEmpty/100.123.199.0 === RUN TestIPv4AddressOrEmpty/255.255.255.255 --- PASS: TestIPv4AddressOrEmpty (0.00s) --- PASS: TestIPv4AddressOrEmpty/#00 (0.00s) --- PASS: TestIPv4AddressOrEmpty/0.0.0.0 (0.00s) --- PASS: TestIPv4AddressOrEmpty/1.2.3.no (0.00s) --- PASS: TestIPv4AddressOrEmpty/text (0.00s) --- PASS: TestIPv4AddressOrEmpty/1.2.3.4 (0.00s) --- PASS: TestIPv4AddressOrEmpty/12.34.43.21 (0.00s) --- PASS: TestIPv4AddressOrEmpty/100.123.199.0 (0.00s) --- PASS: TestIPv4AddressOrEmpty/255.255.255.255 (0.00s) === RUN TestMACAddress === RUN TestMACAddress/#00 === RUN TestMACAddress/text_d === RUN TestMACAddress/12:34:no === RUN TestMACAddress/123:34:56:78:90:ab === RUN TestMACAddress/12:34:56:78:90:NO === RUN TestMACAddress/12:34:56:78:90:ab === RUN TestMACAddress/ab:cd:ef:AB:CD:EF --- PASS: TestMACAddress (0.00s) --- PASS: TestMACAddress/#00 (0.00s) --- PASS: TestMACAddress/text_d (0.00s) --- PASS: TestMACAddress/12:34:no (0.00s) --- PASS: TestMACAddress/123:34:56:78:90:ab (0.00s) --- PASS: TestMACAddress/12:34:56:78:90:NO (0.00s) --- PASS: TestMACAddress/12:34:56:78:90:ab (0.00s) --- PASS: TestMACAddress/ab:cd:ef:AB:CD:EF (0.00s) === RUN TestPortNumber === RUN TestPortNumber/-1 === RUN TestPortNumber/0 === RUN TestPortNumber/1 === RUN TestPortNumber/8477 === RUN TestPortNumber/65535 === RUN TestPortNumber/65536 === RUN TestPortNumber/7000000 --- PASS: TestPortNumber (0.00s) --- PASS: TestPortNumber/-1 (0.00s) --- PASS: TestPortNumber/0 (0.00s) --- PASS: TestPortNumber/1 (0.00s) --- PASS: TestPortNumber/8477 (0.00s) --- PASS: TestPortNumber/65535 (0.00s) --- PASS: TestPortNumber/65536 (0.00s) --- PASS: TestPortNumber/7000000 (0.00s) === RUN TestPortNumberOrZero === RUN TestPortNumberOrZero/-1 === RUN TestPortNumberOrZero/0 === RUN TestPortNumberOrZero/1 === RUN TestPortNumberOrZero/8477 === RUN TestPortNumberOrZero/65535 === RUN TestPortNumberOrZero/65536 === RUN TestPortNumberOrZero/7000000 --- PASS: TestPortNumberOrZero (0.00s) --- PASS: TestPortNumberOrZero/-1 (0.00s) --- PASS: TestPortNumberOrZero/0 (0.00s) --- PASS: TestPortNumberOrZero/1 (0.00s) --- PASS: TestPortNumberOrZero/8477 (0.00s) --- PASS: TestPortNumberOrZero/65535 (0.00s) --- PASS: TestPortNumberOrZero/65536 (0.00s) --- PASS: TestPortNumberOrZero/7000000 (0.00s) === RUN TestRFC3339Time === RUN TestRFC3339Time/#00 === RUN TestRFC3339Time/this_is_not_a_date === RUN TestRFC3339Time/2000-01-01 === RUN TestRFC3339Time/2000-01-01T01:23:45 === RUN TestRFC3339Time/2000-01-01T01:23:45Z === RUN TestRFC3339Time/2000-01-01T01:23:45+00:00 --- PASS: TestRFC3339Time (0.00s) --- PASS: TestRFC3339Time/#00 (0.00s) --- PASS: TestRFC3339Time/this_is_not_a_date (0.00s) --- PASS: TestRFC3339Time/2000-01-01 (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45 (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45Z (0.00s) --- PASS: TestRFC3339Time/2000-01-01T01:23:45+00:00 (0.00s) === RUN TestRfc3339DateInFutureBy === RUN TestRfc3339DateInFutureBy/empty === RUN TestRfc3339DateInFutureBy/not_a_time === RUN TestRfc3339DateInFutureBy/now_is_not_1_hour_ahead === RUN TestRfc3339DateInFutureBy/now_+_7_hours_is_not_1_hour_ahead === RUN TestRfc3339DateInFutureBy/now_+_7_min_is_7_min_ahead === RUN TestRfc3339DateInFutureBy/now_+_8_min_is_at_least_7_min_ahead --- PASS: TestRfc3339DateInFutureBy (0.00s) --- PASS: TestRfc3339DateInFutureBy/empty (0.00s) --- PASS: TestRfc3339DateInFutureBy/not_a_time (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_is_not_1_hour_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_7_hours_is_not_1_hour_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_7_min_is_7_min_ahead (0.00s) --- PASS: TestRfc3339DateInFutureBy/now_+_8_min_is_at_least_7_min_ahead (0.00s) === RUN TestURLIsHTTPS === RUN TestURLIsHTTPS/#00 === RUN TestURLIsHTTPS/this_is_not_a_url === RUN TestURLIsHTTPS/www.example.com === RUN TestURLIsHTTPS/ftp://www.example.com === RUN TestURLIsHTTPS/http://www.example.com === RUN TestURLIsHTTPS/https://www.example.com --- PASS: TestURLIsHTTPS (0.00s) --- PASS: TestURLIsHTTPS/#00 (0.00s) --- PASS: TestURLIsHTTPS/this_is_not_a_url (0.00s) --- PASS: TestURLIsHTTPS/www.example.com (0.00s) --- PASS: TestURLIsHTTPS/ftp://www.example.com (0.00s) --- PASS: TestURLIsHTTPS/http://www.example.com (0.00s) --- PASS: TestURLIsHTTPS/https://www.example.com (0.00s) === RUN TestURLIsHTTPOrHTTPS === RUN TestURLIsHTTPOrHTTPS/#00 === RUN TestURLIsHTTPOrHTTPS/this_is_not_a_url === RUN TestURLIsHTTPOrHTTPS/www.example.com === RUN TestURLIsHTTPOrHTTPS/ftp://www.example.com === RUN TestURLIsHTTPOrHTTPS/http://www.example.com === RUN TestURLIsHTTPOrHTTPS/https://www.example.com --- PASS: TestURLIsHTTPOrHTTPS (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/#00 (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/this_is_not_a_url (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/ftp://www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/http://www.example.com (0.00s) --- PASS: TestURLIsHTTPOrHTTPS/https://www.example.com (0.00s) === RUN TestUUID === RUN TestUUID/#00 === RUN TestUUID/hello-world === RUN TestUUID/00000000-0000-111-0000-000000000000 === RUN TestUUID/00000000-0000-0000-0000-000000000000 --- PASS: TestUUID (0.00s) --- PASS: TestUUID/#00 (0.00s) --- PASS: TestUUID/hello-world (0.00s) --- PASS: TestUUID/00000000-0000-111-0000-000000000000 (0.00s) --- PASS: TestUUID/00000000-0000-0000-0000-000000000000 (0.00s) === RUN TestUrlWithScheme === RUN TestUrlWithScheme/TestUrlWithScheme --- PASS: TestUrlWithScheme (0.00s) --- PASS: TestUrlWithScheme/TestUrlWithScheme (0.00s) === RUN TestVirtualNetworkRule_invalidNameValidation --- PASS: TestVirtualNetworkRule_invalidNameValidation (0.00s) === RUN TestResourceAzureRMPostgreSQLVirtualNetworkRule_validNameValidation --- PASS: TestResourceAzureRMPostgreSQLVirtualNetworkRule_validNameValidation (0.00s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/validate 0.619s ``` * New Resource: `azurerm_shared_image_gallery` * New Data Source: `azurerm_shared_image_gallery` * New Resource: `azurerm_shared_image` * New Data Source: `azurerm_shared_image` * Hooking up the resources * Adding a disclaimer about Shared Image Galleries being in Preview * New Resource: `azurerm_shared_image_version` * New Data Source: `azurerm_shared_image_version` * Fixing the broken tests * SDKv21.1: switching to use the TargetRegion field * Fixing the data source test
- Loading branch information