Skip to content

Commit a131e68

Browse files
committed
r/aws_vpc_peering_connection(_accepter|_options): Deprecate 'allow_classic_link_to_remote_vpc' and 'allow_vpc_to_remote_classic_link'.
1 parent 76f3099 commit a131e68

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

.changelog/26427.txt

+12
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,16 @@ resource/aws_launch_configuration: With the retirement of EC2-Classic the`vpc_cl
2828

2929
```release-note:note
3030
resource/aws_vpc: With the retirement of EC2-Classic the`enable_classiclink` and `enable_classiclink_dns_support` attributes have been deprecated and will be removed in a future version
31+
```
32+
33+
```release-note:note
34+
resource/aws_vpc_peering_connection: With the retirement of EC2-Classic the`allow_classic_link_to_remote_vpc` and `allow_vpc_to_remote_classic_link` attributes have been deprecated and will be removed in a future version
35+
```
36+
37+
```release-note:note
38+
resource/aws_vpc_peering_connection_accepter: With the retirement of EC2-Classic the`allow_classic_link_to_remote_vpc` and `allow_vpc_to_remote_classic_link` attributes have been deprecated and will be removed in a future version
39+
```
40+
41+
```release-note:note
42+
resource/aws_vpc_peering_connection_options: With the retirement of EC2-Classic the`allow_classic_link_to_remote_vpc` and `allow_vpc_to_remote_classic_link` attributes have been deprecated and will be removed in a future version
3143
```

internal/service/ec2/vpc_peering_connection.go

+8-6
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,21 @@ var vpcPeeringConnectionOptionsSchema = &schema.Schema{
8484
Elem: &schema.Resource{
8585
Schema: map[string]*schema.Schema{
8686
"allow_classic_link_to_remote_vpc": {
87-
Type: schema.TypeBool,
88-
Optional: true,
89-
Default: false,
87+
Type: schema.TypeBool,
88+
Optional: true,
89+
Default: false,
90+
Deprecated: `With the retirement of EC2-Classic the allow_classic_link_to_remote_vpc attribute has been deprecated and will be removed in a future version.`,
9091
},
9192
"allow_remote_vpc_dns_resolution": {
9293
Type: schema.TypeBool,
9394
Optional: true,
9495
Default: false,
9596
},
9697
"allow_vpc_to_remote_classic_link": {
97-
Type: schema.TypeBool,
98-
Optional: true,
99-
Default: false,
98+
Type: schema.TypeBool,
99+
Optional: true,
100+
Default: false,
101+
Deprecated: `With the retirement of EC2-Classic the allow_vpc_to_remote_classic_link attribute has been deprecated and will be removed in a future version.`,
100102
},
101103
},
102104
},

0 commit comments

Comments
 (0)