Complete GCS

Terraform scripts to create a complete GCS using the module gcs.

To create a complete GCS:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

external

~> 2.3.1

google

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Providers

Name

Version

external

~> 2.3.1

google

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Modules

Name

Source

Version

complete_gcs_bucket

../../../gcs

n/a

Resources

Name

Type

local_file.date_sh

resource

null_resource.timestamp

resource

external_external.static_timestamp

data source

google_client_openid_userinfo.current

data source

Inputs

Name

Description

Type

Default

Required

project

Project name

string

n/a

yes

region

The GCP region to deploy the GCS.

string

"europe-west9"

no

Outputs

Name

Description

access_control_domain

The domain associated with the bucket access control.

access_control_email

The email address associated with the bucket access control.

access_control_id

An identifier for the bucket access control

acls

The associated ACLs

iam_members

The associated IAM policy

name

Name of the bucket

self_link

The URI of the created bucket

url

The base URL of the bucket, in the format gs://