Skip to content

Commit

Permalink
Release v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schirevko committed Jun 19, 2024
1 parent 817c160 commit 310af25
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 8 deletions.
153 changes: 148 additions & 5 deletions .release/provider-schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"provider_name": "vkcs",
"provider_version": "v0.7.4",
"provider_version": "v0.8.0",
"schema_version": "1",
"provider_schema": {
"schema": {
Expand Down Expand Up @@ -2236,6 +2236,65 @@
"description": "Manages a direct connect BGP Static Announce resource._note_ This resource requires Sprut SDN to be enabled in your project.",
"new_since": "v0.5.0"
},
"vkcs_dc_conntrack_helper": {
"schema": {
"created_at": {
"type": "TypeString",
"description": "Creation timestamp",
"computed": true
},
"dc_router_id": {
"type": "TypeString",
"required": true,
"description": "Direct Connect Router ID. Changing this creates a new resource"
},
"description": {
"type": "TypeString",
"optional": true,
"description": "Description of the conntrack helper",
"computed": true
},
"helper": {
"type": "TypeString",
"required": true,
"description": "Helper type. Must be one of: \"ftp\"."
},
"id": {
"type": "TypeString",
"description": "ID of the resource",
"computed": true
},
"name": {
"type": "TypeString",
"optional": true,
"description": "Name of the conntrack helper",
"computed": true
},
"port": {
"type": "TypeInt",
"required": true,
"description": "Network port for conntrack target rule."
},
"protocol": {
"type": "TypeString",
"required": true,
"description": "Protocol. Must be one of: \"tcp\"."
},
"region": {
"type": "TypeString",
"optional": true,
"description": "The `region` to fetch availability zones from, defaults to the provider's `region`.",
"computed": true
},
"updated_at": {
"type": "TypeString",
"description": "Update timestamp",
"computed": true
}
},
"description": "Manages a direct connect conntrack helper resource._note_ This resource requires Sprut SDN to be enabled in your project.",
"new_since": "v0.8.0"
},
"vkcs_dc_interface": {
"schema": {
"bgp_announce_enabled": {
Expand Down Expand Up @@ -2328,6 +2387,80 @@
"description": "Manages a direct connect interface resource._note_ This resource requires Sprut SDN to be enabled in your project.",
"new_since": "v0.5.0"
},
"vkcs_dc_ip_port_forwarding": {
"schema": {
"created_at": {
"type": "TypeString",
"description": "Creation timestamp",
"computed": true
},
"dc_interface_id": {
"type": "TypeString",
"required": true,
"description": "Direct Connect Interface ID. Changing this creates a new resource"
},
"description": {
"type": "TypeString",
"optional": true,
"description": "Description of the conntrack helper",
"computed": true
},
"destination": {
"type": "TypeString",
"optional": true,
"description": "Destination address selector."
},
"id": {
"type": "TypeString",
"description": "ID of the resource",
"computed": true
},
"name": {
"type": "TypeString",
"optional": true,
"description": "Name of the conntrack helper",
"computed": true
},
"port": {
"type": "TypeInt",
"optional": true,
"description": "Port selector."
},
"protocol": {
"type": "TypeString",
"required": true,
"description": "Protocol. Must be one of: \"tcp\", \"udp\", \"any\"."
},
"region": {
"type": "TypeString",
"optional": true,
"description": "The `region` to fetch availability zones from, defaults to the provider's `region`.",
"computed": true
},
"source": {
"type": "TypeString",
"optional": true,
"description": "Source address selector."
},
"to_destination": {
"type": "TypeString",
"required": true,
"description": "IP Address of forwarding's destination."
},
"to_port": {
"type": "TypeInt",
"optional": true,
"description": "Destination port selector."
},
"updated_at": {
"type": "TypeString",
"description": "Update timestamp",
"computed": true
}
},
"description": "Manages a direct connect ip port forwarding resource._note_ This resource requires Sprut SDN to be enabled in your project.",
"new_since": "v0.8.0"
},
"vkcs_dc_router": {
"schema": {
"availability_zone": {
Expand Down Expand Up @@ -4939,11 +5072,12 @@
},
"all_security_group_ids": {
"type": "TypeSet",
"description": "The collection of Security Group IDs on the port which have been explicitly and implicitly added.",
"description": "The collection of security group IDs on the port which have been explicitly and implicitly added.",
"computed": true,
"elem": {
"type": "TypeString"
}
},
"deprecated": "Use `security_group_ids` together with `full_security_groups_control = true` instead."
},
"all_tags": {
"type": "TypeSet",
Expand Down Expand Up @@ -5043,6 +5177,13 @@
}
}
},
"full_security_groups_control": {
"type": "TypeBool",
"optional": true,
"default": false,
"description": "Always set this argument to `true`. It brings consistent behavior of managing of security groups of the port. See description of `security_group_ids` argument. _note_ This argument is introduced to seamless migration to the consistent behavior and will get `true` by default in new major version of the provider.",
"new_since": "v0.8.0"
},
"mac_address": {
"type": "TypeString",
"optional": true,
Expand All @@ -5069,7 +5210,8 @@
"no_security_groups": {
"type": "TypeBool",
"optional": true,
"description": "(Conflicts with `security_group_ids`) If set to `true`, then no security groups are applied to the port. If set to `false` and no `security_group_ids` are specified, then the port will yield to the default behavior of the Networking service, which is to usually apply the \"default\" security group."
"description": "If set to `true`, then no security groups are applied to the port. If set to `false` and no `security_group_ids` are specified, then the port will yield to the default behavior of the Networking service, which is to usually apply the \"default\" security group.",
"deprecated": "Configure `full_security_groups_control = true` and `security_group_ids = []` instead."
},
"port_security_enabled": {
"type": "TypeBool",
Expand All @@ -5094,7 +5236,8 @@
"security_group_ids": {
"type": "TypeSet",
"optional": true,
"description": "(Conflicts with `no_security_groups`) A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).",
"description": "A list of security group IDs to apply to the port. The security groups must be specified by ID and not name. If the list is empty then no one security group is attached to the port. If the argument is absent then `vkcs_networking_port` resource does not control security groups of the port and just reads them from Networking service. The last case yields to the default behavior of the Networking service, which adds the \"default\" security group. _note_ This behavior is actual with `full_security_groups_control` = true only and introduced in 0.8.0 version of the provider. Legacy behavior is still supported but deprecated and too confusing to be described.",
"computed": true,
"elem": {
"type": "TypeString"
}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-

# VKCS Provider's changelog

#### v0.8.0 (unreleased)
#### v0.8.0
- Add vkcs_dc_conntrack_helper resource
- Add vkcs_dc_ip_port_forwarding resource
- Add full_security_groups_control argument to vkcs_networking_port resource.
Expand Down
2 changes: 2 additions & 0 deletions docs/resources/dc_conntrack_helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Manages a direct connect conntrack helper resource.

~> **Note:** This resource requires Sprut SDN to be enabled in your project.

**New since v0.8.0**.

## Example Usage
```terraform
resource "vkcs_dc_conntrack_helper" "dc-conntrack-helper" {
Expand Down
2 changes: 2 additions & 0 deletions docs/resources/dc_ip_port_forwarding.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Manages a direct connect ip port forwarding resource.

~> **Note:** This resource requires Sprut SDN to be enabled in your project.

**New since v0.8.0**.

## Example Usage
```terraform
resource "vkcs_dc_ip_port_forwarding" "dc-ip-port-forwarding" {
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/networking_port.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ resource "vkcs_networking_port" "persistent_etcd" {

- `ip_address` optional *string* → IP address desired in the subnet for this port. If you don't specify `ip_address`, an available IP address from the specified subnet will be allocated to this port. This field will not be populated if it is left blank or omitted. To retrieve the assigned IP address, use the `all_fixed_ips` attribute.

- `full_security_groups_control` optional *boolean* &rarr; Always set this argument to `true`. It brings consistent behavior of managing of security groups of the port. See description of `security_group_ids` argument. <br>**Note:** This argument is introduced to seamless migration to the consistent behavior and will get `true` by default in new major version of the provider.
- `full_security_groups_control` optional *boolean* &rarr; Always set this argument to `true`. It brings consistent behavior of managing of security groups of the port. See description of `security_group_ids` argument. <br>**Note:** This argument is introduced to seamless migration to the consistent behavior and will get `true` by default in new major version of the provider.<br>**New since v0.8.0**.

- `mac_address` optional *string* &rarr; Specify a specific MAC address for the port. Changing this creates a new port.

Expand Down
2 changes: 1 addition & 1 deletion vkcs/internal/providerwrapper/schema_base.go

Large diffs are not rendered by default.

0 comments on commit 310af25

Please sign in to comment.