Add deprecation message for postgresql resources and data sources (#247)
* Update dependency * Add deprecation messages * Modify markdown description * Add year * Typo fix --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
parent
b171e8a745
commit
a29c954c84
15 changed files with 122 additions and 9 deletions
|
|
@ -107,6 +107,34 @@ Using this flow is less secure since the token is long-lived. You can provide th
|
|||
2. Setting the environment variable `STACKIT_SERVICE_ACCOUNT_TOKEN`
|
||||
3. Setting it in the credentials file (see above)
|
||||
|
||||
# Backend configuration
|
||||
|
||||
To keep track of your terraform state, you can configure an [S3 backend](https://developer.hashicorp.com/terraform/language/settings/backends/s3) using [STACKIT Object Storage](https://docs.stackit.cloud/stackit/en/object-storage-s3-compatible-71009778.html).
|
||||
|
||||
To do so, you need an Object Storage [S3 bucket](https://docs.stackit.cloud/stackit/en/basic-concept-objectstorage-71009785.html#BasicConceptObjectStorage-Buckets) and [credentials](https://docs.stackit.cloud/stackit/en/basic-concept-objectstorage-71009785.html#BasicConceptObjectStorage-Credentials) to access it. If you need to create them, check [Getting Started - Object Storage](https://docs.stackit.cloud/stackit/en/getting-started-objectstorage-71009792.html).
|
||||
|
||||
Once you have everything setup, you can configure the backend by adding the following block to your terraform configuration:
|
||||
|
||||
```
|
||||
terraform {
|
||||
backend "s3" {
|
||||
bucket = "BUCKET_NAME"
|
||||
key = "path/to/key"
|
||||
endpoints = {
|
||||
s3 = "https://object.storage.eu01.onstackit.cloud"
|
||||
}
|
||||
region = "eu01"
|
||||
skip_credentials_validation = true
|
||||
skip_region_validation = true
|
||||
skip_s3_checksum = true
|
||||
skip_requesting_account_id = true
|
||||
secret_key = "SECRET_KEY"
|
||||
access_key = "ACCESS_KEY"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Note: AWS specific checks must be skipped as they do not work on STACKIT. For details on what those validations do, see [here](https://developer.hashicorp.com/terraform/language/settings/backends/s3#configuration).
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue