Skip to content

massdriver-cloud/gcp-gcs-bucket-application-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Massdriver

gcp-gcs-bucket-application-assets

Release Contributors Forks Stargazers Issues MIT License

Google Cloud Storage (GCS) is designed for optimal performance with unstructured data. This storage solution is ideal for storing any files produced and consumed by your application internally on the Google Cloud Platform.


Design

For detailed information, check out our Operator Guide for this bundle.

Usage

Our bundles aren't intended to be used locally, outside of testing. Instead, our bundles are designed to be configured, connected, deployed and monitored in the Massdriver platform.

What are Bundles?

Bundles are the basic building blocks of infrastructure, applications, and architectures in Massdriver. Read more here.

Bundle

Params

Form input parameters for configuring a bundle for deployment.

View

Properties

  • bucket (object)
    • force_destroy (boolean): When enabled, the bucket and all objects within it are destroyed when the bundle is decommissioned. Default: False.

    • region (string): GCP region where the bucket will be created.

      Examples:

      "us-east1"
      "us-east4"
      "us-west1"
      "us-west2"
      "us-west3"
      "us-west4"
      "us-central1"

Examples

Connections

Connections from other bundles that this bundle depends on.

View

Properties

  • gcp_authentication (object): GCP Service Account. Cannot contain additional properties.
    • data (object)
      • auth_provider_x509_cert_url (string): Auth Provider x509 Certificate URL. Default: https://www.googleapis.com/oauth2/v1/certs.

        Examples:

        "https://example.com/some/path"
        "https://massdriver.cloud"
      • auth_uri (string): Auth URI. Default: https://accounts.google.com/o/oauth2/auth.

        Examples:

        "https://example.com/some/path"
        "https://massdriver.cloud"
      • client_email (string): Service Account Email.

        Examples:

      • client_id (string): .

      • client_x509_cert_url (string): Client x509 Certificate URL.

        Examples:

        "https://example.com/some/path"
        "https://massdriver.cloud"
      • private_key (string): .

      • private_key_id (string): .

      • project_id (string): .

      • token_uri (string): Token URI. Default: https://oauth2.googleapis.com/token.

        Examples:

        "https://example.com/some/path"
        "https://massdriver.cloud"
      • type (string): . Default: service_account.

    • specs (object)
      • gcp (object): .
        • project (string)

        • region (string): The GCP region to provision resources in.

          Examples:

          "us-east1"
          "us-east4"
          "us-west1"
          "us-west2"
          "us-west3"
          "us-west4"
          "us-central1"

Artifacts

Resources created by this bundle that can be connected to other bundles.

View

Properties

  • gcs_bucket (object): GCP Google Cloud Storage Bucket.
    • data (object)

      • infrastructure (object): Google Cloud Storage Bucket. Cannot contain additional properties.

        • id (string): The Globally Unique ID of the GCS Bucket.

          Examples:

          "one"
          "dash-bucket"
          "snake_bucket"
          "domain.type.bucket"
          "1also-valid2"
      • security (object): GCP Security Configuration. Cannot contain additional properties.

        • iam (object): IAM Roles And Conditions. Cannot contain additional properties.
          • ^[a-z]+[a-z_]*[a-z]$ (object)
            • condition (string): GCP IAM Condition.

            • role: GCP Role.

              Examples:

              "roles/owner"
              "roles/redis.editor"
              "roles/storage.objectCreator"
              "roles/storage.legacyObjectReader"
    • specs (object)

      • gcp (object): .
        • project (string)

        • region (string): The GCP region to provision resources in.

          Examples:

          "us-east1"
          "us-east4"
          "us-west1"
          "us-west2"
          "us-west3"
          "us-west4"
          "us-central1"

Contributing

Bug Reports & Feature Requests

Did we miss something? Please submit an issue to report any bugs or request additional features.

Developing

Note: Massdriver bundles are intended to be tightly use-case scoped, intention-based, reusable pieces of IaC for use in the Massdriver platform. For this reason, major feature additions that broaden the scope of an existing bundle are likely to be rejected by the community.

Still want to get involved? First check out our contribution guidelines.

Fix or Fork

If your use-case isn't covered by this bundle, you can still get involved! Massdriver is designed to be an extensible platform. Fork this bundle, or create your own bundle from scratch!

Connect

Questions? Concerns? Adulations? We'd love to hear from you!

Please connect with us!

Email GitHub LinkedIn Twitter YouTube Reddit