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
There are multiple examples included in the [examples](./examples/) folder but simple usage is as follows:
@@ -86,39 +93,37 @@ The roles granted are specifically:
86
93
| Name | Description | Type | Default | Required |
87
94
|------|-------------|:----:|:-----:|:-----:|
88
95
| activate\_apis | The list of apis to activate within the project | list |`<list>`| no |
89
-
| app\_engine | A map for app engine configuration | map |`<map>`| no |
90
-
| auto\_create\_network | Create the default network | string |`false`| no |
91
-
| billing\_account | The ID of the billing account to associate this project with | string | - | yes |
92
-
| bucket\_name | A name for a GCS bucket to create (in the bucket_project project), useful for Terraform state (optional) | string | `` | no |
93
-
| bucket\_project | A project to create a GCS bucket (bucket_name) in, useful for Terraform state (optional) | string | `` | no |
94
-
| credentials\_path | Path to a Service Account credentials file with permissions documented in the readme | string | `` | no |
95
-
| disable\_services\_on\_destroy | Whether project services will be disabled when the resources are destroyed | string |`true`| no |
96
-
| domain | The domain name (optional). | string | `` | no |
97
-
| folder\_id | The ID of a folder to host this project | string | `` | no |
98
-
| group\_name | A group to control the project by being assigned group_role (defaults to project editor) | string | `` | no |
99
-
| group\_role | The role to give the controlling group (group_name) over the project (defaults to project editor) | string |`roles/editor`| no |
96
+
| auto\_create\_network | Create the default network | string |`"false"`| no |
97
+
| billing\_account | The ID of the billing account to associate this project with | string | n/a | yes |
98
+
| bucket\_name | A name for a GCS bucket to create (in the bucket_project project), useful for Terraform state (optional) | string |`""`| no |
99
+
| bucket\_project | A project to create a GCS bucket (bucket_name) in, useful for Terraform state (optional) | string |`""`| no |
100
+
| credentials\_path | Path to a service account credentials file with rights to run the Project Factory. If this file is absent Terraform will fall back to Application Default Credentials. | string |`""`| no |
101
+
| disable\_services\_on\_destroy | Whether project services will be disabled when the resources are destroyed | string |`"true"`| no |
102
+
| domain | The domain name (optional). | string |`""`| no |
103
+
| folder\_id | The ID of a folder to host this project | string |`""`| no |
104
+
| group\_name | A group to control the project by being assigned group_role (defaults to project editor) | string |`""`| no |
105
+
| group\_role | The role to give the controlling group (group_name) over the project (defaults to project editor) | string |`"roles/editor"`| no |
100
106
| labels | Map of labels for project | map |`<map>`| no |
101
-
| lien | Add a lien on the project to prevent accidental deletion | string |`false`| no |
102
-
| name | The name for the project | string |-| yes |
| random\_project\_id | Enables project random id generation | string |`"false"`| no |
111
+
| sa\_role | A role to give the default Service Account for the project (defaults to none) | string |`""`| no |
112
+
| shared\_vpc | The ID of the host project which hosts the shared VPC | string |`""`| no |
107
113
| shared\_vpc\_subnets | List of subnets fully qualified subnet IDs (ie. projects/$project_id/regions/$region/subnetworks/$subnet_id) | list |`<list>`| no |
108
-
| usage\_bucket\_name | Name of a GCS bucket to store GCE usage reports in (optional) | string | `` | no |
109
-
| usage\_bucket\_prefix | Prefix in the GCS bucket to store GCE usage reports in (optional) | string | `` | no |
114
+
| usage\_bucket\_name | Name of a GCS bucket to store GCE usage reports in (optional) | string |`""`| no |
115
+
| usage\_bucket\_prefix | Prefix in the GCS bucket to store GCE usage reports in (optional) | string |`""`| no |
110
116
111
117
## Outputs
112
118
113
119
| Name | Description |
114
120
|------|-------------|
115
-
| app\_engine\_enabled | Whether app engine is enabled |
116
121
| domain | The organization's domain |
117
122
| group\_email | The email of the GSuite group with group_name |
The new implementation uses the `google_app_engine_application` resource which needs to be imported into the current state (make sure to replace `$YOUR_PROJECT_ID`):
| credentials\_path | Path to a Service Account credentials file with permissions documented in the readme | string |n/a| yes |
34
+
| org\_id | organization id | string |n/a| yes |
35
+
| shared\_vpc | The ID of the host project which hosts the shared VPC | string |n/a| yes |
36
36
| shared\_vpc\_subnets | List of subnets fully qualified subnet IDs (ie. projects/$PROJECT_ID/regions/$REGION/subnetworks/$SUBNET_ID) | list |`<list>`| no |
Copy file name to clipboardExpand all lines: examples/project-hierarchy/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@ Expected variables:
26
26
27
27
| Name | Description | Type | Default | Required |
28
28
|------|-------------|:----:|:-----:|:-----:|
29
-
| admin\_email | Admin user email on Gsuite | string |-| yes |
30
-
| billing\_account | The ID of the billing account to associate this project with | string |-| yes |
31
-
| credentials\_path | Path to a Service Account credentials file with permissions documented in the readme | string |-|yes|
32
-
| organization\_id | The organization id for the associated services | string |-| yes |
29
+
| admin\_email | Admin user email on Gsuite | string |n/a| yes |
30
+
| billing\_account | The ID of the billing account to associate this project with | string |n/a| yes |
31
+
| credentials\_path | Path to a service account credentials file with rights to run the Project Factory. If this file is absent Terraform will fall back to Application Default Credentials. | string |`""`|no|
32
+
| organization\_id | The organization id for the associated services | string |n/a| yes |
Copy file name to clipboardExpand all lines: examples/simple_project/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ Expected variables:
14
14
15
15
| Name | Description | Type | Default | Required |
16
16
|------|-------------|:----:|:-----:|:-----:|
17
-
| billing\_account | The ID of the billing account to associate this project with | string |-| yes |
18
-
| credentials\_path | Path to a Service Account credentials file with permissions documented in the readme | string |-|yes|
19
-
| organization\_id | The organization id for the associated services | string |-| yes |
17
+
| billing\_account | The ID of the billing account to associate this project with | string |n/a| yes |
18
+
| credentials\_path | Path to a service account credentials file with rights to run the Project Factory. If this file is absent Terraform will fall back to Application Default Credentials. | string |`""`|no|
19
+
| organization\_id | The organization id for the associated services | string |n/a| yes |
0 commit comments