-
Notifications
You must be signed in to change notification settings - Fork 53
Add model serving #697
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
Merged
Add model serving #697
Changes from 19 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
3785644
add model serving
PatrickKoss e4921b6
add right provider config
PatrickKoss 39a66fd
rename model_serving to modelserving
PatrickKoss b12dab4
add model serving custom endpoint everywhere
PatrickKoss a53492a
rename file
PatrickKoss 1ecd53c
Merge branch 'stackitcloud:main' into main
PatrickKoss 4282256
add default region, docs for model serving
PatrickKoss 7a0bb61
add right order of wait handler
PatrickKoss 6df67d0
rotate after to token
PatrickKoss 5276be4
fixes
PatrickKoss e53ce45
add initial doc files
PatrickKoss 371fd6e
Merge branch 'stackitcloud:main' into main
PatrickKoss 155fe08
Merge branch 'stackitcloud:main' into main
PatrickKoss f2c4594
address code comments
PatrickKoss 0b8ca3f
refactor region description
PatrickKoss 003a818
remove warning for not found resources
PatrickKoss 6b10b86
add service enablement
PatrickKoss 5c742eb
Merge branch 'stackitcloud:main' into main
PatrickKoss 01201ed
Merge branch 'stackitcloud:main' into main
PatrickKoss dcd6460
Merge branch 'stackitcloud:main' into main
PatrickKoss 73d82ff
address code comments
PatrickKoss 3fb95c9
address code comments
PatrickKoss 6c0eff3
Merge branch 'stackitcloud:main' into main
PatrickKoss 1353e1b
fix datasource
PatrickKoss ca19e0f
fix acc test
PatrickKoss 2d09297
review changes
h3adex 06f7da7
review changes
h3adex d10f857
review changes
h3adex 2d35713
review changes
h3adex b42f63c
review changes
h3adex d4d3c38
Merge branch 'stackitcloud:main' into main
PatrickKoss c2c152b
review changes
h3adex c73de13
review changes
h3adex 8f06fb7
review changes
h3adex 1623a0d
review changes
h3adex 8e65c1f
embed markdown description
h3adex fbea85a
Merge branch 'main' into main
h3adex 68f1c63
go tidy
h3adex 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_modelserving_token Data Source - stackit" | ||
| subcategory: "" | ||
| description: |- | ||
| Model Serving Auth Token datasource schema. | ||
| --- | ||
|
|
||
| # stackit_modelserving_token (Data Source) | ||
|
|
||
| Model Serving Auth Token datasource schema. | ||
|
|
||
| ## Example Usage | ||
|
|
||
| ```terraform | ||
| data "stackit_modelserving_token" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| token_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| } | ||
| ``` | ||
|
|
||
| <!-- schema generated by tfplugindocs --> | ||
| ## Schema | ||
|
|
||
| ### Required | ||
|
|
||
| - `project_id` (String) STACKIT project ID to which the model serving auth token is associated. | ||
| - `token_id` (String) The model serving auth token ID. | ||
|
|
||
| ### Optional | ||
|
|
||
| - `description` (String) The description of the model serving auth token. | ||
| - `region` (String) STACKIT region to which the model serving auth token is associated. | ||
|
|
||
| ### Read-Only | ||
|
|
||
| - `content` (String) Content of the model serving auth token. | ||
| - `id` (String) Terraform's internal data source. ID. It is structured as "`project_id`,`token_id`". | ||
| - `name` (String) Name of the model serving auth token. | ||
| - `state` (String) State of the model serving auth token. | ||
| - `valid_until` (String) The time until the model serving auth token is valid. |
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,44 @@ | ||
| --- | ||
| # generated by https://github.com/hashicorp/terraform-plugin-docs | ||
| page_title: "stackit_modelserving_token Resource - stackit" | ||
| subcategory: "" | ||
| description: |- | ||
| Model Serving Auth Token Resource schema. | ||
| --- | ||
|
|
||
| # stackit_modelserving_token (Resource) | ||
|
|
||
| Model Serving Auth Token Resource schema. | ||
|
|
||
| ## Example Usage | ||
|
|
||
| ```terraform | ||
| resource "stackit_modelserving_token" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| region = "eu01" | ||
| name = "Example token" | ||
| } | ||
| ``` | ||
|
|
||
| <!-- schema generated by tfplugindocs --> | ||
| ## Schema | ||
|
|
||
| ### Required | ||
|
|
||
| - `name` (String) Name of the model serving auth token. | ||
| - `project_id` (String) STACKIT project ID to which the model serving auth token is associated. | ||
|
|
||
| ### Optional | ||
|
|
||
| - `description` (String) The description of the model serving auth token. | ||
| - `region` (String) STACKIT region to which the model serving auth token is associated. | ||
| - `rotate_when_changed` (Map of String) A map of arbitrary key/value pairs that will force recreation of the token when they change, enabling token rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created. | ||
| - `ttl_duration` (String) The TTL duration of the model serving auth token. | ||
|
|
||
| ### Read-Only | ||
|
|
||
| - `content` (String) Content of the model serving auth token. | ||
| - `id` (String) Terraform's internal data source. ID. It is structured as "`project_id`,`token_id`". | ||
| - `state` (String) State of the model serving auth token. | ||
| - `token_id` (String) The model serving auth token ID. | ||
| - `valid_until` (String) The time until the model serving auth token is valid. |
4 changes: 4 additions & 0 deletions
4
examples/data-sources/stackit_modelserving_token/data-source.tf
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_modelserving_token" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| token_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,5 @@ | ||
| resource "stackit_modelserving_token" "example" { | ||
| project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
| region = "eu01" | ||
| name = "Example token" | ||
| } | ||
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.
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.