firespring_dev_commands 2.1.32.pre.alpha.2 → 2.1.32.pre.alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87dcece3099e1aec9bfb5f6572371479e6c5cd2dae608d126fc1f5a124a84f7e
|
|
4
|
+
data.tar.gz: b1204325e48a239995de507fc320331aa6a4dd353338085e9512aefd46f82dcb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4331459a1711d98a385e3babbaac972f72c01010fb41e5fe535934427a0a804690ae24ebfd4f33c1f59818a3ac520fd0aa3afe369739a5d86d5b80fd0e8676b1
|
|
7
|
+
data.tar.gz: bdfb0873f8ad0da53076a979fd60010af02d97894edf538dc3e72ffd97379fadc93a0623f3040d15a820005acd93232df11641b9f12b9a6957a5f8b43cba63e8
|
|
@@ -24,18 +24,19 @@ module Dev
|
|
|
24
24
|
domains.each do |domain_name|
|
|
25
25
|
zone = client.list_hosted_zones_by_name({dns_name: domain_name, max_items: 1})
|
|
26
26
|
target_name = zone.hosted_zones.first.name.chomp!('.')
|
|
27
|
-
|
|
27
|
+
raise "The #{domain_name} hosted zone not found." if target_name != domain_name
|
|
28
|
+
|
|
29
|
+
@zones << zone.hosted_zones.first.id
|
|
28
30
|
end
|
|
29
31
|
end
|
|
30
32
|
raise 'Hosted zone(s) not found.' if @zones.empty?
|
|
31
33
|
end
|
|
32
34
|
|
|
33
35
|
def get_target_config_id(zone_id)
|
|
34
|
-
|
|
36
|
+
client.list_query_logging_configs(
|
|
35
37
|
hosted_zone_id: zone_id,
|
|
36
38
|
max_results: '1'
|
|
37
|
-
)
|
|
38
|
-
config.query_logging_configs.first.id unless config.query_logging_configs.empty? || config.query_logging_configs.first.hosted_zone_id == zone_id
|
|
39
|
+
).query_logging_configs.first.id
|
|
39
40
|
end
|
|
40
41
|
|
|
41
42
|
def activate_query_logging(log_group)
|