diff --git a/.github/workflows/secure.yml b/.github/workflows/secure.yml index 0dcfcd5a..78e8851b 100644 --- a/.github/workflows/secure.yml +++ b/.github/workflows/secure.yml @@ -51,7 +51,7 @@ jobs: trivy: runs-on: ubuntu-24.04 container: - image: aquasec/trivy:0.69.3 + image: aquasec/trivy:0.72.0 permissions: contents: read security-events: write diff --git a/CHANGELOG.md b/CHANGELOG.md index e35999a7..51086b03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 8.2.3 (July 10, 2026) + +* Update documentation for `selectel_vpc_public_port_v1` resource ([#408](https://github.com/selectel/terraform-provider-selectel/pull/408)) + ## 8.2.2 (July 9, 2026) BUG FIXES: diff --git a/website/docs/r/vpc_public_port_v1.html.markdown b/website/docs/r/vpc_public_port_v1.html.markdown index afd729af..f6762be4 100644 --- a/website/docs/r/vpc_public_port_v1.html.markdown +++ b/website/docs/r/vpc_public_port_v1.html.markdown @@ -15,7 +15,7 @@ Creates and manages a direct public IP address (public port) in VPC using public ```hcl resource "selectel_vpc_public_port_v1" "port_1" { project_id = selectel_vpc_project_v2.project_1.id - region = "ru-3" + region = "ru-6" description = "my-own-direct-public-ip-port" admin_state_up = false security_group_ids = [openstack_networking_secgroup_v2.sg_1.id] @@ -24,25 +24,25 @@ resource "selectel_vpc_public_port_v1" "port_1" { ## Argument Reference -* `project_id` - (Required) Unique identifier (no-hyphens) of the associated project. Changing this creates a new public port. Retrieved from the [selectel_vpc_project_v2](https://registry.terraform.io/providers/selectel/selectel/latest/docs/resources/vpc_project_v2) resource. Learn more about [Projects](https://docs.selectel.ru/en/control-panel-actions/projects/about-projects/). +* `project_id` — (Required) Unique identifier of the associated project. Changing this creates a new public port. Retrieved from the [selectel_vpc_project_v2](https://registry.terraform.io/providers/selectel/selectel/latest/docs/resources/vpc_project_v2) resource. Learn more about [Projects](https://docs.selectel.ru/en/control-panel-actions/projects/about-projects/). -* `region` - (Required) Pool where the public port is located, for example, `ru-3`. Changing this creates a new public port. Learn more about available pools in the [Availability matrix](https://docs.selectel.ru/en/control-panel-actions/availability-matrix/). +* `region` — (Required) Pool where the public port is located, for example, `ru-6`. Changing this creates a new public port. Learn more about available pools in the [Availability matrix](https://docs.selectel.ru/en/control-panel-actions/availability-matrix/). -* `description` - (Optional) Public port description. The default value is empty string. +* `description` — (Optional) Public port description. The default value is an empty string. -* `admin_state_up` - (Optional) Enables (`true`) or disables (`false`) the public port administratively. The default value is (`true`). +* `admin_state_up` — (Optional) Enables (`true`) or disables (`false`) the public port administratively. The default value is `true`. -* `security_group_ids` - (Optional) List of OpenStack security group identifiers to associate with the public port. Learn more about the [openstack_networking_secgroup_v2](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_v2) resource in the official OpenStack documentation. The default value is identifier of default security group in the project. +* `security_group_ids` — (Optional) List of OpenStack security group identifiers to associate with the public port. Learn more about the [openstack_networking_secgroup_v2](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_v2) resource in the official OpenStack documentation. The default value is the identifier of the default security group in the project. ## Attributes Reference -* `network_id` - Identifier of the network where the public port is allocated +* `network_id` — Identifier of the service network to which the public port is attached. -* `ip_address` - Direct public IP address assigned to the public port. +* `ip_address` — Direct public IP address assigned to the public port. -* `subnet` - CIDR of the subnet where the public port is allocated. +* `subnet` — CIDR of the subnet in which the public port IP address is allocated. -* `gateway` - IP address of the subnet gateway. +* `gateway` — IP address of the subnet gateway. ## Import @@ -64,5 +64,5 @@ where: * `` — Name of the service user. To get the name, in the top right corner of the [Control panel](https://my.selectel.ru/profile/users_management/users?type=service), go to the account menu ⟶ **Profile and Settings** ⟶ **User management** ⟶ the **Service users** tab ⟶ copy the name of the required user. Learn more about [Service users](https://docs.selectel.ru/control-panel-actions/users-and-roles/user-types-and-roles/). * `` — Password of the service user. * `` — Unique identifier of the associated project. To get the project ID, in the [Control panel](https://my.selectel.ru/vpc/), go to **Cloud Platform** ⟶ project name ⟶ copy the ID of the required project. Learn more about [Projects](https://docs.selectel.ru/en/control-panel-actions/projects/about-projects/). -* `` — Pool where the public port is located, for example, `ru-3`. To get information about the pool, in the [Control panel](https://my.selectel.ru/vpc/), go to **Cloud Platform** ⟶ **Network** ⟶ the **Direct Public IP** tab ⟶ copy the name of the required pool in the dropdown list. -* `` — Unique identifier of the public port, for example, `b311ce58-2658-46b5-b733-7a0f418703f2`. To get the public port ID, in the [Control panel](https://my.selectel.ru/vpc/), go to **Cloud Platform** ⟶ **Network** ⟶ the **Direct Public IP** tab ⟶ copy the ID of the required public port. +* `` — Pool where the public port is located, for example, `ru-6`. To get information about the pool, in the [Control panel](https://my.selectel.ru/vpc/default/networks), go to **Cloud Platform** ⟶ **Network** ⟶ the **Direct public IP addresses** tab. The pool is under the IP address. +* `` — Unique identifier of the public port, for example, `b311ce58-2658-46b5-b733-7a0f418703f2`. To get the public port ID, in the [Control panel](https://my.selectel.ru/vpc/default/networks), go to **Cloud Platform** ⟶ **Network** ⟶ the **Direct public IP addresses** tab ⟶ copy the ID of the public port on the right side of the public port card.