Skip to content
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

Adds new visualizations submodule #66

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Adds new visualizations submodule #66

merged 2 commits into from
Feb 12, 2024

Conversation

nkinkade
Copy link
Contributor

@nkinkade nkinkade commented Feb 8, 2024

The immediate use of this submodule will be to configure the proper service accounts for the grafana-public AppEngine instance. The build of this PR is adding the appropriate IAM role bindings to the new grafana-public@ service account.


This change is Reviewable

The immediate use of this submodule will be to configure the proper service
accounts for the grafana-public AppEngine instance.
Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @nkinkade)


modules/visualizations/serviceaccounts.tf line 18 at r1 (raw file):

  members = [
    "serviceAccount:grafana-public@mlab-sandbox.iam.gserviceaccount.com"

The module is specifying a service account name with "mlab-sandbox". Can this be a parameter or formatted?

This commit replaces hardcoded usage of project mlab-sandbox in the
granfa-public@ service account name with a variable project_id that will change
automatically depending on environment.
Copy link
Contributor Author

@nkinkade nkinkade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stephen-soltesz: PTAL?

Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @stephen-soltesz)


modules/visualizations/serviceaccounts.tf line 18 at r1 (raw file):

Previously, stephen-soltesz (Stephen Soltesz) wrote…

The module is specifying a service account name with "mlab-sandbox". Can this be a parameter or formatted?

Good catch. I replaced the static usage of "mlab-sandbox" with variable interpolation on the current project id.

Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 6 of 7 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@nkinkade nkinkade merged commit c8c1bf1 into main Feb 12, 2024
3 checks passed
@nkinkade nkinkade deleted the sandbox-kinkade branch February 12, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants