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

https://github.com/flexibleenginecloud/terraform-flexibleengine-obs

Terraform module which creates OBS Bucket resources on Flexible Engine cloud
https://github.com/flexibleenginecloud/terraform-flexibleengine-obs

Last synced: 3 months ago
JSON representation

Terraform module which creates OBS Bucket resources on Flexible Engine cloud

Awesome Lists containing this project

README

        

# Flexible Engine OBS Terraform Module

Terraform module which creates OBS Bucket on Flexible Engine

> Official Terraform documentation for OBS : https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs/resources/obs_bucket

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13 |

## Providers

| Name | Version |
|------|---------|
| [flexibleengine](#provider\_flexibleengine) | n/a |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [flexibleengine_obs_bucket.this](https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs/resources/obs_bucket) | resource |
| [flexibleengine_s3_bucket_policy.this](https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs/resources/s3_bucket_policy) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [acl](#input\_acl) | (Optional) The canned ACL to apply. Defaults to 'private'. Conflicts with `grant` | `string` | `"private"` | no |
| [attach\_policy](#input\_attach\_policy) | Controls if OBS bucket should have bucket policy attached (set to `true` to use value of `policy` as bucket policy) | `bool` | `false` | no |
| [bucket](#input\_bucket) | (Optional, Forces new resource) The name of the bucket. If omitted, Terraform will assign a random, unique name. | `string` | `null` | no |
| [bucket\_prefix](#input\_bucket\_prefix) | (Optional, Forces new resource) Creates a unique bucket name beginning with the specified prefix. Conflicts with bucket. | `string` | `null` | no |
| [cors\_rule](#input\_cors\_rule) | List of maps containing rules for Cross-Origin Resource Sharing. | `any` | `[]` | no |
| [create\_bucket](#input\_create\_bucket) | Controls if OBS bucket should be created | `bool` | `true` | no |
| [encryption](#input\_encryption) | Controls if OBS bucket should be encrypted | `bool` | `false` | no |
| [force\_destroy](#input\_force\_destroy) | (Optional, Default:false ) A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. | `bool` | `false` | no |
| [kms\_key\_alias](#input\_kms\_key\_alias) | Alias of existing KMS key used for encryption | `string` | `null` | no |
| [lifecycle\_rule](#input\_lifecycle\_rule) | List of maps containing configuration of object lifecycle management. | `any` | `[]` | no |
| [logging](#input\_logging) | Map containing access bucket logging configuration. | `map(string)` | `{}` | no |
| [multi_az](#input\_multi_az) | Enable cross availabilities zones replication. | `bool` | `false` | no |
| [policy](#input\_policy) | (Optional) A valid bucket policy JSON document. Note that if the policy document is not specific enough (but still valid), Terraform may view the policy as constantly changing in a terraform plan. In this case, please make sure you use the verbose/specific version of the policy. | `string` | `null` | no |
| [storage\_class](#input\_storage\_class) | (Optional) pecifies the storage class of the bucket. OBS provides three storage classes: STANDARD, STANDARD\_IA (Infrequent Access) and GLACIER (Archive). Defaults to STANDARD. | `string` | `null` | no |
| [versioning](#input\_versioning) | Versioning configuration (True/False). | `bool` | `false` | no |
| [website](#input\_website) | Map containing static web-site hosting or redirect configuration. | `map(string)` | `{}` | no |

## Outputs

| Name | Description |
|------|-------------|
| [this\_obs\_bucket\_bucket\_domain\_name](#output\_this\_obs\_bucket\_bucket\_domain\_name) | The bucket domain name. Will be of format .oss..prod-cloud-ocb.orange-business.com. |
| [this\_obs\_bucket\_id](#output\_this\_obs\_bucket\_id) | The name of the bucket. |
| [this\_obs\_bucket\_region](#output\_this\_obs\_bucket\_region) | The Flexible Engine region this bucket resides in. |