gcs_bucket
airasia/gcs_bucket/google
Terraform module for storage bucket in GCP
Terraform module for storage bucket in GCP Upgrade guide from v2.4.1 to v2.5.0 This upgrade will rename the load-balancer resource(s) for them to be coherently identifiable in the GCP console as Bucket LB resource(s) which helps for faster troubleshooting. 1. First, ensure that you have applied v2.4.1 of this module before proceeding. 2. Then upgrade gcs_bucket module version from 2.4.1 to 2.5.0 3. Run terraform plan - DO NOT APPLY this plan yet. 4. If your bucket module at v2.4.1 had var.create_bucket_lb = true (this value was automatically set to true for domain-named-buckets), then you maybe seeing several changes being planned by terraform here. Otherwise, you SHOULD NOT see any changes for your module in this plan. If you STILL see any changes being planned here, then please ensure th
| Name | Type | Description | Default |
|---|---|---|---|
| bucket_name | string | A universally unique name for the bucket. Considered a 'domain name' if the valu | required |
| name_suffix | string | An arbitrary suffix that will be added to the end of the resource name(s). For e | required |
| lifecycle_rules | any | List of lifecycle rules to configure. Accepts action.type, action.storage_class, | [] |
| public_read | bool | Whether the objects in the GCS bucket should be publicly readable by the open in | false |
| lb_ssl_certs | list(string) | A list of additional SslCertificate names that can be used for SSL connections b | [] |
| location | string | Regional / Dual-Regional / Multi-Regional location of the GCS bucket. Defaults t | "" |
| labels | map(string) | A map of key-value string labels for organizing the GCS bucket. | {} |
| lb_ip_name | string | Name of the static external IP that is created for the load-balancer. For backwa | "" |
| website_config | object({ index_page = stri | The default HTML pages that should be used for index and 404 pages. | {
"error_page": "404.html",
"index_p |
| lb_ssl_policy | string | A reference (self-link) to an SSLPolicy that will be associated with the bucket | "" |
| storage_class | string | The storage class of the GCS bucket. Defaults to 'STANDARD' if nothing is specif | "STANDARD" |
| uniform_access | bool | If set to true, all objects in the GCS bucket will have the same access levels ( | false |
| enable_versioning | bool | Whether objects in the bucket should be versioneed or not. Considered 'true' if | false |
| create_bucket_lb | bool | Whether to create a load balancer for this GCS bucket - complete with bucket-bac | false |
| admin_usergroups | list(string) | List of email addresses of usergroups that may have permission to administer (CR | [] |
usage_IAM_roles — Basic IAM role(s) that are generally necessary for using the resources in this module. See https://cbucket_name — Outputs the finally constructed bucket name. Will be necessary for external resources (eg: ServiceAclb_ip_address — The IP address that is reserved by the load-balancer (if any) of this bucket.