Configure AWS Terraform

Prerequisite: For installing or updating the latest versions, refer to the instructions in the AWS Terraform Provider documentation.

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 > IONOS S3 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 S3 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 useful 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 useful for WS-like implementations that use their own region names.

  6. endpoints: For the list of IONOS S3 Object Storage Service endpoints, see S3 Endpoints.

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"
  }
}

Last updated