mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-06 01:54:43 +00:00
make tests for notifications provider agnostic
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
parent
7c1b897919
commit
e63ddb99de
18 changed files with 515 additions and 287 deletions
11
tests/integration/terraform/gcp/pubsub.tf
Normal file
11
tests/integration/terraform/gcp/pubsub.tf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
resource "google_pubsub_topic" "pubsub" {
|
||||
name = local.name
|
||||
labels = var.tags
|
||||
message_retention_duration = "7200s"
|
||||
}
|
||||
|
||||
resource "google_pubsub_subscription" "sub" {
|
||||
project = var.gcp_project_id
|
||||
name = local.name
|
||||
topic = google_pubsub_topic.pubsub.name
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue