terradoc 0.1.8 → 0.1.9

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: e125cf8c7b7500b455c6f52e2b1073f7f64a76cee715375831e965adc7d977c7
4
- data.tar.gz: 914e0f417d6482bbe7528d59e8c5fe8ac1d0aab2ab5d11b2bf0b3d010ff2ef96
3
+ metadata.gz: c24356337689fb8ec399869c6770c8a0dbf782d84947b8de25fb05a870e1206c
4
+ data.tar.gz: 0affbe537539912932b1f61a69f2ad0d0a940b713c0728bead07322e27643e2c
5
5
  SHA512:
6
- metadata.gz: 043b1390f79765f36d9fd3bd33b0d0d20918771055ba06065fc0db8e99eb8d2c28a3fb6d8fd63e81d21de5dbaeabfe87014d90e09b1f9f5a6be1fecf3002963d
7
- data.tar.gz: 65ed88938ebc9622254da92d186b62cd8d6c93de633e0a04e65597d68589bd9bb76a0109e7f6d86efad31e1c8e3c0aaab9d6418c59749006e232a94e01df2bf1
6
+ metadata.gz: 707b4abfb5be29470ff58826e7558ed6eaa1cf518ee0d74bca295f6464051eecd9ace870d5025e1fea0793751fb92cbb6a93d10a64227a85dd94cd300b4a2f55
7
+ data.tar.gz: 3bcc43d029fc7d9428962805a036a37ea292baceee9c6d3f459a2b337951b57087fa3060750bdbd06d0ea53612ab0dd61e22317f39e4dfcb077b1ff84448078a
@@ -5,11 +5,17 @@ All notable changes to this project will be documented in this file.
5
5
 
6
6
  This changelog was automatically generated using [Caretaker](https://github.com/TerraformToolbox/terradoc) by [Wolf Software](https://github.com/WolfSoftware)
7
7
 
8
+ ### [v0.1.9](https://github.com/TerraformToolbox/terradoc/compare/v0.1.8...v0.1.9)
9
+
10
+ > Released on March, 18th 2020
11
+
12
+ - Array merging was not working as expected, so switch to processing file by file, and added a --console only option [`[b4bea10]`](https://github.com/TerraformToolbox/terradoc/commit/b4bea1074efc494614f0b591b545d0d824f4125a) [`[TGWolf]`](https://github.com/TGWolf)
13
+
8
14
  ### [v0.1.8](https://github.com/TerraformToolbox/terradoc/compare/v0.1.7...v0.1.8)
9
15
 
10
16
  > Released on March, 18th 2020
11
17
 
12
- - Passing wrong data-table when generating output [`[1aeff45]`](https://github.com/TerraformToolbox/terradoc/commit/1aeff4504947e7fd26b0d20a6826dfdbe774600a) [`[TGWolf]`](https://github.com/TGWolf)
18
+ - Passing wrong data-table when generating output [`[0d2dbeb]`](https://github.com/TerraformToolbox/terradoc/commit/0d2dbeb8eccd00ab3c211b01531551b1c880ca13) [`[TGWolf]`](https://github.com/TGWolf)
13
19
 
14
20
  ### [v0.1.7](https://github.com/TerraformToolbox/terradoc/compare/v0.1.6...v0.1.7)
15
21
 
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -45,6 +45,9 @@ def process_arguments
45
45
  opts.on('-v', '--verbose', 'Turn on verbose mode') do
46
46
  options[:verbose] = true
47
47
  end
48
+ opts.on('-c', '--console', 'Turn on console output only (doesnt update file)') do
49
+ options[:console] = true
50
+ end
48
51
 
49
52
  opts.on('-o', '--output string', 'Set the name of the output file. [default: README.md]') do |output|
50
53
  options[:output] = output
@@ -15,6 +15,9 @@ class Terradoc
15
15
 
16
16
  raise StandardError.new("Failed to locate #{@command} please install (pip install #{@command})") unless which @command
17
17
 
18
+ @console_only = false
19
+ @console_only = options[:console] unless options[:console].nil?
20
+
18
21
  @base_path = '.'
19
22
  @base_path = options[:path] unless options[:path].nil?
20
23
  @base_path.chomp!('/')
@@ -23,7 +26,6 @@ class Terradoc
23
26
  @output_file = 'README.md'
24
27
  @output_file = options[:output] unless options[:output].nil?
25
28
 
26
- @raw_results = {}
27
29
  @files = []
28
30
  @pattern = "#{@base_path}/*.tf"
29
31
 
@@ -31,44 +33,44 @@ class Terradoc
31
33
  'data-sources' => {
32
34
  'start' => '<!--Terradoc-data-sources-start-->',
33
35
  'end' => '<!--Terradoc-data-sources-end-->',
34
- 'raw_results' => [],
35
- 'sorted_results' => [],
36
- 'data_table' => []
36
+ 'raw-results' => [],
37
+ 'sorted-results' => [],
38
+ 'data-table' => []
37
39
  },
38
40
  'modules' => {
39
41
  'start' => '<!--Terradoc-modules-start-->',
40
42
  'end' => '<!--Terradoc-modules-end-->',
41
- 'raw_results' => [],
42
- 'sorted_results' => [],
43
- 'data_table' => []
43
+ 'raw-results' => [],
44
+ 'sorted-results' => [],
45
+ 'data-table' => []
44
46
  },
45
47
  'outputs' => {
46
48
  'start' => '<!--Terradoc-outputs-start-->',
47
49
  'end' => '<!--Terradoc-outputs-end-->',
48
- 'raw_results' => [],
49
- 'sorted_results' => [],
50
- 'data_table' => []
50
+ 'raw-results' => [],
51
+ 'sorted-results' => [],
52
+ 'data-table' => []
51
53
  },
52
54
  'providers' => {
53
55
  'start' => '<!--Terradoc-providers-start-->',
54
56
  'end' => '<!--Terradoc-providers-end-->',
55
- 'raw_results' => [],
56
- 'sorted_results' => [],
57
- 'data_table' => []
57
+ 'raw-results' => [],
58
+ 'sorted-results' => [],
59
+ 'data-table' => []
58
60
  },
59
61
  'resources' => {
60
62
  'start' => '<!--Terradoc-resources-start-->',
61
63
  'end' => '<!--Terradoc-resources-end-->',
62
- 'raw_results' => [],
63
- 'sorted_results' => [],
64
- 'data_table' => []
64
+ 'raw-results' => [],
65
+ 'sorted-results' => [],
66
+ 'data-table' => []
65
67
  },
66
68
  'variables' => {
67
69
  'start' => '<!--Terradoc-variables-start-->',
68
70
  'end' => '<!--Terradoc-variables-end-->',
69
- 'raw_results' => [],
70
- 'sorted_results' => [],
71
- 'data_table' => []
71
+ 'raw-results' => [],
72
+ 'sorted-results' => [],
73
+ 'data-table' => []
72
74
  }
73
75
  }
74
76
 
@@ -91,39 +93,36 @@ class Terradoc
91
93
  # -------------------------------------------------------------------------------- #
92
94
  # -------------------------------------------------------------------------------- #
93
95
  def terradoc_main
94
- spinners = TTY::Spinner::Multi.new("[:spinner] Terradoc is processing your files (Path: #{@base_path}, Output File: #{@output_file})")
95
-
96
- sp1 = spinners.register '[:spinner] Locating files'
97
- sp2 = spinners.register '[:spinner] Processing files'
98
- sp3 = spinners.register '[:spinner] Processing raw results'
99
- sp4 = spinners.register '[:spinner] Sorting the results'
100
- sp5 = spinners.register '[:spinner] Generating data tables'
101
- sp6 = spinners.register '[:spinner] Writing output'
102
-
103
- sp1.auto_spin
104
- sp2.auto_spin
105
- sp3.auto_spin
106
- sp4.auto_spin
107
- sp5.auto_spin
108
- sp6.auto_spin
96
+ unless @console_only
97
+ spinners = TTY::Spinner::Multi.new("[:spinner] Terradoc is processing your files (Path: #{@base_path}, Output File: #{@output_file})")
98
+
99
+ sp1 = spinners.register '[:spinner] Locating files'
100
+ sp2 = spinners.register '[:spinner] Processing files'
101
+ sp3 = spinners.register '[:spinner] Sorting the results'
102
+ sp4 = spinners.register '[:spinner] Generating data tables'
103
+ sp5 = spinners.register '[:spinner] Writing output'
104
+
105
+ sp1.auto_spin
106
+ sp2.auto_spin
107
+ sp3.auto_spin
108
+ sp4.auto_spin
109
+ sp5.auto_spin
110
+ end
109
111
 
110
112
  generate_file_list
111
- sp1.success
113
+ sp1.success unless @console_only
112
114
 
113
115
  process_files
114
- sp2.success
115
-
116
- process_raw_results
117
- sp3.success
116
+ sp2.success unless @console_only
118
117
 
119
118
  sort_details
120
- sp4.success
119
+ sp3.success unless @console_only
121
120
 
122
121
  generate_data_tables
123
- sp5.success
122
+ sp4.success unless @console_only
124
123
 
125
124
  write_output
126
- sp6.success
125
+ sp5.success unless @console_only
127
126
  end
128
127
 
129
128
  # -------------------------------------------------------------------------------- #
@@ -142,51 +141,52 @@ class Terradoc
142
141
  stdout_str = stdout.read
143
142
 
144
143
  json = JSON.parse(stdout_str, max_nesting: 256)
145
- @raw_results = @raw_results.merge(json)
144
+
145
+ process_raw_results(json)
146
146
  end
147
147
  end
148
148
  end
149
149
 
150
150
  # -------------------------------------------------------------------------------- #
151
151
  # -------------------------------------------------------------------------------- #
152
- def process_raw_results
153
- unless @raw_results['data'].nil?
154
- @raw_results['data'].each do |key, _value|
152
+ def process_raw_results(json)
153
+ unless json['data'].nil?
154
+ json['data'].each do |key, _value|
155
155
  name = key.gsub('_', '\_')
156
- @config['data-sources']['raw_results'] << { :name => name }
156
+ @config['data-sources']['raw-results'] << { :name => name }
157
157
  end
158
158
  end
159
159
 
160
- unless @raw_results['module'].nil?
161
- @raw_results['module'].each do |key, value|
160
+ unless json['module'].nil?
161
+ json['module'].each do |key, value|
162
162
  name = key.gsub('_', '\_')
163
- @config['modules']['raw_results'] << { :name => name, :source => value['source'], :version => value['version'] }
163
+ @config['modules']['raw-results'] << { :name => name, :source => value['source'], :version => value['version'] }
164
164
  end
165
165
  end
166
166
 
167
- unless @raw_results['output'].nil?
168
- @raw_results['output'].each do |key, value|
167
+ unless json['output'].nil?
168
+ json['output'].each do |key, value|
169
169
  name = key.gsub('_', '\_')
170
- @config['outputs']['raw_results'] << { :name => name, :description => value['description'] }
170
+ @config['outputs']['raw-results'] << { :name => name, :description => value['description'] }
171
171
  end
172
172
  end
173
173
 
174
- unless @raw_results['provider'].nil?
175
- @raw_results['provider'].each do |key, _value|
174
+ unless json['provider'].nil?
175
+ json['provider'].each do |key, _value|
176
176
  name = key.gsub('_', '\_')
177
- @config['providers']['raw_results'] << { :name => name }
177
+ @config['providers']['raw-results'] << { :name => name }
178
178
  end
179
179
  end
180
180
 
181
- unless @raw_results['resource'].nil?
182
- @raw_results['resource'].each do |key, _value|
181
+ unless json['resource'].nil?
182
+ json['resource'].each do |key, _value|
183
183
  name = key.gsub('_', '\_')
184
- @config['resources']['raw_results'] << { :name => name }
184
+ @config['resources']['raw-results'] << { :name => name }
185
185
  end
186
186
  end
187
187
 
188
- unless @raw_results['variable'].nil?
189
- @raw_results['variable'].each do |key, value|
188
+ unless json['variable'].nil?
189
+ json['variable'].each do |key, value|
190
190
  name = key.gsub('_', '\_')
191
191
  default = value['default'].to_s.gsub('_', '\_')
192
192
  required = if default.empty?
@@ -194,7 +194,7 @@ class Terradoc
194
194
  else
195
195
  'No'
196
196
  end
197
- @config['variables']['raw_results'] << { :name => name, :description => value['description'], :type => value['type'], :default => default, :required => required }
197
+ @config['variables']['raw-results'] << { :name => name, :description => value['description'], :type => value['type'], :default => default, :required => required }
198
198
  end
199
199
  end
200
200
  end
@@ -210,75 +210,75 @@ class Terradoc
210
210
  # -------------------------------------------------------------------------------- #
211
211
  # -------------------------------------------------------------------------------- #
212
212
  def sort_details
213
- @config['data-sources']['sorted_results'] = cleanup_array(@config['data-sources']['raw_results'])
214
- @config['modules']['sorted_results'] = cleanup_array(@config['modules']['raw_results'])
215
- @config['outputs']['sorted_results'] = cleanup_array(@config['outputs']['raw_results'])
216
- @config['providers']['sorted_results'] = cleanup_array(@config['providers']['raw_results'])
217
- @config['resources']['sorted_results'] = cleanup_array(@config['resources']['raw_results'])
218
- @config['variables']['sorted_results'] = cleanup_array(@config['variables']['raw_results'])
213
+ @config['data-sources']['sorted-results'] = cleanup_array(@config['data-sources']['raw-results'])
214
+ @config['modules']['sorted-results'] = cleanup_array(@config['modules']['raw-results'])
215
+ @config['outputs']['sorted-results'] = cleanup_array(@config['outputs']['raw-results'])
216
+ @config['providers']['sorted-results'] = cleanup_array(@config['providers']['raw-results'])
217
+ @config['resources']['sorted-results'] = cleanup_array(@config['resources']['raw-results'])
218
+ @config['variables']['sorted-results'] = cleanup_array(@config['variables']['raw-results'])
219
219
  end
220
220
 
221
221
  # -------------------------------------------------------------------------------- #
222
222
  # -------------------------------------------------------------------------------- #
223
223
  def generate_data_tables
224
- if @config['data-sources']['sorted_results'].size.positive?
225
- @config['data-sources']['data_table'] << '| Name |'
226
- @config['data-sources']['data_table'] << '| ---- |'
227
- @config['data-sources']['sorted_results'].each do |item|
228
- @config['data-sources']['data_table'] << "| #{item[:name]} |"
224
+ if @config['data-sources']['sorted-results'].size.positive?
225
+ @config['data-sources']['data-table'] << '| Name |'
226
+ @config['data-sources']['data-table'] << '| ---- |'
227
+ @config['data-sources']['sorted-results'].each do |item|
228
+ @config['data-sources']['data-table'] << "| #{item[:name]} |"
229
229
  end
230
230
  else
231
- @config['data-sources']['data_table'] << '> No data sources found'
231
+ @config['data-sources']['data-table'] << '> No data sources found'
232
232
  end
233
233
 
234
- if @config['modules']['sorted_results'].size.positive?
235
- @config['modules']['data_table'] << '| Name |'
236
- @config['modules']['data_table'] << '| ---- |'
237
- @config['modules']['sorted_results'] .each do |item|
238
- @config['modules']['data_table'] << "| #{item[:name]} |"
234
+ if @config['modules']['sorted-results'].size.positive?
235
+ @config['modules']['data-table'] << '| Name |'
236
+ @config['modules']['data-table'] << '| ---- |'
237
+ @config['modules']['sorted-results'] .each do |item|
238
+ @config['modules']['data-table'] << "| #{item[:name]} |"
239
239
  end
240
240
  else
241
- @config['modules']['data_table'] << '> No modules found'
241
+ @config['modules']['data-table'] << '> No modules found'
242
242
  end
243
243
 
244
- if @config['outputs']['sorted_results'].size.positive?
245
- @config['outputs']['data_table'] << '| Name | Description |'
246
- @config['outputs']['data_table'] << '| ---- | ----------- |'
247
- @config['outputs']['sorted_results'].each do |item|
248
- @config['outputs']['data_table'] << "| #{item[:name]} | #{item[:description]} |"
244
+ if @config['outputs']['sorted-results'].size.positive?
245
+ @config['outputs']['data-table'] << '| Name | Description |'
246
+ @config['outputs']['data-table'] << '| ---- | ----------- |'
247
+ @config['outputs']['sorted-results'].each do |item|
248
+ @config['outputs']['data-table'] << "| #{item[:name]} | #{item[:description]} |"
249
249
  end
250
250
  else
251
- @config['outputs']['data_table'] << '> No outputs found'
251
+ @config['outputs']['data-table'] << '> No outputs found'
252
252
  end
253
253
 
254
- if @config['providers']['sorted_results'].size.positive?
255
- @config['providers']['data_table'] << '| Name |'
256
- @config['providers']['data_table'] << '| ---- |'
257
- @config['providers']['sorted_results'].each do |item|
258
- @config['providers']['data_table'] << "| #{item[:name]} |"
254
+ if @config['providers']['sorted-results'].size.positive?
255
+ @config['providers']['data-table'] << '| Name |'
256
+ @config['providers']['data-table'] << '| ---- |'
257
+ @config['providers']['sorted-results'].each do |item|
258
+ @config['providers']['data-table'] << "| #{item[:name]} |"
259
259
  end
260
260
  else
261
- @config['providers']['data_table'] << '> No providers found'
261
+ @config['providers']['data-table'] << '> No providers found'
262
262
  end
263
263
 
264
- if @config['resources']['sorted_results'].size.positive?
265
- @config['resources']['data_table'] << '| Name |'
266
- @config['resources']['data_table'] << '| ---- |'
267
- @config['resources']['sorted_results'].each do |item|
268
- @config['resources']['data_table'] << "| #{item[:name]} |"
264
+ if @config['resources']['sorted-results'].size.positive?
265
+ @config['resources']['data-table'] << '| Name |'
266
+ @config['resources']['data-table'] << '| ---- |'
267
+ @config['resources']['sorted-results'].each do |item|
268
+ @config['resources']['data-table'] << "| #{item[:name]} |"
269
269
  end
270
270
  else
271
- @config['resources']['data_table'] << '> No resources found'
271
+ @config['resources']['data-table'] << '> No resources found'
272
272
  end
273
273
 
274
- if @config['variables']['sorted_results'].size.positive?
275
- @config['variables']['data_table'] << '| Name | Description | Type | Default | Required? |'
276
- @config['variables']['data_table'] << '| ---- | ----------- |:----:|:-------:|:---------:|'
277
- @config['variables']['sorted_results'].each do |item|
278
- @config['variables']['data_table'] << "| #{item[:name]} | #{item[:description]} | #{item[:type]} | #{item[:default]} | #{item[:required]} |"
274
+ if @config['variables']['sorted-results'].size.positive?
275
+ @config['variables']['data-table'] << '| Name | Description | Type | Default | Required? |'
276
+ @config['variables']['data-table'] << '| ---- | ----------- |:----:|:-------:|:---------:|'
277
+ @config['variables']['sorted-results'].each do |item|
278
+ @config['variables']['data-table'] << "| #{item[:name]} | #{item[:description]} | #{item[:type]} | #{item[:default]} | #{item[:required]} |"
279
279
  end
280
280
  else
281
- @config['variables']['data_table'] << '> No variables found'
281
+ @config['variables']['data-table'] << '> No variables found'
282
282
  end
283
283
  end
284
284
 
@@ -330,22 +330,26 @@ class Terradoc
330
330
 
331
331
  lines = load_file(@output_file)
332
332
 
333
- lines = generate_output(lines, @config['data-sources']['start'], @config['data-sources']['end'], @config['data-sources']['data_table'])
334
- lines = generate_output(lines, @config['modules']['start'], @config['modules']['end'], @config['modules']['data_table'])
335
- lines = generate_output(lines, @config['outputs']['start'], @config['outputs']['end'], @config['outputs']['data_table'])
336
- lines = generate_output(lines, @config['providers']['start'], @config['providers']['end'], @config['providers']['data_table'])
337
- lines = generate_output(lines, @config['resources']['start'], @config['resources']['end'], @config['resources']['data_table'])
338
- lines = generate_output(lines, @config['variables']['start'], @config['variables']['end'], @config['variables']['data_table'])
333
+ lines = generate_output(lines, @config['data-sources']['start'], @config['data-sources']['end'], @config['data-sources']['data-table'])
334
+ lines = generate_output(lines, @config['modules']['start'], @config['modules']['end'], @config['modules']['data-table'])
335
+ lines = generate_output(lines, @config['outputs']['start'], @config['outputs']['end'], @config['outputs']['data-table'])
336
+ lines = generate_output(lines, @config['providers']['start'], @config['providers']['end'], @config['providers']['data-table'])
337
+ lines = generate_output(lines, @config['resources']['start'], @config['resources']['end'], @config['resources']['data-table'])
338
+ lines = generate_output(lines, @config['variables']['start'], @config['variables']['end'], @config['variables']['data-table'])
339
339
 
340
- begin
341
- File.open(@output_file, 'w') do |f|
342
- lines.each do |line|
343
- f.puts line
340
+ if @console_only
341
+ puts lines
342
+ else
343
+ begin
344
+ File.open(@output_file, 'w') do |f|
345
+ lines.each do |line|
346
+ f.puts line
347
+ end
348
+ f.chmod(permissions)
344
349
  end
345
- f.chmod(permissions)
350
+ rescue SystemCallError
351
+ raise StandardError.new("Failed to open file #{filename} for writing")
346
352
  end
347
- rescue SystemCallError
348
- raise StandardError.new("Failed to open file #{filename} for writing")
349
353
  end
350
354
  end
351
355
  end
@@ -1,3 +1,3 @@
1
1
  class Terradoc
2
- VERSION = '0.1.8'.freeze
2
+ VERSION = '0.1.9'.freeze
3
3
  end
@@ -47,6 +47,10 @@ def process_arguments
47
47
  options[:verbose] = true
48
48
  end
49
49
 
50
+ opts.on('-c', '--console', 'Turn on console output only (doesnt update file)') do
51
+ options[:console] = true
52
+ end
53
+
50
54
  opts.on('-o', '--output string', 'Set the name of the output file. [default: README.md]') do |output|
51
55
  options[:output] = output
52
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terradoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf
@@ -102,7 +102,6 @@ files:
102
102
  - LICENSE.md
103
103
  - README.md
104
104
  - Rakefile
105
- - TEST
106
105
  - VERSION.txt
107
106
  - bin/console
108
107
  - bin/setup
data/TEST DELETED
@@ -1,87 +0,0 @@
1
- # Some example README
2
-
3
- ## Data Sources
4
- <!--Terradoc-data-sources-start-->
5
- > No data found
6
- <!--Terradoc-data-sources-end-->
7
-
8
- ## Modules
9
- <!--Terradoc-modules-start-->
10
- > No data found
11
- <!--Terradoc-modules-end-->
12
-
13
- ## Outputs
14
- <!--Terradoc-outputs-start-->
15
- | Name | Description |
16
- | ---- | ----------- |
17
- | automated\_testing\_account\_alias | The account alias for the automated testing account |
18
- | automated\_testing\_account\_email | The account email for the automated testing account |
19
- | automated\_testing\_account\_id | The account id for the automated testing account |
20
- | automated\_testing\_account\_name | The account name for the automated testing account |
21
- | development\_account\_alias | The account alias for the development account |
22
- | development\_account\_email | The account email for the development account |
23
- | development\_account\_id | The account id for the development account |
24
- | development\_account\_name | The account name for the development account |
25
- | development\_collector\_account\_alias | The account alias for the development collect account |
26
- | development\_collector\_account\_email | The account email for the development collect account |
27
- | development\_collector\_account\_id | The account id for the development collect account |
28
- | development\_collector\_account\_name | The account name for the development collect account |
29
- | infradev\_account\_alias | The account alias for the infradev account |
30
- | infradev\_account\_email | The account email for the infradev account |
31
- | infradev\_account\_id | The account id for the infradev account |
32
- | infradev\_account\_name | The account name for the infradev account |
33
- | logging\_account\_alias | The account alias for the logging account |
34
- | logging\_account\_email | The account email for the logging account |
35
- | logging\_account\_id | The account id for the logging account |
36
- | logging\_account\_name | The account id for the logging account |
37
- | messaging\_account\_alias | The account alias for the messaging account |
38
- | messaging\_account\_email | The account email for the messaging account |
39
- | messaging\_account\_id | The account id for the messaging account |
40
- | messaging\_account\_name | The account name for the messaging account |
41
- | organisation\_account\_alias | The account alias for the organisation account |
42
- | organisation\_account\_email | The account email for the organisation account |
43
- | organisation\_account\_id | The account id for the organisation account |
44
- | organisation\_account\_name | The account name for the organisation account |
45
- | production\_account\_alias | The account alias for the production account |
46
- | production\_account\_email | The account email for the production account |
47
- | production\_account\_id | The account id for the production account |
48
- | production\_account\_name | The account name for the production account |
49
- | production\_collector\_account\_alias | The account alias for the production collector account |
50
- | production\_collector\_account\_email | The account email for the production collector account |
51
- | production\_collector\_account\_id | The account id for the production collector account |
52
- | production\_collector\_account\_name | The account name for the production collector account |
53
- | reporting\_account\_alias | The account alias for the reporting account |
54
- | reporting\_account\_email | The account email for the reporting account |
55
- | reporting\_account\_id | The account id for the reporting account |
56
- | reporting\_account\_name | The account name for the reporting account |
57
- | testing\_account\_alias | The account alias for the testing account |
58
- | testing\_account\_email | The account email for the testing account |
59
- | testing\_account\_id | The account id for the testing account |
60
- | testing\_account\_name | The account name for the testing account |
61
- | testing\_collector\_account\_alias | The account alias for the testing collector account |
62
- | testing\_collector\_account\_email | The account email for the testing collector account |
63
- | testing\_collector\_account\_id | The account id for the testing collector account |
64
- | testing\_collector\_account\_name | The account name for the testing collector account |
65
- | tooling\_account\_alias | The account alias for the tooling account |
66
- | tooling\_account\_email | The account email for the tooling account |
67
- | tooling\_account\_id | The account id for the tooling account |
68
- | tooling\_account\_name | The account name for the tooling account |
69
- <!--Terradoc-outputs-end-->
70
-
71
- ## Providers
72
- <!--Terradoc-providers-start-->
73
- <!--Terradoc-providers-end-->
74
-
75
- ## Resources
76
- <!--Terradoc-resources-start-->
77
- > No data found
78
- <!--Terradoc-resources-end-->
79
-
80
- ## Variables
81
- <!--Terradoc-variables-start-->
82
- | Name | Description | Type | Default | Required? |
83
- | ---- | ----------- |:----:|:-------:|:---------:|
84
- | account\_emails | A list of account email addresses | list(string) | | Yes |
85
- | account\_ids | A list of account id | list(string) | | Yes |
86
- | account\_names | A list of account names | list(string) | | Yes |
87
- <!--Terradoc-variables-end-->