Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
3785644
add model serving
PatrickKoss Feb 26, 2025
e4921b6
add right provider config
PatrickKoss Feb 27, 2025
39a66fd
rename model_serving to modelserving
PatrickKoss Feb 27, 2025
b12dab4
add model serving custom endpoint everywhere
PatrickKoss Feb 27, 2025
a53492a
rename file
PatrickKoss Feb 27, 2025
1ecd53c
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 17, 2025
4282256
add default region, docs for model serving
PatrickKoss Mar 17, 2025
7a0bb61
add right order of wait handler
PatrickKoss Mar 18, 2025
6df67d0
rotate after to token
PatrickKoss Mar 18, 2025
5276be4
fixes
PatrickKoss Mar 18, 2025
e53ce45
add initial doc files
PatrickKoss Mar 18, 2025
371fd6e
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 19, 2025
155fe08
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 20, 2025
f2c4594
address code comments
PatrickKoss Mar 20, 2025
0b8ca3f
refactor region description
PatrickKoss Mar 20, 2025
003a818
remove warning for not found resources
PatrickKoss Mar 20, 2025
6b10b86
add service enablement
PatrickKoss Mar 21, 2025
5c742eb
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 24, 2025
01201ed
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 24, 2025
dcd6460
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 25, 2025
73d82ff
address code comments
PatrickKoss Mar 25, 2025
3fb95c9
address code comments
PatrickKoss Mar 25, 2025
6c0eff3
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 27, 2025
1353e1b
fix datasource
PatrickKoss Mar 27, 2025
ca19e0f
fix acc test
PatrickKoss Mar 27, 2025
2d09297
review changes
h3adex Mar 27, 2025
06f7da7
review changes
h3adex Mar 27, 2025
d10f857
review changes
h3adex Mar 27, 2025
2d35713
review changes
h3adex Mar 27, 2025
b42f63c
review changes
h3adex Mar 27, 2025
d4d3c38
Merge branch 'stackitcloud:main' into main
PatrickKoss Mar 27, 2025
c2c152b
review changes
h3adex Mar 27, 2025
c73de13
review changes
h3adex Mar 27, 2025
8f06fb7
review changes
h3adex Mar 27, 2025
1623a0d
review changes
h3adex Mar 27, 2025
8e65c1f
embed markdown description
h3adex Mar 27, 2025
fbea85a
Merge branch 'main' into main
h3adex Mar 28, 2025
68f1c63
go tidy
h3adex Mar 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions docs/data-sources/modelserving_token.md
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.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Note: AWS specific checks must be skipped as they do not work on STACKIT. For de
- `loadbalancer_custom_endpoint` (String) Custom endpoint for the Load Balancer service
- `logme_custom_endpoint` (String) Custom endpoint for the LogMe service
- `mariadb_custom_endpoint` (String) Custom endpoint for the MariaDB service
- `modelserving_custom_endpoint` (String) Custom endpoint for the Model Serving service
- `mongodbflex_custom_endpoint` (String) Custom endpoint for the MongoDB Flex service
- `objectstorage_custom_endpoint` (String) Custom endpoint for the Object Storage service
- `observability_custom_endpoint` (String) Custom endpoint for the Observability service
Expand Down
44 changes: 44 additions & 0 deletions docs/resources/modelserving_token.md
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.
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"
}
5 changes: 5 additions & 0 deletions examples/resources/stackit_modelserving_token/resource.tf
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"
Comment thread
rubenhoenle marked this conversation as resolved.
Outdated
name = "Example token"
}
21 changes: 11 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ require (
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v0.18.0
github.com/stackitcloud/stackit-sdk-go/services/logme v0.21.0
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.21.0
github.com/stackitcloud/stackit-sdk-go/services/modelserving v0.2.0
Comment thread
PatrickKoss marked this conversation as resolved.
Outdated
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v0.18.0
github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.1.0
github.com/stackitcloud/stackit-sdk-go/services/observability v0.3.0
Expand All @@ -40,7 +41,7 @@ require (
require github.com/hashicorp/go-retryablehttp v0.7.7 // indirect

require (
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect
github.com/ProtonMail/go-crypto v1.1.3 // indirect
github.com/agext/levenshtein v1.2.2 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
Expand All @@ -56,37 +57,37 @@ require (
github.com/hashicorp/go-plugin v1.6.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/hc-install v0.9.0 // indirect
github.com/hashicorp/hc-install v0.9.1 // indirect
github.com/hashicorp/hcl/v2 v2.23.0 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.21.0 // indirect
github.com/hashicorp/terraform-json v0.23.0 // indirect
github.com/hashicorp/terraform-exec v0.22.0 // indirect
github.com/hashicorp/terraform-json v0.24.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.4 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.0
github.com/stretchr/testify v1.8.4 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.15.0 // indirect
github.com/zclconf/go-cty v1.16.2 // indirect
golang.org/x/crypto v0.32.0 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
golang.org/x/text v0.22.0 // indirect
golang.org/x/tools v0.22.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect
google.golang.org/grpc v1.69.4 // indirect
Expand Down
Loading