## Requirements | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | ~> 1.8.0 | | [aws](#requirement\_aws) | ~> 5.49.0 | ## Providers | Name | Version | |------|---------| | [aws](#provider\_aws) | 5.49.0 | ## Modules No modules. ## Resources | Name | Type | |------|------| | [aws_dynamodb_table.terraform_lock](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table) | resource | | [aws_iam_access_key.iac](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_access_key) | resource | | [aws_iam_user.iac](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user) | resource | | [aws_iam_user_policy_attachment.iac_admin_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_user_policy_attachment) | resource | | [aws_kms_alias.iac](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_alias) | resource | | [aws_kms_key.iac](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key) | resource | | [aws_s3_bucket.terraform_state](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket) | resource | | [aws_s3_bucket_lifecycle_configuration.terraform_state](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_lifecycle_configuration) | resource | | [aws_s3_bucket_versioning.terraform_state](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning) | resource | | [aws_ssm_parameter.outputs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource | | [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source | | [aws_iam_policy.adminstrator_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy) | data source | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [aws\_region](#input\_aws\_region) | aws region where resources will be created | `string` | n/a | yes | | [org\_name](#input\_org\_name) | organization name; used in various resource identifiers | `string` | n/a | yes | | [dynamodb\_table\_name\_slug](#input\_dynamodb\_table\_name\_slug) | base name slug of the dynamodb table to create; this prefixed by `var.org_name` | `string` | `"terraform-locks"` | no | | [git\_project](#input\_git\_project) | git source of this project; used in resource tags | `string` | `""` | no | | [iac\_username](#input\_iac\_username) | IAM user to create with admin access; for use by subsequent IaC projects | `string` | `"iac"` | no | | [kms\_alias](#input\_kms\_alias) | alias of the kms key to create | `string` | `"iac"` | no | | [parameter\_store\_path](#input\_parameter\_store\_path) | the parameter store path where outputs will be added for reference | `string` | `"/iac/terraform/pre-base/"` | no | | [s3\_bucket\_name\_slug](#input\_s3\_bucket\_name\_slug) | base name slug of the s3 bucket to create; this prefixed by `var.org_name` | `string` | `"terraform-states"` | no | | [s3\_bucket\_use\_random\_suffix](#input\_s3\_bucket\_use\_random\_suffix) | whether to add random suffix to bucket name, or assume the generated name is unique | `bool` | `false` | no | | [s3\_enable\_versioning](#input\_s3\_enable\_versioning) | whether to enable object versioning on the created bucket | `bool` | `true` | no | | [s3\_version\_limit](#input\_s3\_version\_limit) | how many noncurrent versions of s3 objects to retain; max 100 | `number` | `100` | no | ## Outputs | Name | Description | |------|-------------| | [aws\_account\_id](#output\_aws\_account\_id) | n/a | | [dynamodb\_table\_arn](#output\_dynamodb\_table\_arn) | n/a | | [dynamodb\_table\_name](#output\_dynamodb\_table\_name) | n/a | | [iam\_user\_access\_key\_id](#output\_iam\_user\_access\_key\_id) | n/a | | [iam\_user\_access\_key\_secret](#output\_iam\_user\_access\_key\_secret) | n/a | | [iam\_user\_arn](#output\_iam\_user\_arn) | n/a | | [iam\_user\_name](#output\_iam\_user\_name) | n/a | | [kms\_key\_alias](#output\_kms\_key\_alias) | n/a | | [kms\_key\_arn](#output\_kms\_key\_arn) | n/a | | [kms\_key\_id](#output\_kms\_key\_id) | n/a | | [org\_name](#output\_org\_name) | n/a | | [s3\_bucket\_name](#output\_s3\_bucket\_name) | n/a | | [ssm\_parameter\_store\_path](#output\_ssm\_parameter\_store\_path) | n/a |