Add example for kubeconfig (#262)
This commit is contained in:
parent
28907ba33e
commit
7152a7af79
2 changed files with 13 additions and 0 deletions
|
|
@ -10,7 +10,15 @@ description: |-
|
|||
|
||||
SKE kubeconfig resource schema. Must have a `region` specified in the provider configuration.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
resource "stackit_ske_kubeconfig" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
cluster_name = "example-cluster"
|
||||
refresh = true
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
|
|
|||
5
examples/resources/stackit_ske_kubeconfig/resource.tf
Normal file
5
examples/resources/stackit_ske_kubeconfig/resource.tf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
resource "stackit_ske_kubeconfig" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
cluster_name = "example-cluster"
|
||||
refresh = true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue