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
module"google_storage_bucket_object" {
source=null# bucket - (required) is a type of stringbucket=null# cache_control - (optional) is a type of stringcache_control=null# content - (optional) is a type of stringcontent=null# content_disposition - (optional) is a type of stringcontent_disposition=null# content_encoding - (optional) is a type of stringcontent_encoding=null# content_language - (optional) is a type of stringcontent_language=null# content_type - (optional) is a type of stringcontent_type=null# detect_md5hash - (optional) is a type of stringdetect_md5hash=null# kms_key_name - (optional) is a type of stringkms_key_name=null# metadata - (optional) is a type of map of stringmetadata={}
# name - (required) is a type of stringname=null# source - (optional) is a type of string# storage_class - (optional) is a type of stringstorage_class=null
}
variable"bucket" {
description="(required) - The name of the containing bucket."type=string
}
variable"cache_control" {
description="(optional) - Cache-Control directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600"type=stringdefault=null
}
variable"content" {
description="(optional) - Data as string to be uploaded. Must be defined if source is not. Note: The content field is marked as sensitive. To view the raw contents of the object, please define an output."type=stringdefault=null
}
variable"content_disposition" {
description="(optional) - Content-Disposition of the object data."type=stringdefault=null
}
variable"content_encoding" {
description="(optional) - Content-Encoding of the object data."type=stringdefault=null
}
variable"content_language" {
description="(optional) - Content-Language of the object data."type=stringdefault=null
}
variable"content_type" {
description="(optional) - Content-Type of the object data. Defaults to \"application/octet-stream\" or \"text/plain; charset=utf-8\"."type=stringdefault=null
}
variable"detect_md5hash" {
description="(optional)"type=stringdefault=null
}
variable"kms_key_name" {
description="(optional) - Resource name of the Cloud KMS key that will be used to encrypt the object. Overrides the object metadata's kmsKeyName value, if any."type=stringdefault=null
}
variable"metadata" {
description="(optional) - User-provided metadata, in key/value pairs."type=map(string)
default=null
}
variable"name" {
description="(required) - The name of the object. If you're interpolating the name of this object, see output_name instead."type=string
}
variable"source" {
description="(optional) - A path to the data you want to upload. Must be defined if content is not."type=stringdefault=null
}
variable"storage_class" {
description="(optional) - The StorageClass of the new bucket object. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default storage class or to a standard class."type=stringdefault=null
}
resource"google_storage_bucket_object""this" {
# bucket - (required) is a type of stringbucket=var.bucket# cache_control - (optional) is a type of stringcache_control=var.cache_control# content - (optional) is a type of stringcontent=var.content# content_disposition - (optional) is a type of stringcontent_disposition=var.content_disposition# content_encoding - (optional) is a type of stringcontent_encoding=var.content_encoding# content_language - (optional) is a type of stringcontent_language=var.content_language# content_type - (optional) is a type of stringcontent_type=var.content_type# detect_md5hash - (optional) is a type of stringdetect_md5hash=var.detect_md5hash# kms_key_name - (optional) is a type of stringkms_key_name=var.kms_key_name# metadata - (optional) is a type of map of stringmetadata=var.metadata# name - (required) is a type of stringname=var.name# source - (optional) is a type of stringsource=var.source# storage_class - (optional) is a type of stringstorage_class=var.storage_class
}