-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation to support beta resources (#417)
* add README, guide and description method * undo unwanted changes to docs * Update docs/guides/opting_into_beta_resources.md Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com> * address PR comments * address PR comments --------- Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>
- Loading branch information
1 parent
3a93e6e
commit 610b65f
Showing
5 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 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,43 @@ | ||
--- | ||
page_title: "Configuring Beta Resources in the STACKIT Terraform Provider" | ||
--- | ||
# Configuring Beta Resources in the STACKIT Terraform Provider | ||
|
||
### Overview | ||
|
||
This guide explains how to opt into beta resources within the STACKIT Terraform provider. Beta resources are new services and features from STACKIT that are still in development and might not yet have a stable API. | ||
|
||
Opting into beta functionality allows users to experiment with new features and services before their official release, without compromising the stability of other resources and the provider itself. However, it's important to remember that beta resources may not be as stable as fully released counterparts, so use them with caution and provide feedback to help improve these services. | ||
|
||
### The Process of Opting into the Beta | ||
|
||
To use beta resources in the STACKIT Terraform provider, you have two options: | ||
|
||
#### Option 1: Provider Configuration | ||
|
||
Set the `enable_beta_resources` option in the provider configuration. This is a boolean attribute that can be either `true` or `false`. | ||
|
||
```hcl | ||
provider "stackit" { | ||
region = "eu01" | ||
enable_beta_resources = true | ||
} | ||
``` | ||
|
||
#### Option 2: Environment Variable | ||
|
||
Set the `STACKIT_TF_ENABLE_BETA_RESOURCES` environment variable to `"true"` or `"false"`. Other values will be ignored and will produce a warning. | ||
|
||
```sh | ||
export STACKIT_TF_ENABLE_BETA_RESOURCES=true | ||
``` | ||
|
||
> **Note**: **The environment variable takes precedence over the provider configuration option.** | ||
> | ||
> This means that if the `STACKIT_TF_ENABLE_BETA_RESOURCES` environment variable is set to a valid value (`"true"` or `"false"`), it will override the `enable_beta_resources` option specified in the provider configuration. | ||
### Listing Beta Resources | ||
|
||
Currently, there are no beta resources available. This section will be updated as new beta services are introduced. | ||
|
||
> **Tip**: Check back regularly or refer to the [STACKIT provider documentation](#) for the latest updates on beta resources. |
This file contains 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 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 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,43 @@ | ||
--- | ||
page_title: "Configuring Beta Resources in the STACKIT Terraform Provider" | ||
--- | ||
# Configuring Beta Resources in the STACKIT Terraform Provider | ||
|
||
### Overview | ||
|
||
This guide explains how to opt into beta resources within the STACKIT Terraform provider. Beta resources are new services and features from STACKIT that are still in development and might not yet have a stable API. | ||
|
||
Opting into beta functionality allows users to experiment with new features and services before their official release, without compromising the stability of other resources and the provider itself. However, it's important to remember that beta resources may not be as stable as fully released counterparts, so use them with caution and provide feedback to help improve these services. | ||
|
||
### The Process of Opting into the Beta | ||
|
||
To use beta resources in the STACKIT Terraform provider, you have two options: | ||
|
||
#### Option 1: Provider Configuration | ||
|
||
Set the `enable_beta_resources` option in the provider configuration. This is a boolean attribute that can be either `true` or `false`. | ||
|
||
```hcl | ||
provider "stackit" { | ||
region = "eu01" | ||
enable_beta_resources = true | ||
} | ||
``` | ||
|
||
#### Option 2: Environment Variable | ||
|
||
Set the `STACKIT_TF_ENABLE_BETA_RESOURCES` environment variable to `"true"` or `"false"`. Other values will be ignored and will produce a warning. | ||
|
||
```sh | ||
export STACKIT_TF_ENABLE_BETA_RESOURCES=true | ||
``` | ||
|
||
> **Note**: **The environment variable takes precedence over the provider configuration option.** | ||
> | ||
> This means that if the `STACKIT_TF_ENABLE_BETA_RESOURCES` environment variable is set to a valid value (`"true"` or `"false"`), it will override the `enable_beta_resources` option specified in the provider configuration. | ||
|
||
### Listing Beta Resources | ||
|
||
Currently, there are no beta resources available. This section will be updated as new beta services are introduced. | ||
|
||
> **Tip**: Check back regularly or refer to the [STACKIT provider documentation](#) for the latest updates on beta resources. |