Skip to content

Commit

Permalink
docs: generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wanisfahmyDE committed Jan 8, 2025
1 parent 13678bf commit 5c18c87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/resources/aws_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,9 @@ Required:
- `email` (String) Email address of the user. If you use automatic provisioning this email address should already exist in AWS SSO.
- `first_name` (String) First name of the user.
- `last_name` (String) Last name of the user.

Optional:

- `instance_arn` (String) ARN of the SSO instance. Required if remove_account_assignment_on_update is enabled.
- `principal_id` (String) Principal ID of the user. Required if remove_account_assignment_on_update is enabled.
- `remove_account_assignment_on_update` (Boolean) If enabled, this will remove the account assignment for the old SSO user when the resource is updated.
2 changes: 2 additions & 0 deletions internal/provider/resource_aws_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func resourceAWSAccount() *schema.Resource {
Description: "ARN of the SSO instance. Required if remove_account_assignment_on_update is enabled.",
Type: schema.TypeString,
Required: false,
Optional: true,
},
"remove_account_assignment_on_update": {
Description: "If enabled, this will remove the account assignment for the old SSO user when the resource is updated.",
Expand All @@ -90,6 +91,7 @@ func resourceAWSAccount() *schema.Resource {
Description: "Principal ID of the user. Required if remove_account_assignment_on_update is enabled.",
Type: schema.TypeString,
Required: false,
Optional: true,
},
},
},
Expand Down

0 comments on commit 5c18c87

Please sign in to comment.