You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Pre-shared key of the VPN connection.",
67
67
},
68
68
"security_group_policy": {
69
-
Type: schema.TypeSet,
70
-
Required: true,
71
-
Description: "Security group policy of the VPN connection.",
69
+
Type: schema.TypeSet,
70
+
Optional: true,
71
+
Description: "SPD policy group, for example: {\"10.0.0.5/24\":[\"172.123.10.5/16\"]}, 10.0.0.5/24 is the vpc intranet segment, and 172.123.10.5/16 is the IDC network segment. "+
72
+
"Users specify which network segments in the VPC can communicate with which network segments in your IDC.",
Copy file name to clipboardExpand all lines: website/docs/r/vpn_connection.html.markdown
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,6 @@ The following arguments are supported:
52
52
*`customer_gateway_id` - (Required, String, ForceNew) ID of the customer gateway.
53
53
*`name` - (Required, String) Name of the VPN connection. The length of character is limited to 1-60.
54
54
*`pre_share_key` - (Required, String) Pre-shared key of the VPN connection.
55
-
*`security_group_policy` - (Required, Set) Security group policy of the VPN connection.
56
55
*`vpn_gateway_id` - (Required, String, ForceNew) ID of the VPN gateway.
57
56
*`dpd_action` - (Optional, String) The action after DPD timeout. Valid values: clear (disconnect) and restart (try again). It is valid when DpdEnable is 1.
58
57
*`dpd_enable` - (Optional, Int) Specifies whether to enable DPD. Valid values: 0 (disable) and 1 (enable).
@@ -77,6 +76,8 @@ The following arguments are supported:
77
76
*`ipsec_pfs_dh_group` - (Optional, String) PFS DH group. Valid value: `GROUP1`, `GROUP2`, `GROUP5`, `GROUP14`, `GROUP24`, `NULL`. Default value is `NULL`.
78
77
*`ipsec_sa_lifetime_seconds` - (Optional, Int) SA lifetime of the IPSEC operation specification, unit is second. Valid value ranges: [180~604800]. Default value is 3600 seconds.
79
78
*`ipsec_sa_lifetime_traffic` - (Optional, Int) SA lifetime of the IPSEC operation specification, unit is KB. The value should not be less then 2560. Default value is 1843200.
79
+
*`route_type` - (Optional, String, ForceNew) Route type of the VPN connection. Valid value: `STATIC`, `StaticRoute`, `Policy`.
80
+
*`security_group_policy` - (Optional, Set) SPD policy group, for example: {"10.0.0.5/24":["172.123.10.5/16"]}, 10.0.0.5/24 is the vpc intranet segment, and 172.123.10.5/16 is the IDC network segment. Users specify which network segments in the VPC can communicate with which network segments in your IDC.
80
81
*`tags` - (Optional, Map) A list of tags used to associate different resources.
81
82
*`vpc_id` - (Optional, String, ForceNew) ID of the VPC. Required if vpn gateway is not in `CCN` type, and doesn't make sense for `CCN` vpn gateway.
82
83
@@ -94,7 +95,6 @@ In addition to all arguments above, the following attributes are exported:
94
95
*`encrypt_proto` - Encrypt proto of the VPN connection.
95
96
*`is_ccn_type` - Indicate whether is ccn type. Modification of this field only impacts force new logic of `vpc_id`. If `is_ccn_type` is true, modification of `vpc_id` will be ignored.
96
97
*`net_status` - Net status of the VPN connection. Valid value: `AVAILABLE`.
97
-
*`route_type` - Route type of the VPN connection.
98
98
*`state` - State of the connection. Valid value: `PENDING`, `AVAILABLE`, `DELETING`.
0 commit comments