Skip to content

Commit 3a5b77a

Browse files
authored
Merge pull request #5 from speee/add-description
Add description
2 parents 7d04bcc + 36061fd commit 3a5b77a

File tree

4 files changed

+54
-3
lines changed

4 files changed

+54
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Local .terraform directories
22
**/.terraform/*
33

4+
# Terraform lockfile
5+
.terraform.lock.hcl
6+
47
# .tfstate files
58
*.tfstate
69
*.tfstate.*

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
11
# terraform-aws-sso-assignment
22

33
Terraform module which creates AWS SSO assignments on AWS.
4+
5+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
6+
## Requirements
7+
8+
| Name | Version |
9+
|------|---------|
10+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.7 |
11+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.24.0 |
12+
13+
## Providers
14+
15+
| Name | Version |
16+
|------|---------|
17+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 3.52.0 |
18+
19+
## Modules
20+
21+
No modules.
22+
23+
## Resources
24+
25+
| Name | Type |
26+
|------|------|
27+
| [aws_ssoadmin_account_assignment.groups](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssoadmin_account_assignment) | resource |
28+
| [aws_ssoadmin_account_assignment.users](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssoadmin_account_assignment) | resource |
29+
| [aws_identitystore_group.groups](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/identitystore_group) | data source |
30+
| [aws_identitystore_user.users](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/identitystore_user) | data source |
31+
| [aws_ssoadmin_permission_set.permission_sets](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ssoadmin_permission_set) | data source |
32+
33+
## Inputs
34+
35+
| Name | Description | Type | Default | Required |
36+
|------|-------------|------|---------|:--------:|
37+
| <a name="input_assignments"></a> [assignments](#input\_assignments) | Configuration variable for account assignments. | `map(map(map(list(string))))` | n/a | yes |
38+
| <a name="input_identity_store_id"></a> [identity\_store\_id](#input\_identity\_store\_id) | The Identity Store ID associated with the Single Sign-On Instance. | `string` | n/a | yes |
39+
| <a name="input_instance_arn"></a> [instance\_arn](#input\_instance\_arn) | The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed. | `string` | n/a | yes |
40+
| <a name="input_organization_accounts"></a> [organization\_accounts](#input\_organization\_accounts) | List of information of accounts which belongs to AWS Organizations. | <pre>list(object({<br> arn = string<br> email = string<br> id = string<br> name = string<br> }))</pre> | n/a | yes |
41+
42+
## Outputs
43+
44+
No outputs.
45+
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

variables.tf

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
variable "instance_arn" {
2-
type = string
2+
type = string
3+
description = "The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed."
34
}
45

56
variable "identity_store_id" {
6-
type = string
7+
type = string
8+
description = "The Identity Store ID associated with the Single Sign-On Instance."
79
}
810

911
variable "organization_accounts" {
@@ -13,8 +15,10 @@ variable "organization_accounts" {
1315
id = string
1416
name = string
1517
}))
18+
description = "List of information of accounts which belongs to AWS Organizations."
1619
}
1720

1821
variable "assignments" {
19-
type = map(map(map(list(string))))
22+
type = map(map(map(list(string))))
23+
description = "Configuration variable for account assignments."
2024
}

versions.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
terraform {
2+
required_version = ">= 0.13.7"
3+
24
required_providers {
35
aws = {
46
source = "hashicorp/aws"

0 commit comments

Comments
 (0)