This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It can take up to several hours for ACM to validate the domain name and issue the certificate | |
# so better be sure it's working. | |
require 'csv' | |
require 'resolv' | |
res = open("DNS_Configuration.csv") # Export DNS configuration to a file | |
row = CSV.new(res.read, headers: true).first | |
expected = row["Record Value"].delete_suffix('.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AFGHANISTAN;AF | |
ÅLAND ISLANDS;AX | |
ALBANIA;AL | |
ALGERIA;DZ | |
AMERICAN SAMOA;AS | |
ANDORRA;AD | |
ANGOLA;AO | |
ANGUILLA;AI | |
ANTARCTICA;AQ | |
ANTIGUA AND BARBUDA;AG |