An open API service indexing awesome lists of open source software.

https://github.com/mastodon/terraform-ovh-s3

Module for creating S3-compatible object storage in OVH
https://github.com/mastodon/terraform-ovh-s3

Last synced: 6 months ago
JSON representation

Module for creating S3-compatible object storage in OVH

Awesome Lists containing this project

README

          

# terraform-ovh-s3

Module for creating S3-compatible object storage in OVH.

Note: This module makes use of the AWS terraform provider, but there is a known bug with the authentication dependency chain. You need to make sure that `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` are both defined, even if they are just dummy values.

## Requirements

| Name | Version |
|------|---------|
| [aws](#requirement\_aws) | ~> 5.49 |
| [ovh](#requirement\_ovh) | ~> 0.44 |

## Providers

| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 5.49.0 |
| [ovh](#provider\_ovh) | 0.44.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [aws_s3_bucket.bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket) | resource |
| [ovh_cloud_project_user.admin_user](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user) | resource |
| [ovh_cloud_project_user.read_user](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user) | resource |
| [ovh_cloud_project_user.write_user](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user) | resource |
| [ovh_cloud_project_user_s3_credential.admin_cred](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user_s3_credential) | resource |
| [ovh_cloud_project_user_s3_credential.read_cred](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user_s3_credential) | resource |
| [ovh_cloud_project_user_s3_credential.write_cred](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user_s3_credential) | resource |
| [ovh_cloud_project_user_s3_policy.read_policy](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user_s3_policy) | resource |
| [ovh_cloud_project_user_s3_policy.write_policy](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_user_s3_policy) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [bucket\_name](#input\_bucket\_name) | Name of the bucket. | `string` | `"tf-s3-bucket-only"` | no |
| [bucket\_prefix](#input\_bucket\_prefix) | Prefix to append to tbe bucket name (inserted as {prefix}-{name}). | `string` | `""` | no |
| [project\_id](#input\_project\_id) | The ID of the Public Cloud project the resources will be created in. | `string` | n/a | yes |
| [region](#input\_region) | Region in which to create the various resources. | `string` | `"de"` | no |
| [tags](#input\_tags) | Key/value pairs to add to the bucket. | `map(string)` | `{}` | no |
| [type](#input\_type) | Type of S3 bucket to create (standard, high\_performance, swift). | `string` | `"standard"` | no |

## Outputs

| Name | Description |
|------|-------------|
| [admin\_access\_key](#output\_admin\_access\_key) | Access key for the S3 admin user. |
| [admin\_secret\_key](#output\_admin\_secret\_key) | Secret key for the S3 admin user. |
| [read\_access\_key](#output\_read\_access\_key) | Access key for the S3 read-only user. |
| [read\_secret\_key](#output\_read\_secret\_key) | Secret key for the S3 read-only user. |
| [write\_access\_key](#output\_write\_access\_key) | Access key for the S3 read/write user. |
| [write\_secret\_key](#output\_write\_secret\_key) | Secret key for the S3 read/write user. |