Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Add variable monitoring-host-project to alerting module. #540

Merged
merged 3 commits into from
Sep 24, 2020

Conversation

yegle
Copy link
Contributor

@yegle yegle commented Sep 14, 2020

For multi-project workspaces, a separate empty monitoring host project
is preferred.

Related issue: #460

Release Note

action required: if you use the "alerting" Terraform module, you need to change var.project to var.monitoring-host-project. It's recommended to use a separate empty project to host the monitoring workspace. See also https://cloud.google.com/monitoring/workspaces/create#multi-project-ws

For multi-project workspaces, a separate empty monitoring host project
is preferred.
@google-cla google-cla bot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Sep 14, 2020
@yegle
Copy link
Contributor Author

yegle commented Sep 14, 2020

/assign @icco

@icco
Copy link
Contributor

icco commented Sep 14, 2020

So my concern with this is what happens when monitoring host project is set in different terraform workspaces like we have?

@yegle
Copy link
Contributor Author

yegle commented Sep 15, 2020

Not sure if Terraform can do the work (you can merge one workspace into another workspace, i.e. "migrate" two single project workspace into a multi-project workspaec), but worst thing that could happen, we have to destroy everything in the old single-project workspace, and recreate everything in the multi-project workspace.

@yegle
Copy link
Contributor Author

yegle commented Sep 15, 2020

Oh I see what you mean.

I'm thinking about 3 different projects as variables, monitoring-host-project, key-server-project, verification-server-project. We can then use the alerting module outside of key/verification server.

This should be done in a later PR.

@icco
Copy link
Contributor

icco commented Sep 17, 2020

Hmm, the more I think about it, I wonder if we should put this in a separate repo, as this is essentially growing the scope to outside of the verification server.

Thoughts?

@yegle
Copy link
Contributor Author

yegle commented Sep 18, 2020

SGTM

@icco
Copy link
Contributor

icco commented Sep 18, 2020

/close

AI: create new repo called exposure-notifications-monitoring or something

@google-oss-robot
Copy link

@icco: Closed this PR.

In response to this:

/close

AI: create new repo called exposure-notifications-monitoring or something

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yegle yegle reopened this Sep 23, 2020
@yegle
Copy link
Contributor Author

yegle commented Sep 23, 2020

@icco Let's maintain the monitoring related Terraform configs here for now?

@icco
Copy link
Contributor

icco commented Sep 23, 2020

@icco Let's maintain the monitoring related Terraform configs here for now?

Yeah, but I think we should revert this? Seems unnecessary for now?

@icco
Copy link
Contributor

icco commented Sep 24, 2020

We talked about this, merging.

/lgtm
/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: icco, yegle

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 5671286 into google:main Sep 24, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 6, 2020
@yegle yegle deleted the monitoring-host-project branch November 23, 2020 21:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants