Name | Version |
---|---|
terraform | ~> 1.7 |
huaweicloud | ~>1.63 |
Name | Version |
---|---|
huaweicloud | ~>1.63 |
No modules.
Name | Type |
---|---|
huaweicloud_obs_bucket.main | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
acl | Specifies the ACL policy for a bucket | string |
"private" |
no |
cors_rules | A configuration of object CORS rules: * allowed_origins - Requests from this origin can access the bucket;* allowed_methods - Specifies the acceptable operation type of buckets and objects;* max_age_seconds - Specifies the duration that your browser can cache CORS responses, expressed in seconds; |
list(object({ |
[] |
no |
force_destroy | A boolean that indicates all objects should be deleted from the bucket, so that the bucket can be destroyed without error | bool |
false |
no |
lifecycle_rules | A configuration of object lifecycle management: * key - Unique identifier for lifecycle rules, the Rule Name contains a maximum of 255 characters;* enabled - Specifies lifecycle rule status;* prefix - Object key prefix identifying one or more objects to which the rule applies. If omitted, all objects inthe bucket will be managed by the lifecycle rule; * expiration_days - Specifies the number of days when objects that have been last updated are automatically deleted. |
map(object({ |
{} |
no |
name | Specifies the name of the Object Store | string |
n/a | yes |
name_postfix | Name Postfix | string |
null |
no |
policy | Specifies the text of the bucket policy in JSON format. For more information about obs format bucket policy, see the Developer Guide https://support.huaweicloud.com/intl/en-us/perms-cfg-obs/obs_40_0004.html |
string |
null |
no |
policy_format | Specifies the policy format, the supported values are obs and s3. Defaults to obs | string |
null |
no |
region | Specifies the region in which to create the resource. If omitted, the provider-level region will be used | string |
null |
no |
storage_class | Specifies the storage class of the bucket | string |
"STANDARD" |
no |
tags | Specifies the key/value pairs to associate with the OBS | map(string) |
{} |
no |
versioning | Whether enable versioning | string |
false |
no |
Name | Description |
---|---|
id | The name of the bucket |