Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 9b2b3a9

Browse files
committed
ResourceDiff => InstanceDiff
1 parent 0a6c675 commit 9b2b3a9

59 files changed

Lines changed: 285 additions & 285 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

builtin/providers/aws/resource_aws_autoscaling_group.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
func resource_aws_autoscaling_group_create(
1616
s *terraform.InstanceState,
17-
d *terraform.ResourceDiff,
17+
d *terraform.InstanceDiff,
1818
meta interface{}) (*terraform.InstanceState, error) {
1919
p := meta.(*ResourceProvider)
2020
autoscalingconn := p.autoscalingconn
@@ -94,7 +94,7 @@ func resource_aws_autoscaling_group_create(
9494

9595
func resource_aws_autoscaling_group_update(
9696
s *terraform.InstanceState,
97-
d *terraform.ResourceDiff,
97+
d *terraform.InstanceDiff,
9898
meta interface{}) (*terraform.InstanceState, error) {
9999
p := meta.(*ResourceProvider)
100100
autoscalingconn := p.autoscalingconn
@@ -187,7 +187,7 @@ func resource_aws_autoscaling_group_refresh(
187187
func resource_aws_autoscaling_group_diff(
188188
s *terraform.InstanceState,
189189
c *terraform.ResourceConfig,
190-
meta interface{}) (*terraform.ResourceDiff, error) {
190+
meta interface{}) (*terraform.InstanceDiff, error) {
191191

192192
b := &diff.ResourceBuilder{
193193
Attrs: map[string]diff.AttrType{

builtin/providers/aws/resource_aws_db_instance.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
func resource_aws_db_instance_create(
1919
s *terraform.InstanceState,
20-
d *terraform.ResourceDiff,
20+
d *terraform.InstanceDiff,
2121
meta interface{}) (*terraform.InstanceState, error) {
2222
p := meta.(*ResourceProvider)
2323
conn := p.rdsconn
@@ -137,7 +137,7 @@ func resource_aws_db_instance_create(
137137

138138
func resource_aws_db_instance_update(
139139
s *terraform.InstanceState,
140-
d *terraform.ResourceDiff,
140+
d *terraform.InstanceDiff,
141141
meta interface{}) (*terraform.InstanceState, error) {
142142
panic("Cannot update DB")
143143
}
@@ -201,7 +201,7 @@ func resource_aws_db_instance_refresh(
201201
func resource_aws_db_instance_diff(
202202
s *terraform.InstanceState,
203203
c *terraform.ResourceConfig,
204-
meta interface{}) (*terraform.ResourceDiff, error) {
204+
meta interface{}) (*terraform.InstanceDiff, error) {
205205

206206
b := &diff.ResourceBuilder{
207207
Attrs: map[string]diff.AttrType{

builtin/providers/aws/resource_aws_db_security_group.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
func resource_aws_db_security_group_create(
1818
s *terraform.InstanceState,
19-
d *terraform.ResourceDiff,
19+
d *terraform.InstanceDiff,
2020
meta interface{}) (*terraform.InstanceState, error) {
2121
p := meta.(*ResourceProvider)
2222
conn := p.rdsconn
@@ -86,7 +86,7 @@ func resource_aws_db_security_group_create(
8686

8787
func resource_aws_db_security_group_update(
8888
s *terraform.InstanceState,
89-
d *terraform.ResourceDiff,
89+
d *terraform.InstanceDiff,
9090
meta interface{}) (*terraform.InstanceState, error) {
9191
panic("Cannot update DB security group")
9292
}
@@ -133,7 +133,7 @@ func resource_aws_db_security_group_refresh(
133133
func resource_aws_db_security_group_diff(
134134
s *terraform.InstanceState,
135135
c *terraform.ResourceConfig,
136-
meta interface{}) (*terraform.ResourceDiff, error) {
136+
meta interface{}) (*terraform.InstanceDiff, error) {
137137

138138
b := &diff.ResourceBuilder{
139139
Attrs: map[string]diff.AttrType{

builtin/providers/aws/resource_aws_elb.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
func resource_aws_elb_create(
1616
s *terraform.InstanceState,
17-
d *terraform.ResourceDiff,
17+
d *terraform.InstanceDiff,
1818
meta interface{}) (*terraform.InstanceState, error) {
1919
p := meta.(*ResourceProvider)
2020
elbconn := p.elbconn
@@ -125,7 +125,7 @@ func resource_aws_elb_create(
125125

126126
func resource_aws_elb_update(
127127
s *terraform.InstanceState,
128-
d *terraform.ResourceDiff,
128+
d *terraform.InstanceDiff,
129129
meta interface{}) (*terraform.InstanceState, error) {
130130
p := meta.(*ResourceProvider)
131131
elbconn := p.elbconn
@@ -251,7 +251,7 @@ func resource_aws_elb_refresh(
251251
func resource_aws_elb_diff(
252252
s *terraform.InstanceState,
253253
c *terraform.ResourceConfig,
254-
meta interface{}) (*terraform.ResourceDiff, error) {
254+
meta interface{}) (*terraform.InstanceDiff, error) {
255255

256256
b := &diff.ResourceBuilder{
257257
Attrs: map[string]diff.AttrType{

builtin/providers/aws/resource_aws_internet_gateway.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
func resource_aws_internet_gateway_create(
1515
s *terraform.InstanceState,
16-
d *terraform.ResourceDiff,
16+
d *terraform.InstanceDiff,
1717
meta interface{}) (*terraform.InstanceState, error) {
1818
p := meta.(*ResourceProvider)
1919
ec2conn := p.ec2conn
@@ -36,7 +36,7 @@ func resource_aws_internet_gateway_create(
3636

3737
func resource_aws_internet_gateway_update(
3838
s *terraform.InstanceState,
39-
d *terraform.ResourceDiff,
39+
d *terraform.InstanceDiff,
4040
meta interface{}) (*terraform.InstanceState, error) {
4141
p := meta.(*ResourceProvider)
4242
ec2conn := p.ec2conn
@@ -128,7 +128,7 @@ func resource_aws_internet_gateway_refresh(
128128
func resource_aws_internet_gateway_diff(
129129
s *terraform.InstanceState,
130130
c *terraform.ResourceConfig,
131-
meta interface{}) (*terraform.ResourceDiff, error) {
131+
meta interface{}) (*terraform.InstanceDiff, error) {
132132
b := &diff.ResourceBuilder{
133133
Attrs: map[string]diff.AttrType{
134134
"vpc_id": diff.AttrTypeUpdate,

builtin/providers/aws/resource_aws_launch_configuration.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
func resource_aws_launch_configuration_create(
1515
s *terraform.InstanceState,
16-
d *terraform.ResourceDiff,
16+
d *terraform.InstanceDiff,
1717
meta interface{}) (*terraform.InstanceState, error) {
1818
p := meta.(*ResourceProvider)
1919
autoscalingconn := p.autoscalingconn
@@ -76,7 +76,7 @@ func resource_aws_launch_configuration_create(
7676

7777
func resource_aws_launch_configuration_update(
7878
s *terraform.InstanceState,
79-
d *terraform.ResourceDiff,
79+
d *terraform.InstanceDiff,
8080
meta interface{}) (*terraform.InstanceState, error) {
8181
panic("Update for AWS Launch Configuration is not supported")
8282
}
@@ -120,7 +120,7 @@ func resource_aws_launch_configuration_refresh(
120120
func resource_aws_launch_configuration_diff(
121121
s *terraform.InstanceState,
122122
c *terraform.ResourceConfig,
123-
meta interface{}) (*terraform.ResourceDiff, error) {
123+
meta interface{}) (*terraform.InstanceDiff, error) {
124124

125125
b := &diff.ResourceBuilder{
126126
Attrs: map[string]diff.AttrType{

builtin/providers/aws/resource_aws_route53_record.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func resource_aws_r53_record_validation() *config.Validator {
2929

3030
func resource_aws_r53_record_create(
3131
s *terraform.InstanceState,
32-
d *terraform.ResourceDiff,
32+
d *terraform.InstanceDiff,
3333
meta interface{}) (*terraform.InstanceState, error) {
3434
p := meta.(*ResourceProvider)
3535
conn := p.route53
@@ -234,7 +234,7 @@ func resource_aws_r53_record_update_state(
234234
func resource_aws_r53_record_diff(
235235
s *terraform.InstanceState,
236236
c *terraform.ResourceConfig,
237-
meta interface{}) (*terraform.ResourceDiff, error) {
237+
meta interface{}) (*terraform.InstanceDiff, error) {
238238
b := &diff.ResourceBuilder{
239239
Attrs: map[string]diff.AttrType{
240240
"zone_id": diff.AttrTypeCreate,

builtin/providers/aws/resource_aws_route53_zone.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func resource_aws_r53_zone_validation() *config.Validator {
2222

2323
func resource_aws_r53_zone_create(
2424
s *terraform.InstanceState,
25-
d *terraform.ResourceDiff,
25+
d *terraform.InstanceDiff,
2626
meta interface{}) (*terraform.InstanceState, error) {
2727
p := meta.(*ResourceProvider)
2828
r53 := p.route53
@@ -109,7 +109,7 @@ func resource_aws_r53_zone_refresh(
109109
func resource_aws_r53_zone_diff(
110110
s *terraform.InstanceState,
111111
c *terraform.ResourceConfig,
112-
meta interface{}) (*terraform.ResourceDiff, error) {
112+
meta interface{}) (*terraform.InstanceDiff, error) {
113113

114114
b := &diff.ResourceBuilder{
115115
Attrs: map[string]diff.AttrType{

builtin/providers/aws/resource_aws_route_table.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
func resource_aws_route_table_create(
1717
s *terraform.InstanceState,
18-
d *terraform.ResourceDiff,
18+
d *terraform.InstanceDiff,
1919
meta interface{}) (*terraform.InstanceState, error) {
2020
p := meta.(*ResourceProvider)
2121
ec2conn := p.ec2conn
@@ -57,7 +57,7 @@ func resource_aws_route_table_create(
5757

5858
func resource_aws_route_table_update(
5959
s *terraform.InstanceState,
60-
d *terraform.ResourceDiff,
60+
d *terraform.InstanceDiff,
6161
meta interface{}) (*terraform.InstanceState, error) {
6262
p := meta.(*ResourceProvider)
6363
ec2conn := p.ec2conn
@@ -208,7 +208,7 @@ func resource_aws_route_table_refresh(
208208
func resource_aws_route_table_diff(
209209
s *terraform.InstanceState,
210210
c *terraform.ResourceConfig,
211-
meta interface{}) (*terraform.ResourceDiff, error) {
211+
meta interface{}) (*terraform.InstanceDiff, error) {
212212
b := &diff.ResourceBuilder{
213213
Attrs: map[string]diff.AttrType{
214214
"vpc_id": diff.AttrTypeCreate,

builtin/providers/aws/resource_aws_route_table_association.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func resource_aws_route_table_association_create(
1313
s *terraform.InstanceState,
14-
d *terraform.ResourceDiff,
14+
d *terraform.InstanceDiff,
1515
meta interface{}) (*terraform.InstanceState, error) {
1616
p := meta.(*ResourceProvider)
1717
ec2conn := p.ec2conn
@@ -37,7 +37,7 @@ func resource_aws_route_table_association_create(
3737

3838
func resource_aws_route_table_association_update(
3939
s *terraform.InstanceState,
40-
d *terraform.ResourceDiff,
40+
d *terraform.InstanceDiff,
4141
meta interface{}) (*terraform.InstanceState, error) {
4242
p := meta.(*ResourceProvider)
4343
ec2conn := p.ec2conn
@@ -122,7 +122,7 @@ func resource_aws_route_table_association_refresh(
122122
func resource_aws_route_table_association_diff(
123123
s *terraform.InstanceState,
124124
c *terraform.ResourceConfig,
125-
meta interface{}) (*terraform.ResourceDiff, error) {
125+
meta interface{}) (*terraform.InstanceDiff, error) {
126126
b := &diff.ResourceBuilder{
127127
Attrs: map[string]diff.AttrType{
128128
"subnet_id": diff.AttrTypeCreate,

0 commit comments

Comments
 (0)