Skip to content

Module for creating S3-compatible object storage in OVH

Notifications You must be signed in to change notification settings

mastodon/terraform-ovh-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ~> 5.49
ovh ~> 0.44

Providers

Name Version
aws 5.49.0
ovh 0.44.0

Modules

No modules.

Resources

Name Type
aws_s3_bucket.bucket resource
ovh_cloud_project_user.admin_user resource
ovh_cloud_project_user.read_user resource
ovh_cloud_project_user.write_user resource
ovh_cloud_project_user_s3_credential.admin_cred resource
ovh_cloud_project_user_s3_credential.read_cred resource
ovh_cloud_project_user_s3_credential.write_cred resource
ovh_cloud_project_user_s3_policy.read_policy resource
ovh_cloud_project_user_s3_policy.write_policy resource

Inputs

Name Description Type Default Required
bucket_name Name of the bucket. string "tf-s3-bucket-only" no
bucket_prefix Prefix to append to tbe bucket name (inserted as {prefix}-{name}). string "" no
project_id The ID of the Public Cloud project the resources will be created in. string n/a yes
region Region in which to create the various resources. string "de" no
tags Key/value pairs to add to the bucket. map(string) {} no
type Type of S3 bucket to create (standard, high_performance, swift). string "standard" no

Outputs

Name Description
admin_access_key Access key for the S3 admin user.
admin_secret_key Secret key for the S3 admin user.
read_access_key Access key for the S3 read-only user.
read_secret_key Secret key for the S3 read-only user.
write_access_key Access key for the S3 read/write user.
write_secret_key Secret key for the S3 read/write user.