Google Cloud Storage
Google Cloud Storage allows world-wide storage and retrieval of any amount of data at any time. You can use Cloud Storage for a range of scenarios including serving website content, storing data for archival and disaster recovery, or distributing large data objects to users via direct download.
This module creates a Google Cloud Storage with these possibilities :
Add ACLs on the newly created cloud storage.
Bind IAM Roles to the newly created cloud storage.
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
>= 4.75.0 |
|
>= 2.7.1 |
Providers
Name |
Version |
|---|---|
>= 4.75.0 |
|
>= 2.7.1 |
Modules
No modules.
Resources
Name |
Type |
|---|---|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
data source |
|
data source |
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
The adapter’s absolute path |
|
|
no |
|
Name of the adapter’s class |
|
|
no |
|
The bucket’s Autoclass configuration. |
|
|
no |
|
The bucket’s Cross-Origin Resource Sharing (CORS) configuration. |
object({ |
|
no |
|
The bucket’s custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. |
|
|
no |
|
Configure this ACL to be the default ACL. |
|
|
no |
|
Whether or not to automatically apply an eventBasedHold to new objects added to the bucket. |
|
|
no |
|
The id of a Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. |
|
|
no |
|
The entity holding the permission. |
|
|
no |
|
When deleting a bucket, this boolean option will delete all contained objects. |
|
|
no |
|
A map of key/value label pairs to assign to the bucket. |
|
|
no |
|
The bucket’s lifecycle rules configuration. |
map(object({ |
|
no |
|
Location for the bucket: regional, dual-regional or multi-regional GCS locations. |
|
n/a |
yes |
|
The bucket’s Access & Storage Logs configuration. |
object({ |
|
no |
|
The name of the bucket. |
|
n/a |
yes |
|
Namespace of ArmoniK storage resources |
|
|
no |
|
Name of the ArmoniK adapter to use for the storage |
|
|
no |
|
Google Cloud storage secret to use as passeword |
|
|
no |
|
The canned GCS ACL to apply. |
|
|
no |
|
Prevents public access to a bucket. Acceptable values are ‘inherited’ or ‘enforced’ |
|
|
no |
|
Enables Requester Pays on a storage bucket. |
|
|
no |
|
Configuration of the bucket’s data retention policy for how long objects in the bucket should be retained. |
object({ |
|
no |
|
The access permission for the entity. |
|
|
no |
|
List of role/entity pairs in the form “ROLE:entity”. |
|
|
no |
|
Roles to bind to the bucket |
|
|
no |
|
The Storage Class of the new bucket. |
|
|
no |
|
Enables Uniform bucket-level access access to a bucket |
|
|
no |
|
Google Cloud storage access id to use as username |
|
|
no |
|
The bucket’s Versioning configuration. |
|
|
no |
|
Configuration if the bucket acts as a website. Structure is documented below. |
object({ |
|
no |
Outputs
Name |
Description |
|---|---|
The domain associated with the bucket access control. |
|
The email address associated with the bucket access control. |
|
An identifier for the bucket access control |
|
The associated ACLs |
|
bucket created on GCP |
|
Elements to be set as environment variables |
|
Secrets to be set as environment variables |
|
The associated IAM policy |
|
Name of the bucket |
|
The URI of the created bucket |
|
The base URL of the bucket, in the format gs:// |