Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SCW bucket module

Create a Object Storage bucket in scaleway

Requirements

Name Version
terraform ~> 1.3
scaleway ~> 2.17.0
time ~> 0.9.1

Providers

Name Version
scaleway ~> 2.17.0
time ~> 0.9.1

Modules

No modules.

Resources

Name Type
scaleway_object_bucket.bucket resource
time_static.last_update resource

Inputs

Name Description Type Default Required
cors_rules CORS rules for the bucket
list(object({
allowed_headers = list(string)
allowed_methods = list(string)
allowed_origins = list(string)
expose_headers = list(string)
max_age_seconds = number
}))
[] no
customer Customer for the current deployment string "" no
force_destroy Force destroy the bucket and its content in case of replacement bool false no
lifecycle_rules Lifecycle rules for the bucket
list(object({
enabled = bool
prefix = string
abort_incomplete_multipart_upload_days = number
expiration = object({
days = number
})
transition = object({
days = number
storage_class = string
})
}))
[] no
name Name of the bucket string n/a yes
region Region to deploy the bucket string "fr-par" no
tags Default tags to add to resources map(any) {} no
versioning Versioning for the bucket bool false no

Outputs

Name Description
endpoint The endpoint of the bucket
id The ID of the bucket
region The region of the bucket