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

New org policies #283

Merged

Conversation

daniel-cit
Copy link
Contributor

This PR adds two new org policies:

  • OS login
  • Shielded VMs

with a toggle for each one

@daniel-cit daniel-cit requested a review from a team as a code owner November 5, 2020 02:57
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

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

overall LGTM
/cc @rjerrems

@@ -49,6 +49,18 @@ variable "domains_to_allow" {
type = list(string)
}

variable "enable_shielded_vm_policy" {
Copy link
Member

Choose a reason for hiding this comment

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

@daniel-cit can we document the caveats for enabling each of these as well (i.e GKE issue with os login and dataflow/composer with Shielded VMs) so that the user is aware.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think its best to link to public docs as @daniel-cit has done, so that they can be the source of truth for any limitations

Copy link
Collaborator

Choose a reason for hiding this comment

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

(we should try to get docs updated where they are lacking)

@rjerrems
Copy link
Collaborator

rjerrems commented Nov 5, 2020

So the plan is turn these on by default now? We should have some documentation for how to add exceptions to the policy for workloads that don't work well with these policies I think before we make it the default

@bharathkkb
Copy link
Member

@rjerrems off by default and +1 for docs.

Copy link
Collaborator

@rjerrems rjerrems left a comment

Choose a reason for hiding this comment

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

LGTM

@rjerrems rjerrems merged commit b90771a into terraform-google-modules:develop Nov 9, 2020
@daniel-cit daniel-cit deleted the new-org-policies branch May 20, 2022 00:57
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.

None yet

3 participants