-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add apply/destroy actions for all stages for the foundation de…
…ploy helper (#986)
- Loading branch information
1 parent
9af797c
commit 9d8f633
Showing
13 changed files
with
958 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ default_region = "us-central1" | |
|
||
group_org_admins = "REPLACE_ME" # "[email protected]" | ||
group_billing_admins = "REPLACE_ME" # "[email protected]" | ||
org_project_creators = [] | ||
|
||
bucket_force_destroy = false | ||
project_prefix = "prj" | ||
|
@@ -50,6 +51,36 @@ folder_prefix = "fldr" | |
|
||
//parent_folder = "01234567890" | ||
|
||
// Optional - for enabling the automatic groups creation, uncomment the groups | ||
// variable and update the values with the desired group names | ||
// https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/0-bootstrap/README.md#optional---automatic-creation-of-google-cloud-identity-groups | ||
|
||
// After deploy, the Bootstrap service account will need to be granted "Group Admin" role in the | ||
// Google Workspace by a Super Admin before Cloud Build builds can be executed by the Bootstrap workspace. | ||
// https://github.com/terraform-google-modules/terraform-google-group/blob/main/README.md#google-workspace-formerly-known-as-g-suite-roles | ||
|
||
//initial_group_config = "WITH_INITIAL_OWNER" | ||
//groups = { | ||
// create_groups = true, | ||
// billing_project = "BILLING-PROJECT", | ||
// required_groups = { | ||
// group_org_admins = "[email protected]" | ||
// group_billing_admins = "[email protected]" | ||
// billing_data_users = "[email protected]" | ||
// audit_data_users = "[email protected]" | ||
// monitoring_workspace_users = "[email protected]" | ||
// }, | ||
// optional_groups = { # fill in only the groups to be created | ||
// gcp_platform_viewer = "" | ||
// gcp_security_reviewer = "" | ||
// gcp_network_viewer = "" | ||
// gcp_scc_admin = "" | ||
// gcp_global_secrets_admin = "" | ||
// gcp_audit_viewer = "" | ||
// } | ||
//} | ||
// | ||
|
||
|
||
// 1-org inputs | ||
// https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/1-org/envs/shared/README.md#inputs | ||
|
@@ -63,6 +94,8 @@ essential_contacts_domains_to_allow = ["@example.com"] | |
scc_notification_name = "scc-notify" | ||
audit_logs_table_delete_contents_on_destroy = false | ||
log_export_storage_force_destroy = false | ||
log_export_storage_location = "US" | ||
billing_export_dataset_location = "US" | ||
|
||
// Choose witch network architecture to use: | ||
// Dual Shared VPC: https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/3-networks-dual-svpc/README.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.