gcs_bucket

airasia/gcs_bucket/google

Terraform Module HCL GOOGLE

Terraform module for storage bucket in GCP

Install
module "gcs_bucket" {
source = "airasia/gcs_bucket/google"
version = "2.7.2"
}
plain text: /constructs/tfmod-airasia-gcs-bucket-google/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (15)
NameTypeDescriptionDefault
bucket_namestringA universally unique name for the bucket. Considered a 'domain name' if the valu required
name_suffixstringAn arbitrary suffix that will be added to the end of the resource name(s). For e required
lifecycle_rulesanyList of lifecycle rules to configure. Accepts action.type, action.storage_class,[]
public_readboolWhether the objects in the GCS bucket should be publicly readable by the open infalse
lb_ssl_certslist(string)A list of additional SslCertificate names that can be used for SSL connections b[]
locationstringRegional / Dual-Regional / Multi-Regional location of the GCS bucket. Defaults t""
labelsmap(string)A map of key-value string labels for organizing the GCS bucket.{}
lb_ip_namestringName of the static external IP that is created for the load-balancer. For backwa""
website_configobject({ index_page = striThe default HTML pages that should be used for index and 404 pages.{ "error_page": "404.html", "index_p
lb_ssl_policystringA reference (self-link) to an SSLPolicy that will be associated with the bucket ""
storage_classstringThe storage class of the GCS bucket. Defaults to 'STANDARD' if nothing is specif"STANDARD"
uniform_accessboolIf set to true, all objects in the GCS bucket will have the same access levels (false
enable_versioningboolWhether objects in the bucket should be versioneed or not. Considered 'true' if false
create_bucket_lbboolWhether to create a load balancer for this GCS bucket - complete with bucket-bacfalse
admin_usergroupslist(string)List of email addresses of usergroups that may have permission to administer (CR[]
Outputs (3)
usage_IAM_roles — Basic IAM role(s) that are generally necessary for using the resources in this module. See https://c
bucket_name — Outputs the finally constructed bucket name. Will be necessary for external resources (eg: ServiceAc
lb_ip_address — The IP address that is reserved by the load-balancer (if any) of this bucket.
Resources (9)
google_compute_backend_bucketgoogle_compute_global_addressgoogle_compute_global_forwarding_rulegoogle_compute_managed_ssl_certificategoogle_compute_target_https_proxygoogle_compute_url_mapgoogle_project_servicegoogle_storage_bucketgoogle_storage_bucket_iam_member
Details
FrameworkTerraform Module
LanguageHCL
Version2.7.2
Cloud GOOGLE
★ Stars1
Forks7
Total downloads76.7k
Inputs15
Outputs3
Resources9
LicenseGPL-3.0
Namespaceairasia
Updated