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

feat: adding cmek settings in log bucket #191

Merged
merged 7 commits into from
Nov 20, 2023

Conversation

Saloni-Patidar
Copy link
Contributor

Adding cmek_settings in log bucket.

@Saloni-Patidar Saloni-Patidar requested review from imrannayer and a team as code owners November 8, 2023 19:46
@Saloni-Patidar
Copy link
Contributor Author

Saloni-Patidar commented Nov 8, 2023

@imrannayer Can you please trigger the pipeline ?

@@ -40,6 +40,9 @@ resource "google_logging_project_bucket_config" "bucket" {
enable_analytics = var.enable_analytics
bucket_id = var.name
locked = var.locked
cmek_settings {
Copy link
Collaborator

@imrannayer imrannayer Nov 9, 2023

Choose a reason for hiding this comment

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

@Saloni-Patidar This code will be optional and should execute when keys are provided. Check storage module how to handle it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@imrannayer should we add a new folder with these settings as an option?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Saloni-Patidar no need for a separate folder. Just add conditional execution of this block so it will only execute when cmek keys are provided.

@Saloni-Patidar
Copy link
Contributor Author

@imrannayer can you check this now?

@imrannayer
Copy link
Collaborator

/gcbrun

@imrannayer
Copy link
Collaborator

/gcbrun

@Saloni-Patidar
Copy link
Contributor Author

@imrannayer how can we solve this error?

@imrannayer
Copy link
Collaborator

/gcbrun

@Saloni-Patidar
Copy link
Contributor Author

@imrannayer are we good to merge this?

@imrannayer imrannayer self-requested a review November 20, 2023 13:36
@imrannayer imrannayer merged commit d783b59 into terraform-google-modules:master Nov 20, 2023
4 checks passed
@Saloni-Patidar Saloni-Patidar deleted the cmek branch November 21, 2023 05:47
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