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
* deprecate members field and make it valid only in creation
* remove owner and members from datasource
* Revert "remove owner and members from datasource"
This reverts commit 31d2302.
* update acc test
* add creation limitation in members description
---------
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@stackit.cloud>
-`owner_email` (String) Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
33
33
-`parent_container_id` (String) Parent resource identifier. Both container ID (user-friendly) and UUID are supported
34
34
35
35
### Optional
36
36
37
37
-`labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}
38
-
-`owner_email` (String) Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
"main": "Resource Manager project data source schema. To identify the project, you need to provider either project_id or container_id. If you provide both, project_id will be used.",
106
-
"id": "Terraform's internal data source. ID. It is structured as \"`container_id`\".",
107
-
"project_id": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.",
"parent_container_id": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported",
110
-
"name": "Project name.",
111
-
"labels": `Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`,
112
-
"owner_email": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.",
113
-
"members": "The members assigned to the project. At least one subject needs to be a user, and not a client or service account.",
114
-
"members.role": fmt.Sprintf("The role of the member in the project. Legacy roles (%s) are not supported.", strings.Join(utils.QuoteValues(utils.LegacyProjectRoles), ", ")),
115
-
"members.subject": "Unique identifier of the user, service account or client. This is usually the email address for users or service accounts, and the name in case of clients.",
105
+
"main": "Resource Manager project data source schema. To identify the project, you need to provider either project_id or container_id. If you provide both, project_id will be used.",
106
+
"id": "Terraform's internal data source. ID. It is structured as \"`container_id`\".",
107
+
"project_id": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.",
"parent_container_id": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported",
110
+
"name": "Project name.",
111
+
"labels": `Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`,
112
+
"owner_email": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.",
113
+
"members": "The members assigned to the project. At least one subject needs to be a user, and not a client or service account. This value is only considered during creation. Changing it afterwards will have no effect.",
114
+
"members.role": fmt.Sprintf("The role of the member in the project. Legacy roles (%s) are not supported.", strings.Join(utils.QuoteValues(utils.LegacyProjectRoles), ", ")),
115
+
"members.subject": "Unique identifier of the user, service account or client. This is usually the email address for users or service accounts, and the name in case of clients.",
116
+
"members_deprecation_message": "The \"members\" field has been deprecated in favor of the \"owner_email\" field. Please use the \"owner_email\" field to assign the owner role to a user.",
"main": "Resource Manager project resource schema. To use this resource, it is required that you set the service account email in the provider configuration.",
151
-
"id": "Terraform's internal resource ID. It is structured as \"`container_id`\".",
152
-
"project_id": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.",
"parent_container_id": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported",
155
-
"name": "Project name.",
156
-
"labels": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}",
157
-
"owner_email": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.",
158
-
"members": "The members assigned to the project. At least one subject needs to be a user, and not a client or service account.",
159
-
"members.role": fmt.Sprintf("The role of the member in the project. Possible values include, but are not limited to: `owner`, `editor`, `reader`. Legacy roles (%s) are not supported.", strings.Join(utils.QuoteValues(utils.LegacyProjectRoles), ", ")),
160
-
"members.subject": "Unique identifier of the user, service account or client. This is usually the email address for users or service accounts, and the name in case of clients.",
150
+
"main": "Resource Manager project resource schema. To use this resource, it is required that you set the service account email in the provider configuration.",
151
+
"id": "Terraform's internal resource ID. It is structured as \"`container_id`\".",
152
+
"project_id": "Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.",
"parent_container_id": "Parent resource identifier. Both container ID (user-friendly) and UUID are supported",
155
+
"name": "Project name.",
156
+
"labels": "Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}",
157
+
"owner_email": "Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.",
158
+
"members": "The members assigned to the project. At least one subject needs to be a user, and not a client or service account. This value is only considered during creation. Changing it afterwards will have no effect.",
159
+
"members.role": fmt.Sprintf("The role of the member in the project. Possible values include, but are not limited to: `owner`, `editor`, `reader`. Legacy roles (%s) are not supported.", strings.Join(utils.QuoteValues(utils.LegacyProjectRoles), ", ")),
160
+
"members.subject": "Unique identifier of the user, service account or client. This is usually the email address for users or service accounts, and the name in case of clients.",
161
+
"members_deprecation_message": "The \"members\" field has been deprecated in favor of the \"owner_email\" field. Please use the \"owner_email\" field to assign the owner role to a user.",
0 commit comments