Skip to content

Instantly share code, notes, and snippets.

@jlucktay
Last active January 22, 2018 11:51
Show Gist options
  • Save jlucktay/30abd3b5dd674bf2469dae7a0594dec0 to your computer and use it in GitHub Desktop.
Save jlucktay/30abd3b5dd674bf2469dae7a0594dec0 to your computer and use it in GitHub Desktop.
Output from Terraform v0.11.2 which causes errors when fed into Landscape v0.1.17
error: Expected [ ] at line 2, column 2 (byte 3) after
-. Use --trace to view backtrace
Traceback (most recent call last):
13: from C:/tools/ruby25/bin/landscape:23:in `<main>'
12: from C:/tools/ruby25/bin/landscape:23:in `load'
11: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/terraform_landscape-0.1.17/bin/landscape:7:in `<top (required)>'
10: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/terraform_landscape-0.1.17/lib/terraform_landscape/cli.rb:25:in `run'
9: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
8: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
7: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
6: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
5: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
4: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/terraform_landscape-0.1.17/lib/terraform_landscape/cli.rb:34:in `block (2 levels) in define_commands'
3: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/terraform_landscape-0.1.17/lib/terraform_landscape/cli.rb:48:in `print'
2: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/terraform_landscape-0.1.17/lib/terraform_landscape/printer.rb:35:in `process_stream'
1: from C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/terraform_landscape-0.1.17/lib/terraform_landscape/printer.rb:69:in `process_string'
C:/tools/ruby25/lib/ruby/gems/2.5.0/gems/terraform_landscape-0.1.17/lib/terraform_landscape/terraform_plan.rb:36:in `from_output': Expected [ ] at line 2, colum
n 2 (byte 3) after (TerraformLandscape::TerraformPlan::ParseError)
-
255
254
82
0
101
0
102
0
114
0
101
0
115
0
104
0
105
0
110
0
103
0
32
0
84
0
101
0
114
0
114
0
97
0
102
0
111
0
114
0
109
0
32
0
115
0
116
0
97
0
116
0
101
0
32
0
105
0
110
0
45
0
109
0
101
0
109
0
111
0
114
0
121
0
32
0
112
0
114
0
105
0
111
0
114
0
32
0
116
0
111
0
32
0
112
0
108
0
97
0
110
0
46
0
46
0
46
0
13
0
10
0
84
0
104
0
101
0
32
0
114
0
101
0
102
0
114
0
101
0
115
0
104
0
101
0
100
0
32
0
115
0
116
0
97
0
116
0
101
0
32
0
119
0
105
0
108
0
108
0
32
0
98
0
101
0
32
0
117
0
115
0
101
0
100
0
32
0
116
0
111
0
32
0
99
0
97
0
108
0
99
0
117
0
108
0
97
0
116
0
101
0
32
0
116
0
104
0
105
0
115
0
32
0
112
0
108
0
97
0
110
0
44
0
32
0
98
0
117
0
116
0
32
0
119
0
105
0
108
0
108
0
32
0
110
0
111
0
116
0
32
0
98
0
101
0
13
0
10
0
112
0
101
0
114
0
115
0
105
0
115
0
116
0
101
0
100
0
32
0
116
0
111
0
32
0
108
0
111
0
99
0
97
0
108
0
32
0
111
0
114
0
32
0
114
0
101
0
109
0
111
0
116
0
101
0
32
0
115
0
116
0
97
0
116
0
101
0
32
0
115
0
116
0
111
0
114
0
97
0
103
0
101
0
46
0
13
0
10
0
13
0
10
0
100
0
97
0
116
0
97
0
46
0
97
0
119
0
115
0
95
0
118
0
112
0
99
0
46
0
116
0
104
0
105
0
115
0
58
0
32
0
82
0
101
0
102
0
114
0
101
0
115
0
104
0
105
0
110
0
103
0
32
0
115
0
116
0
97
0
116
0
101
0
46
0
46
0
46
0
13
0
10
0
97
0
119
0
115
0
95
0
115
0
117
0
98
0
110
0
101
0
116
0
46
0
115
0
117
0
98
0
110
0
101
0
116
0
115
0
91
0
51
0
93
0
58
0
32
0
82
0
101
0
102
0
114
0
101
0
115
0
104
0
105
0
110
0
103
0
32
0
115
0
116
0
97
0
116
0
101
0
46
0
46
0
46
0
32
0
40
0
73
0
68
0
58
0
32
0
115
0
117
0
98
0
110
0
101
0
116
0
45
0
50
0
51
0
102
0
55
0
99
0
52
0
54
0
97
0
41
0
13
0
10
0
97
0
119
0
115
0
95
0
115
0
117
0
98
0
110
0
101
0
116
0
46
0
115
0
117
0
98
0
110
0
101
0
116
0
115
0
91
0
48
0
93
0
58
0
32
0
82
0
101
0
102
0
114
0
101
0
115
0
104
0
105
0
110
0
103
0
32
0
115
0
116
0
97
0
116
0
101
0
46
0
46
0
46
0
32
0
40
0
73
0
68
0
58
0
32
0
115
0
117
0
98
0
110
0
101
0
116
0
45
0
100
0
56
0
97
0
57
0
56
0
54
0
98
0
102
0
41
0
13
0
10
0
97
0
119
0
115
0
95
0
115
0
117
0
98
0
110
0
101
0
116
0
46
0
115
0
117
0
98
0
110
0
101
0
116
0
115
0
91
0
49
0
93
0
58
0
32
0
82
0
101
0
102
0
114
0
101
0
115
0
104
0
105
0
110
0
103
0
32
0
115
0
116
0
97
0
116
0
101
0
46
0
46
0
46
0
32
0
40
0
73
0
68
0
58
0
32
0
115
0
117
0
98
0
110
0
101
0
116
0
45
0
55
0
100
0
50
0
100
0
49
0
100
0
51
0
52
0
41
0
13
0
10
0
97
0
119
0
115
0
95
0
115
0
117
0
98
0
110
0
101
0
116
0
46
0
115
0
117
0
98
0
110
0
101
0
116
0
115
0
91
0
50
0
93
0
58
0
32
0
82
0
101
0
102
0
114
0
101
0
115
0
104
0
105
0
110
0
103
0
32
0
115
0
116
0
97
0
116
0
101
0
46
0
46
0
46
0
32
0
40
0
73
0
68
0
58
0
32
0
115
0
117
0
98
0
110
0
101
0
116
0
45
0
53
0
50
0
53
0
53
0
52
0
99
0
51
0
54
0
41
0
13
0
10
0
13
0
10
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
45
0
13
0
10
0
13
0
10
0
78
0
111
0
32
0
99
0
104
0
97
0
110
0
103
0
101
0
115
0
46
0
32
0
73
0
110
0
102
0
114
0
97
0
115
0
116
0
114
0
117
0
99
0
116
0
117
0
114
0
101
0
32
0
105
0
115
0
32
0
117
0
112
0
45
0
116
0
111
0
45
0
100
0
97
0
116
0
101
0
46
0
13
0
10
0
13
0
10
0
84
0
104
0
105
0
115
0
32
0
109
0
101
0
97
0
110
0
115
0
32
0
116
0
104
0
97
0
116
0
32
0
84
0
101
0
114
0
114
0
97
0
102
0
111
0
114
0
109
0
32
0
100
0
105
0
100
0
32
0
110
0
111
0
116
0
32
0
100
0
101
0
116
0
101
0
99
0
116
0
32
0
97
0
110
0
121
0
32
0
100
0
105
0
102
0
102
0
101
0
114
0
101
0
110
0
99
0
101
0
115
0
32
0
98
0
101
0
116
0
119
0
101
0
101
0
110
0
32
0
121
0
111
0
117
0
114
0
13
0
10
0
99
0
111
0
110
0
102
0
105
0
103
0
117
0
114
0
97
0
116
0
105
0
111
0
110
0
32
0
97
0
110
0
100
0
32
0
114
0
101
0
97
0
108
0
32
0
112
0
104
0
121
0
115
0
105
0
99
0
97
0
108
0
32
0
114
0
101
0
115
0
111
0
117
0
114
0
99
0
101
0
115
0
32
0
116
0
104
0
97
0
116
0
32
0
101
0
120
0
105
0
115
0
116
0
46
0
32
0
65
0
115
0
32
0
97
0
32
0
114
0
101
0
115
0
117
0
108
0
116
0
44
0
32
0
110
0
111
0
13
0
10
0
97
0
99
0
116
0
105
0
111
0
110
0
115
0
32
0
110
0
101
0
101
0
100
0
32
0
116
0
111
0
32
0
98
0
101
0
32
0
112
0
101
0
114
0
102
0
111
0
114
0
109
0
101
0
100
0
46
0
13
0
10
0
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.aws_vpc.this: Refreshing state...
aws_subnet.subnets[2]: Refreshing state... (ID: subnet-52554c36)
aws_subnet.subnets[0]: Refreshing state... (ID: subnet-d8a986bf)
aws_subnet.subnets[3]: Refreshing state... (ID: subnet-23f7c46a)
aws_subnet.subnets[1]: Refreshing state... (ID: subnet-7d2d1d34)
------------------------------------------------------------------------
No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

data.aws_vpc.this: Refreshing state...
aws_subnet.subnets[0]: Refreshing state... (ID: subnet-d8a986bf)
aws_subnet.subnets[1]: Refreshing state... (ID: subnet-7d2d1d34)
aws_subnet.subnets[3]: Refreshing state... (ID: subnet-23f7c46a)
aws_subnet.subnets[2]: Refreshing state... (ID: subnet-52554c36)
------------------------------------------------------------------------
No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment