storage

JamesWoolfenden/storage/gcp

Terraform Module HCL GCP

A basic terraform module example, which the example uses for a helm repo

Install
module "storage" {
source = "JamesWoolfenden/storage/gcp"
version = "0.3.39"
}
plain text: /constructs/tfmod-jameswoolfenden-storage-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-gcp-storage ![Build Status](https://github.com/JamesWoolfenden/terraform-gcp-storage) ![Latest Release](https://github.com/JamesWoolfenden/terraform-gcp-storage/releases/latest) ![GitHub tag (latest SemVer)](https://github.com/JamesWoolfenden/terraform-gcp-storage/releases/latest) !Terraform Version ![Infrastructure Tests](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-gcp-storage&benchmark=CIS+AWS+V1.2) ![pre-commit](https://github.com/pre-commit/pre-commit) ![checkov](https://www.checkov.io/) ![Infrastructure Tests](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-gcp-storage&benchmark=INFRASTRUCTURE+SECURITY) ![Infrastructure Tests](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesW

Inputs (19)
NameTypeDescriptionDefault
log_bucketstringShould not be itself required
common_tagsmap(any)This is to help you add tags to your cloud objects required
binding_rolestring required
projectstringThe GCP project name required
binding_membersstring required
bucket_namestringThe name of the bucket required
action_storage_classstringThe target Storage Class of objects affected by this Lifecycle Rule. Supported v"COLDLINE"
not_found_pagestring"404.html"
kms_keystringWhich key to encrypt with""
predefined_aclstring"private"
aclnumberFlag to create and ACL or not, alternative is to use a bucket policy/binding0
publicstringMake bucket publicly accessible"enforced"
action_typestringThe type of the action of this Lifecycle Rule. Supported values include: Delete "SetStorageClass"
lifecycle_agenumberMinimum (days) age of an object in days to satisfy this condition3
versioningstringtrue
main_page_suffixstringnull
corsmap{ "max_age_seconds": null, "method":
locationstringWhere the bucket is"US"
force_destroyboolFlag to set to destroy buckets with contentfalse
Outputs (2)
url — The Url of the statebucket
bucket — All the bucket info
Resources (3)
google_storage_bucketgoogle_storage_bucket_aclgoogle_storage_bucket_iam_binding
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.39
Cloud GCP
Total downloads8.3k
Inputs19
Outputs2
Resources3
NamespaceJamesWoolfenden
Updated