Skip to content

Commit a0e0645

Browse files
committed
chore(iam): remove guest user support
1 parent 78ecf16 commit a0e0645

File tree

6 files changed

+267
-384
lines changed

6 files changed

+267
-384
lines changed

docs/resources/iam_user.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,7 @@ For more information, see the [API documentation](https://www.scaleway.com/en/de
1010

1111
## Example Usage
1212

13-
### Guest user
14-
15-
```terraform
16-
resource "scaleway_iam_user" "guest" {
17-
18-
tags = ["test-tag"]
19-
}
20-
```
21-
22-
### Member user
13+
### User
2314

2415
```terraform
2516
resource "scaleway_iam_user" "member" {
@@ -31,8 +22,6 @@ resource "scaleway_iam_user" "member" {
3122
}
3223
```
3324

34-
When `username` is set, the user is created as a [Member](https://www.scaleway.com/en/docs/iam/concepts/#member). Otherwise, it is created as a [Guest](https://www.scaleway.com/en/docs/iam/concepts/#guest).
35-
3625
### Multiple users
3726

3827
```terraform
@@ -57,7 +46,7 @@ resource "scaleway_iam_user" "user" {
5746

5847
- `tags` - (Optional) The tags associated with the user.
5948

60-
- `username` - (Optional) The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
49+
- `username` - (Required) The username of the IAM user.
6150

6251
- `password` - The password for first access.
6352

@@ -73,8 +62,6 @@ resource "scaleway_iam_user" "user" {
7362

7463
- `locale` - The user's locale (e.g., en_US).
7564

76-
Important: When creating a Guest user, all arguments are ignored, except for `organization_id`, `email` and `tags`.
77-
7865
## Attributes Reference
7966

8067
In addition to all arguments above, the following attributes are exported:

0 commit comments

Comments
 (0)