Skip to content

Commit f1c8618

Browse files
Merge pull request #715 from linode/dev
Release v0.42.0
2 parents 58d89e6 + 9981b1c commit f1c8618

File tree

73 files changed

+2915
-84
lines changed

Some content is hidden

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

73 files changed

+2915
-84
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
path: .ansible/collections/ansible_collections/linode/cloud
1919

2020
- name: setup python 3
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
2424

@@ -55,7 +55,7 @@ jobs:
5555
path: .ansible/collections/ansible_collections/linode/cloud
5656

5757
- name: setup python 3
58-
uses: actions/setup-python@v5
58+
uses: actions/setup-python@v6
5959
with:
6060
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
6161

.github/workflows/integration-tests-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
submodules: 'recursive'
4141

4242
- name: setup python 3
43-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@v6
4444
with:
4545
python-version: '3.x'
4646

@@ -83,7 +83,7 @@ jobs:
8383
env:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8585

86-
- uses: actions/github-script@v7
86+
- uses: actions/github-script@v8
8787
id: update-check-run
8888
if: ${{ inputs.pull_request_number != '' && fromJson(steps.commit-hash.outputs.data).repository.pullRequest.headRef.target.oid == inputs.sha }}
8989
env:
@@ -144,7 +144,7 @@ jobs:
144144

145145
steps:
146146
- name: Set up Python
147-
uses: actions/setup-python@v5
147+
uses: actions/setup-python@v6
148148
with:
149149
python-version: '3.x'
150150

.github/workflows/integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
submodules: 'recursive'
4242

4343
- name: Setup Python 3
44-
uses: actions/setup-python@v5
44+
uses: actions/setup-python@v6
4545
with:
4646
python-version: ${{ inputs.run-eol-python-version == 'true' && env.EOL_PYTHON_VERSION || inputs.python-version || env.DEFAULT_PYTHON_VERSION }}
4747

@@ -89,7 +89,7 @@ jobs:
8989
submodules: 'recursive'
9090

9191
- name: Set up Python
92-
uses: actions/setup-python@v5
92+
uses: actions/setup-python@v6
9393
with:
9494
python-version: '3.x'
9595

@@ -174,7 +174,7 @@ jobs:
174174

175175
steps:
176176
- name: Set up Python
177-
uses: actions/setup-python@v5
177+
uses: actions/setup-python@v6
178178
with:
179179
python-version: '3.x'
180180

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: actions/checkout@v5
1111

1212
- name: setup python 3
13-
uses: actions/setup-python@v5
13+
uses: actions/setup-python@v6
1414
with:
1515
python-version: '3.x'
1616

.github/workflows/nightly-smoke-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
submodules: 'recursive'
3030

3131
- name: Setup Python 3
32-
uses: actions/setup-python@v5
32+
uses: actions/setup-python@v6
3333
with:
3434
python-version: ${{ inputs.run-eol-python-version == 'true' && env.EOL_PYTHON_VERSION || inputs.python-version || env.DEFAULT_PYTHON_VERSION }}
3535

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
path: .ansible/collections/ansible_collections/linode/cloud
2020

2121
- name: setup python 3
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: '3.x'
2525

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
path: .ansible/collections/ansible_collections/linode/cloud
2222

2323
- name: setup python 3
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ Name | Description |
128128
[linode.cloud.volume_list](./docs/modules/volume_list.md)|List and filter on Linode Volumes.|
129129
[linode.cloud.volume_type_list](./docs/modules/volume_type_list.md)|List and filter on Volume Types.|
130130
[linode.cloud.vpc_ip_list](./docs/modules/vpc_ip_list.md)|List and filter on VPC IP Addresses.|
131+
[linode.cloud.vpc_ipv6_list](./docs/modules/vpc_ipv6_list.md)|List and filter on all VPC IPv6 addresses for a given VPC.|
131132
[linode.cloud.vpc_list](./docs/modules/vpc_list.md)|List and filter on VPCs.|
132133
[linode.cloud.vpc_subnet_list](./docs/modules/vpc_subnet_list.md)|List and filter on VPC Subnets.|
133134
[linode.cloud.vpcs_ip_list](./docs/modules/vpcs_ip_list.md)|List and filter on all VPC IP Addresses.|
135+
[linode.cloud.vpcs_ipv6_list](./docs/modules/vpcs_ipv6_list.md)|List and filter on all VPC IPv6 addresses.|
134136

135137

136138
### Inventory Plugins

docs/modules/database_list.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ List and filter on Linode Managed Databases.
6767
"id": 123,
6868
"instance_uri": "/v4/databases/mysql/instances/123",
6969
"label": "example-db",
70+
"private_network": {
71+
"public_access": true,
72+
"subnet_id": 456,
73+
"vpc_id": 123
74+
},
7075
"region": "us-east",
7176
"status": "active",
7277
"type": "g6-dedicated-2",

docs/modules/database_mysql_v2.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,20 @@ Create, read, and update a Linode MySQL database.
7070
state: present
7171
```
7272
73+
```yaml
74+
- name: Create a MySQL database attached to a VPC
75+
linode.cloud.database_mysql_v2:
76+
label: my-db
77+
region: us-mia
78+
engine: mysql/8
79+
type: g6-nanode-1
80+
private_network:
81+
vpc_id: 123
82+
subnet_id: 456
83+
public_access: true
84+
state: present
85+
```
86+
7387
```yaml
7488
- name: Delete a MySQL database
7589
linode.cloud.database_mysql_v2:
@@ -88,6 +102,8 @@ Create, read, and update a Linode MySQL database.
88102
| `engine` | <center>`str`</center> | <center>Optional</center> | The Managed Database engine in engine/version format. **(Updatable)** |
89103
| [`engine_config` (sub-options)](#engine_config) | <center>`dict`</center> | <center>Optional</center> | Various parameters used to configure this database's underlying engine. NOTE: If a configuration parameter is not current accepted by this field, configure using the linode.cloud.api_request module. **(Updatable)** |
90104
| `label` | <center>`str`</center> | <center>Optional</center> | The label of the Managed Database. |
105+
| `detach_private_network` | <center>`bool`</center> | <center>Optional</center> | If true, the Managed Database will be detached from its current private network when `private_network` is null. If the Managed Database is not currently attached to a private network or the private_network field is specified, this option has no effect. This is not necessary when switching between VPC subnets. **(Default: `False`)** |
106+
| [`private_network` (sub-options)](#private_network) | <center>`dict`</center> | <center>Optional</center> | Restricts access to this database using a virtual private cloud (VPC) that you've configured in the region where the database will live. **(Updatable)** |
91107
| `region` | <center>`str`</center> | <center>Optional</center> | The region of the Managed Database. |
92108
| `type` | <center>`str`</center> | <center>Optional</center> | The Linode Instance type used by the Managed Database for its nodes. **(Updatable)** |
93109
| [`fork` (sub-options)](#fork) | <center>`dict`</center> | <center>Optional</center> | Information about a database to fork from. |
@@ -133,6 +149,14 @@ Create, read, and update a Linode MySQL database.
133149
| `tmp_table_size` | <center>`int`</center> | <center>Optional</center> | Limits the size of internal in-memory tables. Also sets max_heap_table_size. Default is 16777216 (16M). |
134150
| `wait_timeout` | <center>`int`</center> | <center>Optional</center> | The number of seconds the server waits for activity on a noninteractive connection before closing it. |
135151

152+
### private_network
153+
154+
| Field | Type | Required | Description |
155+
|-----------|------|----------|------------------------------------------------------------------------------|
156+
| `vpc_id` | <center>`int`</center> | <center>**Required**</center> | The ID of the virtual private cloud (VPC) to restrict access to this database using |
157+
| `subnet_id` | <center>`int`</center> | <center>**Required**</center> | The ID of the VPC subnet to restrict access to this database using. |
158+
| `public_access` | <center>`bool`</center> | <center>Optional</center> | Set to `true` to allow clients outside of the VPC to connect to the database using a public IP address. **(Default: `False`)** |
159+
136160
### fork
137161

138162
| Field | Type | Required | Description |
@@ -183,6 +207,11 @@ Create, read, and update a Linode MySQL database.
183207
"oldest_restore_time": "2025-02-10T20:15:07",
184208
"platform": "rdbms-default",
185209
"port": 11876,
210+
"private_network": {
211+
"public_access": true,
212+
"subnet_id": 456,
213+
"vpc_id": 123
214+
},
186215
"region": "ap-west",
187216
"ssl_connection": true,
188217
"status": "active",

0 commit comments

Comments
 (0)