You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -65,23 +65,82 @@ This module has a few dependencies:
65
65
## Examples
66
66
67
67
68
-
**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-digitalocean-spaces/releases).
68
+
**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/terraform-do-modules/terraform-digitalocean-spaces/releases).
69
69
70
70
71
71
### Simple Example
72
72
Here is an example of how you can use this module in your inventory structure:
| abort\_incomplete\_multipart\_upload\_days | Specifies the number of days after initiating a multipart upload when the multipart upload must be completed or else Spaces will abort the upload. |`number`|`null`| no |
96
154
| acl | Canned ACL applied on bucket creation (private or public-read). |`string`|`null`| no |
97
-
| attributes | Additional attributes (e.g. `1`). |`list(any)`|`[]`| no |
98
155
| cors\_rule | CORS Configuration specification for this bucket | <pre>list(object({<br> allowed_headers = list(string)<br> allowed_methods = list(string)<br> allowed_origins = list(string)<br> expose_headers = list(string)<br> max_age_seconds = number<br> }))</pre> |`null`| no |
99
-
| date | pecifies the date/time after which you want applicable objects to expire. The argument uses RFC3339 format, e.g.(2020-03-22T15:03:55Z) or parts thereof e.g. 2019-02-28. |`string`|`null`| no |
100
-
| delimiter | Delimiter to be used between `organization`, `environment`, `name` and `attributes`. |`string`|`"-"`| no |
156
+
| enabled | Whether to create the resources. Set to `false` to prevent the module from creating any resources. |`bool`|`true`| no |
| expiration\_days | Specifies the number of days after object creation when the applicable objects will expire. |`number`|`null`| no |
103
-
| expired\_object\_delete\_marker | On a versioned bucket (versioning-enabled or versioning-suspended bucket), setting this to true directs Spaces to delete expired object delete markers. |`string`|`""`| no |
158
+
| expiration | n/a |`list(any)`|`[]`| no |
104
159
| force\_destroy | Unless true, the bucket will only be destroyed if empty (Defaults to false). |`bool`|`false`| no |
105
-
| label\_order | Label order, e.g. `name`,`application`. |`list(any)`|`[]`| no |
160
+
| label\_order | Label order, e.g. `name`,`application`. |`list(any)`| <pre>[<br> "name",<br> "environment"<br>]</pre> | no |
161
+
| lifecycle\_rule | n/a |`list(any)`|`[]`| no |
162
+
| managedby | ManagedBy, eg 'terraform-do-modules' or '[email protected]' |`string`|`"terraform-do-modules"`| no |
106
163
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
107
-
| noncurrent\_version\_expiration | On a versioned bucket (versioning-enabled or versioning-suspended bucket), setting this to true directs Spaces to delete expired object delete markers. |`string`|`""`| no |
108
-
| prefix | (Optional, Forces new resource) Creates a unique bucket name beginning with the specified prefix. |`string`|`null`| no |
109
-
| region | The region to create VPC, like `london-1` , `bangalore-1` ,`newyork-3``toronto-1`. |`string`|`""`| no |
164
+
| policy | n/a |`any`|`null`| no |
165
+
| region | The region to create spaces. |`string`|`"blr1"`| no |
110
166
| versioning | (Optional) A state of versioning (documented below). |`bool`|`true`| no |
111
167
112
168
## Outputs
@@ -131,9 +187,9 @@ You need to run the following command in the testing folder:
131
187
132
188
133
189
## Feedback
134
-
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-digitalocean-spaces/issues), or feel free to drop us an email at [[email protected]](mailto:[email protected]).
190
+
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/terraform-do-modules/terraform-digitalocean-spaces/issues), or feel free to drop us an email at [[email protected]](mailto:[email protected]).
135
191
136
-
If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/terraform-digitalocean-spaces)!
192
+
If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/terraform-do-modules/terraform-digitalocean-spaces)!
0 commit comments