> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/backup-and-storage/ionos-object-storage/s3-tools/awsterraform/awsterraform-configure.md).

# Configure AWS Terraform

{% hint style="info" %}
**Prerequisite:** For installing or updating the latest versions, refer to the instructions in the [<mark style="color:blue;">AWS Terraform Provider</mark>](https://registry.terraform.io/providers/hashicorp/aws/latest/docs) documentation.
{% endhint %}

The following information must be specified in your Terraform provider configuration `hcl`:

1\. **AWS Access Key ID**: Insert the **Access Key**. In the DCD, go to **Menu** > **Storage & Backup** > **IONOS CLOUD Object Storage>** > **Key management** and check the **Access keys** section to find the essential details.

2\. **AWS Secret Access Key**: Paste the **Secret Key**. In the DCD, go to **Menu** > **Storage** > **IONOS CLOUD Object Storage** > **Key management** and check the **Access keys** section to find the essential details.

3\. **skip\_credentials\_validation**: When set to `true`, it skips Security Token Service validation.

4\. **skip\_requesting\_account\_id**: The account ID is not requested when set to `true`. It is beneficial for AWS API implementations that do not have the IAM, STS API, or metadata API.

5\. **skip\_region\_validation**: The region name is not validated when set to `true`. It is beneficial for AWS-like implementations that use their own region names.

6\. **endpoints**: For the list of <code class="expression">space.vars. ionos\_cloud\_object\_storage</code> Service endpoints, see [<mark style="color:blue;">Endpoints</mark>](https://docs.ionos.com/cloud/backup-and-storage/ionos-object-storage/endpoints.md).

```hcl
provider "aws" {
  region                      = "de"
  access_key                  = "access_key_here"
  secret_key                  = "secret_key_here"
  # all these checks need to be skipped for an s3 external provider
  skip_credentials_validation = true
  skip_requesting_account_id  = true
  skip_region_validation      = true
  endpoints {
     s3 = "https://s3-eu-central-1.ionoscloud.com"
  }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/backup-and-storage/ionos-object-storage/s3-tools/awsterraform/awsterraform-configure.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
