|
| 1 | +# Sysdig Secure for Cloud in GCP<br/>[ Example :: Trigger-Events] |
| 2 | +This example helps to trigger GCP Events. Cloud connector stack is required to be able to generate events. |
| 3 | +After applying, this will create a new sink and assign it to a new pub/sub topic. **GCP Update, Disable or Delete Sink** event will prompt once the module is destroyed. |
| 4 | + |
| 5 | +## Prerequisites |
| 6 | + |
| 7 | +Minimum requirements: |
| 8 | +1. Deploy Cloud Connector Stack on GCP. |
| 9 | +2. Configure Terraform GCP Provider. |
| 10 | + |
| 11 | +## Usage |
| 12 | + |
| 13 | +For quick testing, use this snippet on your terraform files |
| 14 | + |
| 15 | +```terraform |
| 16 | +provider "google" { |
| 17 | + project = "<PROJECT_ID>" |
| 18 | + region = "<REGION_ID>; ex. us-central-1" |
| 19 | +} |
| 20 | +
|
| 21 | +module "secure-for-cloud_trigger_events" { |
| 22 | + source = "sysdiglabs/secure-for-cloud/google//examples/trigger-events" |
| 23 | +} |
| 24 | +``` |
| 25 | + |
| 26 | +<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 27 | +## Requirements |
| 28 | + |
| 29 | +| Name | Version | |
| 30 | +|------|---------| |
| 31 | +| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.14.0 | |
| 32 | +| <a name="requirement_google"></a> [google](#requirement\_google) | ~> 3.67.0 | |
| 33 | +| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | ~> 3.67.0 | |
| 34 | +| <a name="requirement_random"></a> [random](#requirement\_random) | >= 3.1.0 | |
| 35 | +| <a name="requirement_sysdig"></a> [sysdig](#requirement\_sysdig) | >= 0.5.21 | |
| 36 | + |
| 37 | +## Providers |
| 38 | + |
| 39 | +| Name | Version | |
| 40 | +|------|---------| |
| 41 | +| <a name="provider_google"></a> [google](#provider\_google) | 3.67.0 | |
| 42 | + |
| 43 | +## Modules |
| 44 | + |
| 45 | +No modules. |
| 46 | + |
| 47 | +## Resources |
| 48 | + |
| 49 | +| Name | Type | |
| 50 | +|------|------| |
| 51 | +| [google_logging_project_sink.project_sink](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/logging_project_sink) | resource | |
| 52 | +| [google_pubsub_topic.trigger_topic](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/pubsub_topic) | resource | |
| 53 | +| [google_pubsub_topic_iam_member.writer](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/pubsub_topic_iam_member) | resource | |
| 54 | +| [google_project.project](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/project) | data source | |
| 55 | + |
| 56 | +## Inputs |
| 57 | + |
| 58 | +No inputs. |
| 59 | + |
| 60 | +## Outputs |
| 61 | + |
| 62 | +No outputs. |
| 63 | +<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 64 | + |
| 65 | +## Authors |
| 66 | + |
| 67 | +Module is maintained and supported by [Sysdig](https://github.com/sysdiglabs/terraform-google-cloudvision). |
| 68 | + |
| 69 | +## License |
| 70 | + |
| 71 | +Apache 2 Licensed. See LICENSE for full details. |
0 commit comments