Migrate PubSub tests

This commit is contained in:
Julio Castillo
2023-04-14 17:14:02 +02:00
parent 1927b138d6
commit 01b9921f5c
10 changed files with 195 additions and 108 deletions

View File

@@ -16,7 +16,7 @@ module "pubsub" {
"roles/pubsub.subscriber" = ["user:user1@example.com"]
}
}
# tftest modules=1 resources=3
# tftest modules=1 resources=3 inventory=simple.yaml
```
### Topic with schema
@@ -48,7 +48,7 @@ module "topic_with_schema" {
})
}
}
# tftest modules=1 resources=2
# tftest modules=1 resources=2 inventory=schema.yaml
```
### Subscriptions
@@ -74,7 +74,7 @@ module "pubsub" {
}
}
}
# tftest modules=1 resources=3
# tftest modules=1 resources=3 inventory=subscriptions.yaml
```
### Push subscriptions