-
Notifications
You must be signed in to change notification settings - Fork 545
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
1.0 - G Suite Refactor #94
Conversation
…pass on migrating from v1 project factory
A refactor that removed null_data_sources in favor of local variables didn't update all of the locations where the old value was used; this commit fixes up the omission.
root and gsuite_enabled do not utilize var.org_id and var.domain in a manner which requires them to both exist.
This change removes a cyclic dependency between gsuite_enabled and core_project_factory
It looks like attempting to merge in master somehow broke this. The issue is somewhere in here: https://github.com/terraform-google-modules/terraform-google-project-factory/pull/94/files/bb2b84289d32555a2e1976a89f4ae66dc38da526..4ff2d26bc1a6c4ac47a4e3c4326421bbba217b9b |
The interpolation of random_string was causing an issue for counts based off of outputs from gsuite_group modules. It's not clear why this is happening. The tests can not be run concurrently at this point so the there is no need to avoid naming collisions any way.
Sadly it looks like this is still breaking CI:
|
It looks like we still don't have the group logic quite right. We need parity with the current project factory. To be specific, if I am using the non-G Suite project factory, I have two options:
For the G Suite version, there are 4 options:
|
`gsuite_group` does not need to be included in `core_project_factory` since the only relevant output is `email`. The `manage_group` variable on `core_project_factory` removes the need to check the value of the `group_name` variable which was causing an issue during graph resolution. The `count` of the `additive_service_account_grant_to_group` in the `full` fixture is removed because the `group_email` output will always be defined in that fixture.
…count-computation Fix count computation
This commit patches gsuite_enabled to only manage a group when a name is provided or the toggle to create a group is set.
…-manage-existent-group Only manage group if it is existent
This PR is to track the final merge of the G Suite refactor and release.
Fixes/changes should be done as PRs against 1.0-rc1.