-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a subscription to gs://kubernetes-ci-logs. #7370
Conversation
There's an existing PubSub topic for GCS changes to gs://kubernetes-ci-logs (in k8s-infra-prow). Attempt to add a new subscription to this in kubernetes-public so Kettle can use updates from the new logs bucket. (Note: I don't have permissions to run terraform here, so I haven't verified that these additions are valid.)
30b8ae3
to
8313027
Compare
/lgtm Remove the hold when you found someone to apply this. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ameukam, michelle192837 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
@michelle192837 Looks like we need a schema for the topic: │ Error: Missing required argument
│
│ with google_pubsub_subscription.kettle_ci_logs_subscription,
│ on k8s-kettle.tf line 106, in resource "google_pubsub_subscription" "kettle_ci_logs_subscription":
│ 106: topic = data.google_pubsub_topic.kubernetes_ci_logs_topic.id
│
│ The argument "topic" is required, but no definition was found. |
Follow-up of: - kubernetes#7370 The id of the PubSub topic is required instead of the topic's name.
|
||
resource "google_pubsub_subscription" "kettle_ci_logs_subscription" { | ||
name = "k8s-infra-kettle" | ||
topic = data.google_pubsub_topic.kubernetes_ci_logs_topic.name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be id
instead of name
?
topic = data.google_pubsub_topic.kubernetes_ci_logs_topic.id
There's an existing PubSub topic for GCS changes to gs://kubernetes-ci-logs (in k8s-infra-prow). Attempt to add a new subscription to this in kubernetes-public so Kettle can use updates from the new logs bucket.
(Note: I don't have permissions to run terraform here, so I haven't verified that these additions are valid.)
/hold
Don't submit until we verify this will do something with
terraform plan
Ref kubernetes/test-infra#33381