-
Notifications
You must be signed in to change notification settings - Fork 65
Onboarding Intake(1/3): Intake Runner #1086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rubenhoenle
merged 44 commits into
stackitcloud:main
from
stackit-intake:onboard-intake
May 12, 2026
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
1020c39
Resolve conflicts
268b0dc
added example of intake runner
56cf7ae
added datasource for intake runner
9737dac
Add docs
45f50a1
Update stackit/internal/services/intake/runner/data_source.go
yago-123 5330011
Remove region field
6702cb0
Add description to custom endpoint
383df23
Adjust fields for resource.go (still missing region)
30540dd
Reintroduce region as optional field in data resource
db3c782
Adjust resource implementation and implement review comments
d3f7e58
Reshape resource_acc_test
a00b3a7
Remove replace directive during name change & complement test checks
6b9499c
docs
2b5f98e
lint
d7155f0
Adjust resource_test
2805b56
adjust last small tweaks
f524893
lint
888b380
Add missing checks in tests
007fb7a
Fix remaining test failing in resource_test.go
081012f
Adjust destroy function
b4177fa
Reestablish tf-plugin-docs to newer version and re-generate docs prop…
d2b7d45
Address review
cae31d9
Small adjustment
58cb654
Small adjustment and complete docs
f76ca6f
lint
9ed91be
Use new SDK with region removed from hostname
e8fcb74
Remove computed field from description and labels
f112282
Remove region from resource-min.tf test
44d4bc8
Move numerical payloads to variables
99c14b2
Remove region from resource-min.tf test
4c43765
Replace unnecessary concatenation with sprintf
fe581ca
Add state fields before starting wait handler & retrieve ctx from Set…
b46a30d
Log response during update
13399f1
Reestablish 'Computed: true' for labels until we agree on a solution
26f11d7
Use new SDK API hierarchy
e08db05
Handle empty labels
2be7f05
Address review comments
134de09
Adjust to new config builder func and new client API
d6a36fc
Rebase
1d9778d
Lint
8c5f453
rebase
8a15960
Remove uneeded checks
f379fa4
address testing changes
1f6e3c9
rename datasource file
rubenhoenle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| --- | ||
| # generated by https://github.com/hashicorp/terraform-plugin-docs | ||
| page_title: "stackit_intake_runner Data Source - stackit" | ||
| subcategory: "" | ||
| description: |- | ||
| Datasource for STACKIT Intake Runner. | ||
| --- | ||
|
|
||
| # stackit_intake_runner (Data Source) | ||
|
|
||
| Datasource for STACKIT Intake Runner. | ||
|
|
||
| ## Example Usage | ||
|
|
||
| ```terraform | ||
| data "stackit_intake_runner" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| runner_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| } | ||
| ``` | ||
|
|
||
| <!-- schema generated by tfplugindocs --> | ||
| ## Schema | ||
|
|
||
| ### Required | ||
|
|
||
| - `project_id` (String) STACKIT Project ID to which the runner is associated. | ||
| - `runner_id` (String) The runner ID. | ||
|
|
||
| ### Optional | ||
|
|
||
| - `region` (String) The resource region. If not defined, the provider region is used. | ||
|
|
||
| ### Read-Only | ||
|
|
||
| - `description` (String) The description of the runner. | ||
| - `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`region`,`runner_id`". | ||
| - `labels` (Map of String) User-defined labels. | ||
| - `max_message_size_kib` (Number) The maximum message size in KiB. | ||
| - `max_messages_per_hour` (Number) The maximum number of messages per hour. | ||
| - `name` (String) The name of the runner. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| --- | ||
| # generated by https://github.com/hashicorp/terraform-plugin-docs | ||
| page_title: "stackit_intake_runner Resource - stackit" | ||
|
rubenhoenle marked this conversation as resolved.
|
||
| subcategory: "" | ||
| description: |- | ||
| Manages STACKIT Intake Runner. | ||
| --- | ||
|
|
||
| # stackit_intake_runner (Resource) | ||
|
|
||
| Manages STACKIT Intake Runner. | ||
|
|
||
| ## Example Usage | ||
|
|
||
| ```terraform | ||
| resource "stackit_intake_runner" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| name = "example-runner" | ||
| region = "eu01" | ||
| description = "An example runner for STACKIT Intake" | ||
| max_message_size_kib = 1024 | ||
| max_messages_per_hour = 1000 | ||
| labels = { | ||
| "env" = "development" | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| <!-- schema generated by tfplugindocs --> | ||
| ## Schema | ||
|
|
||
| ### Required | ||
|
|
||
| - `max_message_size_kib` (Number) The maximum message size in KiB. | ||
| - `max_messages_per_hour` (Number) The maximum number of messages per hour. | ||
| - `name` (String) The name of the runner. | ||
| - `project_id` (String) STACKIT Project ID to which the runner is associated. | ||
|
|
||
| ### Optional | ||
|
|
||
| - `description` (String) The description of the runner. | ||
| - `labels` (Map of String) User-defined labels. | ||
| - `region` (String) The resource region. If not defined, the provider region is used. | ||
|
|
||
| ### Read-Only | ||
|
|
||
| - `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`region`,`runner_id`". | ||
| - `runner_id` (String) The runner ID. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| data "stackit_intake_runner" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| runner_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| resource "stackit_intake_runner" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| name = "example-runner" | ||
| region = "eu01" | ||
| description = "An example runner for STACKIT Intake" | ||
| max_message_size_kib = 1024 | ||
| max_messages_per_hour = 1000 | ||
| labels = { | ||
| "env" = "development" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.