Google Cloud Platform project Terraform module
This terraform module provisions a Google Cloud Storage bucket. The real bucket name is suffixed with the google project_id.
module "gcs_bucket" {
source = "nephosolutions/gcs-bucket/google"
version = "0.2.0"
name = "..."
}
Name |
Description |
Type |
Default |
Required |
force_destroy |
When deleting a bucket, this boolean option will delete all contained objects. |
string |
false |
no |
lifecycle_rules |
- |
list |
<list> |
no |
name |
The name of the bucket |
string |
- |
yes |
project_id |
The ID of the google project to which the resource belongs. If it is not provided, the provider project is used. |
string |
`` |
no |
region |
The GCS region. If it is not provided, the provider region is used. |
string |
`` |
no |
role_entities |
- |
list |
<list> |
no |
storage_class |
The Storage Class of the new bucket. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE. |
string |
REGIONAL |
no |
versioning |
Version bucket objects? |
string |
false |
no |
website_config |
- |
list |
<list> |
no |
Name |
Description |
name |
The name of bucket. |
self_link |
The URI of the created resource. |
url |
The base URL of the bucket, in the format gs://. |