Skip to content

Commit d208dba

Browse files
Merge branch 'main' into feature/STACKITRCO-187-iaas-create-server-agent-param
2 parents 699af50 + 44312a8 commit d208dba

Some content is hidden

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

59 files changed

+4623
-164
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gomod"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
cooldown:
8+
default-days: 7
9+
exclude: ["github.com/stackitcloud*"]
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"
14+
cooldown:
15+
default-days: 7

.github/renovate.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: Build
2424
uses: ./.github/actions/build
2525
with:
2626
go-version: ${{ env.GO_VERSION }}
2727

2828
- name: Setup Terraform
29-
uses: hashicorp/setup-terraform@v2
29+
uses: hashicorp/setup-terraform@v3
3030
with:
3131
terraform_wrapper: false
3232

@@ -42,7 +42,7 @@ jobs:
4242

4343

4444
- name: Archive code coverage results
45-
uses: actions/upload-artifact@v4
45+
uses: actions/upload-artifact@v6
4646
with:
4747
name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}
4848
path: "stackit/${{ env.CODE_COVERAGE_FILE_NAME }}"
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: Checkout
57-
uses: actions/checkout@v4
57+
uses: actions/checkout@v6
5858

5959
- name: Check GoReleaser
6060
uses: goreleaser/goreleaser-action@v6

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
goreleaser:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
with:
2323
# Allow goreleaser to access older tag information.
2424
fetch-depth: 0

.github/workflows/renovate.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
timeout-minutes: 10
2525
steps:
2626
- name: "Mark old PRs as stale"
27-
uses: actions/stale@v9
27+
uses: actions/stale@v10
2828
with:
2929
repo-token: ${{ secrets.GITHUB_TOKEN }}
3030
stale-pr-message: "This PR was marked as stale after ${{ env.DAYS_BEFORE_PR_STALE }} days of inactivity and will be closed after another ${{ env.DAYS_BEFORE_PR_CLOSE }} days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it."

.github/workflows/tf-acc-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
- name: Install project tools and dependencies
1717
run: make project-tools
1818
- name: Run tests
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "stackit_edgecloud_instances Data Source - stackit"
4+
subcategory: ""
5+
description: |-
6+
Edge Cloud is in private Beta and not generally available.
7+
You can contact support if you are interested in trying it out.
8+
~> This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources.
9+
---
10+
11+
# stackit_edgecloud_instances (Data Source)
12+
13+
Edge Cloud is in private Beta and not generally available.
14+
You can contact support if you are interested in trying it out.
15+
16+
~> This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our [guide](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources) for how to opt-in to use beta resources.
17+
18+
## Example Usage
19+
20+
```terraform
21+
# returns all Edge Cloud instances created in the given project which are inside the provider default_region
22+
data "stackit_edgecloud_instances" "plan_id" {
23+
project_id = var.project_id
24+
}
25+
26+
# returns all Edge Cloud instances created in the given project in the given region
27+
data "stackit_edgecloud_instances" "plan_id" {
28+
project_id = var.project_id
29+
region = var.region
30+
}
31+
```
32+
33+
<!-- schema generated by tfplugindocs -->
34+
## Schema
35+
36+
### Required
37+
38+
- `project_id` (String) STACKIT project ID to which the Edge Cloud instances are associated.
39+
40+
### Optional
41+
42+
- `region` (String) The resource region. If not defined, the provider region is used.
43+
44+
### Read-Only
45+
46+
- `id` (String) Terraform's internal data source ID, structured as `project_id`,`region`.
47+
- `instances` (Attributes List) A list of Edge Cloud instances. (see [below for nested schema](#nestedatt--instances))
48+
49+
<a id="nestedatt--instances"></a>
50+
### Nested Schema for `instances`
51+
52+
Read-Only:
53+
54+
- `created` (String) The date and time the instance was created.
55+
- `description` (String) Description of the instance.
56+
- `display_name` (String) The display name of the instance.
57+
- `frontend_url` (String) Frontend URL for the Edge Cloud instance.
58+
- `instance_id` (String) The ID of the instance.
59+
- `plan_id` (String) The plan ID for the instance.
60+
- `region` (String) The region where the instance is located.
61+
- `status` (String) The status of the instance.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "stackit_edgecloud_plans Data Source - stackit"
4+
subcategory: ""
5+
description: |-
6+
Edge Cloud is in private Beta and not generally available.
7+
You can contact support if you are interested in trying it out.
8+
~> This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources.
9+
---
10+
11+
# stackit_edgecloud_plans (Data Source)
12+
13+
Edge Cloud is in private Beta and not generally available.
14+
You can contact support if you are interested in trying it out.
15+
16+
~> This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our [guide](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources) for how to opt-in to use beta resources.
17+
18+
## Example Usage
19+
20+
```terraform
21+
data "stackit_edgecloud_plans" "this" {
22+
project_id = var.project_id
23+
}
24+
```
25+
26+
<!-- schema generated by tfplugindocs -->
27+
## Schema
28+
29+
### Required
30+
31+
- `project_id` (String) STACKIT project ID the Plans belongs to.
32+
33+
### Read-Only
34+
35+
- `id` (String) Terraform's internal data source ID, `project_id` is used here.
36+
- `plans` (Attributes List) A list of Edge Cloud Plans. (see [below for nested schema](#nestedatt--plans))
37+
38+
<a id="nestedatt--plans"></a>
39+
### Nested Schema for `plans`
40+
41+
Read-Only:
42+
43+
- `description` (String) Description of the plan.
44+
- `id` (String) The ID of the plan.
45+
- `max_edge_hosts` (Number) Maximum number of Edge Cloud hosts that can be used.
46+
- `name` (String) The name of the plan.

docs/data-sources/routing_table.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ data "stackit_routing_table" "example" {
4141
- `created_at` (String) Date-time when the routing table was created
4242
- `default` (Boolean) When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
4343
- `description` (String) Description of the routing table.
44+
- `dynamic_routes` (Boolean) This controls whether dynamic routes are propagated to this routing table
4445
- `id` (String) Terraform's internal datasource ID. It is structured as "`organization_id`,`region`,`network_area_id`,`routing_table_id`".
4546
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
4647
- `name` (String) The name of the routing table.

0 commit comments

Comments
 (0)