diff --git a/README.md b/README.md index 9bb78a6b8..2b4583d8d 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,8 @@ determining that location is as follows: | lien | Add a lien on the project to prevent accidental deletion | string | `"false"` | no | | name | The name for the project | string | n/a | yes | | org\_id | The organization ID. | string | n/a | yes | -| random\_project\_id | Enables project random id generation | string | `"false"` | no | +| project\_id | If provided, the project uses the given project ID. Mutually exclusive with random_project_id being true. | string | `""` | no | +| random\_project\_id | Enables project random id generation. Mutually exclusive with project_id being non-empty. | string | `"false"` | no | | sa\_role | A role to give the default Service Account for the project (defaults to none) | string | `""` | no | | shared\_vpc | The ID of the host project which hosts the shared VPC | string | `""` | no | | shared\_vpc\_subnets | List of subnets fully qualified subnet IDs (ie. projects/$project_id/regions/$region/subnetworks/$subnet_id) | list | `` | no | @@ -137,6 +138,7 @@ determining that location is as follows: | project\_bucket\_self\_link | Project's bucket selfLink | | project\_bucket\_url | Project's bucket url | | project\_id | | +| project\_name | | | project\_number | | | service\_account\_display\_name | The display name of the default service account | | service\_account\_email | The email of the default service account | @@ -424,4 +426,4 @@ versions][release-new-version]. [terraform-provider-gsuite]: https://github.com/DeviaVir/terraform-provider-gsuite [glossary]: /docs/GLOSSARY.md [release-new-version]: https://www.terraform.io/docs/registry/modules/publish.html#releasing-new-versions -[application-default-credentials]: https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application +[application-default-credentials]: https://cloud.google.com/docs/authentication/production#providing_credentials_to_your_application \ No newline at end of file diff --git a/modules/core_project_factory/README.md b/modules/core_project_factory/README.md index 2602fbefa..977f05349 100644 --- a/modules/core_project_factory/README.md +++ b/modules/core_project_factory/README.md @@ -21,7 +21,8 @@ | manage\_group | A toggle to indicate if a G Suite group should be managed. | string | `"false"` | no | | name | The name for the project | string | n/a | yes | | org\_id | The organization ID. | string | n/a | yes | -| random\_project\_id | Enables project random id generation | string | `"false"` | no | +| project\_id | If provided, the project uses the given project ID. Mutually exclusive with random_project_id being true. | string | `""` | no | +| random\_project\_id | Enables project random id generation. Mutually exclusive with project_id being non-empty. | string | `"false"` | no | | sa\_role | A role to give the default Service Account for the project (defaults to none) | string | `""` | no | | shared\_vpc | The ID of the host project which hosts the shared VPC | string | `""` | no | | shared\_vpc\_subnets | List of subnets fully qualified subnet IDs (ie. projects/$project_id/regions/$region/subnetworks/$subnet_id) | list | `` | no | @@ -38,6 +39,7 @@ | project\_bucket\_self\_link | Project's bucket selfLink | | project\_bucket\_url | Project's bucket url | | project\_id | | +| project\_name | | | project\_number | | | service\_account\_display\_name | The display name of the default service account | | service\_account\_email | The email of the default service account | diff --git a/modules/gsuite_enabled/README.md b/modules/gsuite_enabled/README.md index 799024a39..2fdad8030 100644 --- a/modules/gsuite_enabled/README.md +++ b/modules/gsuite_enabled/README.md @@ -76,7 +76,8 @@ The roles granted are specifically: | lien | Add a lien on the project to prevent accidental deletion | string | `"false"` | no | | name | The name for the project | string | n/a | yes | | org\_id | The organization ID. | string | n/a | yes | -| random\_project\_id | Enables project random id generation | string | `"false"` | no | +| project\_id | If provided, the project uses the given project ID. Mutually exclusive with random_project_id being true. | string | `""` | no | +| random\_project\_id | Enables project random id generation. Mutually exclusive with project_id being non-empty. | string | `"false"` | no | | sa\_group | A GSuite group to place the default Service Account for the project in | string | `""` | no | | sa\_role | A role to give the default Service Account for the project (defaults to none) | string | `""` | no | | shared\_vpc | The ID of the host project which hosts the shared VPC | string | `""` | no | @@ -93,6 +94,7 @@ The roles granted are specifically: | project\_bucket\_self\_link | Project's bucket selfLink | | project\_bucket\_url | Project's bucket url | | project\_id | | +| project\_name | | | project\_number | | | service\_account\_display\_name | The display name of the default service account | | service\_account\_email | The email of the default service account | diff --git a/test/fixtures/full/README.md b/test/fixtures/full/README.md index 7c03eb774..2c7b93637 100644 --- a/test/fixtures/full/README.md +++ b/test/fixtures/full/README.md @@ -32,6 +32,7 @@ | group\_role | | | gsuite\_admin\_account | | | project\_id | | +| project\_name | | | project\_number | | | region | | | sa\_role | | diff --git a/test/fixtures/minimal/README.md b/test/fixtures/minimal/README.md index 8898b5c59..323674e52 100644 --- a/test/fixtures/minimal/README.md +++ b/test/fixtures/minimal/README.md @@ -30,6 +30,7 @@ | group\_role | | | gsuite\_admin\_account | | | project\_id | | +| project\_name | | | project\_number | | | region | | | sa\_role | |