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

Add support for groups settings scanner #100

Merged
merged 2 commits into from
Apr 2, 2019

Conversation

adrienthebo
Copy link
Contributor

No description provided.

@adrienthebo adrienthebo force-pushed the adrienthebo/groups-settings-scanner branch 2 times, most recently from 485a447 to 526ffca Compare April 2, 2019 00:20
variables.tf Outdated

variable "groups_settings_disable_polling" {
description = "whether to disable polling for the g suite groups api"
default = "false"
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Should be "False" to align with the rest of the disable_polling values.

QQ: Is there a reason these settings are separate from the others?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was under the impression that YAML required that false to be lower cased, but I was incorrect. In addition it looks like I accidentally lowercased all of these entries, I'll correct that.

In terms of file organization, adding a single scanner is easier if the associated variables are clustered together. The reasoning is that we're sharing the definitions for these variables in the root module and the server module so they can be copied between the files. If we have them split up per-section it's harder to copy the grouped elements, so this makes it a bit easier to share the definitions.

Moving forward I think that we should reconsider how we're templating out the Forseti server configuration, as this flattened approach is pretty labor intensive. Generating the configuration using a python script or somesuch might be easier and more maintainable as the responsibilities of the server configuration file grows.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed.

@adrienthebo adrienthebo force-pushed the adrienthebo/groups-settings-scanner branch from 526ffca to ee85242 Compare April 2, 2019 17:52
@adrienthebo adrienthebo merged commit be9b747 into master Apr 2, 2019
@adrienthebo adrienthebo deleted the adrienthebo/groups-settings-scanner branch April 2, 2019 22:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants