You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: m365/README.adoc
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,16 +97,21 @@ Optional::
97
97
Advanced::
98
98
`create_app` (bool) [default=True]::: If true, the app will be created. If false, the app will be imported
99
99
`prefix_override` (string) [default=None]::: Prefix for resource names. If null, one will be generated from app_name
100
-
`input_storage_container_url` (string) [default=None]::: If not null, input container to read configs from (must give permissions to service account). Otherwise by default will create storage container. Expect an https url pointing to a container
101
-
`output_storage_container_url` (string) [default=None]::: If not null, output container to put results in (must give permissions to service account or use SAS). Otherwise by default will create storage container. Expect an https url pointing to a container
100
+
`input_storage_container_url` (string) [default=None]::: If not null, input container to read configs from (must assign blob reader role role to service account `sp_object_id` manually).
101
+
Otherwise by default will create storage container.
102
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
103
+
Note that the container must have "adhoc" and "scheduled" directories. These are not created automatically in this case
104
+
`output_storage_container_url` (string) [default=None]::: If not null, output container to put results in (must give permissions to service account `sp_object_id` or use SAS).
105
+
Otherwise by default will create storage container.
106
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
102
107
`output_storage_container_sas` (string) [default=None]::: If not null, shared access signature token (query string) to use when writing results to the output storage container. Set this when the container is in an external tenant (the owner of that container will provide the value).
103
108
`tenants_dir_path` (string) [default=./tenants]::: Relative path to directory containing tenant configuration files in yaml
104
109
`container_registry` (object) [default=None]::: Credentials for logging into registry with container image
105
110
`container_image` (string) [default=ghcr.io/cisagov/scubaconnect-m365:latest]::: Docker image to use for running ScubaGear.
106
111
`container_memory_gb` (number) [default=3]::: Amount of memory to allocate for ScubaGear container. Due to memory leaks in some dependencies, this may need to be increased if running on many tenants
107
112
`secondary_app_info` (object) [default=None]::: Information for a secondary app. This can be used for one ScubaConnect instance to handle multiple environments (e.g., GCC and GCC High).
108
-
To use, manually create an app in the other environment and add the certificate created for the primary app to it.
109
-
Set `environment_to_use` to the environment the manual app is in, either "commericial" or "gcchigh"
113
+
To use, manually create an app in the other environment and add the certificate created for the primary app to it.
114
+
Set `environment_to_use` to the environment the manual app is in, either "commericial" or "gcchigh"
description="If not null, input container to read configs from (must give permissions to service account). Otherwise by default will create storage container. Expect an https url pointing to a container"
105
+
description=<<-EOT
106
+
If not null, input container to read configs from (must assign blob reader role role to service account `sp_object_id` manually).
107
+
Otherwise by default will create storage container.
108
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
109
+
Note that the container must have "adhoc" and "scheduled" directories. These are not created automatically in this case
110
+
EOT
106
111
}
107
112
108
113
variable"output_storage_container_url" {
109
114
default=null
110
115
type=string
111
-
description="If not null, output container to put results in (must give permissions to service account or use SAS). Otherwise by default will create storage container. Expect an https url pointing to a container"
116
+
description=<<-EOT
117
+
If not null, output container to put results in (must give permissions to service account `sp_object_id` or use SAS).
118
+
Otherwise by default will create storage container.
119
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
description="If not null, input container to read configs from (must give permissions to service account). Otherwise by default will create storage container. Expect an https url pointing to a container"
28
+
description=<<-EOT
29
+
If not null, input container to read configs from (must assign blob reader role role to service account `sp_object_id` manually).
30
+
Otherwise by default will create storage container.
31
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
32
+
Note that the container must have "adhoc" and "scheduled" directories. These are not created automatically in this case
33
+
EOT
29
34
}
30
35
31
36
variable"output_storage_container_url" {
32
37
default=null
33
38
type=string
34
-
description="If not null, output container to put results in (must give permissions to service account or use SAS). Otherwise by default will create storage container. Expect an https url pointing to a container"
39
+
description=<<-EOT
40
+
If not null, output container to put results in (must give permissions to service account `sp_object_id` or use SAS).
41
+
Otherwise by default will create storage container.
42
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
43
+
EOT
35
44
}
36
45
37
46
variable"output_storage_container_sas" {
@@ -123,11 +132,11 @@ variable "cert_info" {
123
132
}
124
133
125
134
variable"secondary_app_info" {
126
-
description=<<EOF
135
+
description=<<-EOT
127
136
Information for a secondary app. This can be used for one ScubaConnect instance to handle multiple environments (e.g., GCC and GCC High).
128
137
To use, manually create an app in the other environment and add the certificate created for the primary app to it.
129
138
Set `environment_to_use` to the environment the manual app is in, either "commericial" or "gcchigh"
description="If not null, input container to read configs from (must give permissions to service account). Otherwise by default will create storage container. Expect an https url pointing to a container"
105
+
description=<<-EOT
106
+
If not null, input container to read configs from (must assign blob reader role role to service account `sp_object_id` manually).
107
+
Otherwise by default will create storage container.
108
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
109
+
Note that the container must have "adhoc" and "scheduled" directories. These are not created automatically in this case
110
+
EOT
106
111
}
107
112
108
113
variable"output_storage_container_url" {
109
114
default=null
110
115
type=string
111
-
description="If not null, output container to put results in (must give permissions to service account or use SAS). Otherwise by default will create storage container. Expect an https url pointing to a container"
116
+
description=<<-EOT
117
+
If not null, output container to put results in (must give permissions to service account `sp_object_id` or use SAS).
118
+
Otherwise by default will create storage container.
119
+
Expect a container URL like: https://<account>.blob.core.windows.net/<container>
parser=argparse.ArgumentParser("Converts a variables.tf file to an asciidoc description list. Treats comment blocks starting with ### as section headers")
0 commit comments