Listed link indicates the Cloud Storage buckets, which refer to Terraform module
States following --> You can use a Terraform resource to create a storage bucket
Details of Github link listed is below referred
1) If we trying to create bucket for Apigee Hybrid Cassendra (backup) per main file, how is prefix is considered?
2) Do we have detailed read me and other files , something similar to cloud-foundation-fabric/modules/logging-bucket at master · GoogleCloudPlatform/cloud-foundation-fabr...
for creation of new storage bucket ?
@dino @rajeshmi @dknezic @strebel
Solved! Go to Solution.
You can create a storage bucket either via the Google terraform provider here:
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket
or via the downstream fabric module:
https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/modules/gcs
Personally I'd go with the fabric module as it makes it easier to configure more advanced things like KMS or IAM permissions.
The fabric module uses a prefix + name to create a bucket name of "prefix-name". The prefix is optional though.
The output value will then give you the bucket path gs:// that you can use in your Apigee backup specification.
You can create a storage bucket either via the Google terraform provider here:
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket
or via the downstream fabric module:
https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/modules/gcs
Personally I'd go with the fabric module as it makes it easier to configure more advanced things like KMS or IAM permissions.
The fabric module uses a prefix + name to create a bucket name of "prefix-name". The prefix is optional though.
The output value will then give you the bucket path gs:// that you can use in your Apigee backup specification.
1) Agree,then Google link
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket
Should refer to listed terraform instead ..
https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/modules/gcs
2) Also name of module should be gcs-storage bucket instead of just indicating as "gcs"
3) and the readme indicated can be .tfvars file when using with init,plan etc..
The fabric module encompasses the storage bucket as well as a range of other resources as out can see here. Therefore the module is called "gcs".
It's up to you if you want to use the fabric module or use the plain upstream resources.