https://github.com/launchbynttdata/tf-aws-module_primitive-iam_policy
https://github.com/launchbynttdata/tf-aws-module_primitive-iam_policy
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/launchbynttdata/tf-aws-module_primitive-iam_policy
- Owner: launchbynttdata
- License: apache-2.0
- Created: 2025-10-23T13:30:09.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-03-19T19:15:22.000Z (2 months ago)
- Last Synced: 2026-03-20T10:34:08.457Z (2 months ago)
- Language: Go
- Size: 157 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Notice: NOTICE
Awesome Lists containing this project
README
# tf-aws-module_primitive-iam_policy
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.0 |
| [aws](#requirement\_aws) | ~> 5.0 |
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 5.100.0 |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_iam_policy.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |
| [aws_iam_policy_document.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [policy\_name](#input\_policy\_name) | The name of the IAM policy. | `string` | n/a | yes |
| [tags](#input\_tags) | A map of tags to assign to the IAM policy. | `map(string)` | `{}` | no |
| [policy\_statement](#input\_policy\_statement) | The policy statements, supporting optional IAM conditions. |
map(object({
sid = string
actions = list(string)
resources = list(string)
conditions = optional(list(object({
test = string
variable = string
values = list(string)
})))
})) | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [policy\_arn](#output\_policy\_arn) | The ARN of the IAM policy. |
| [policy\_name](#output\_policy\_name) | The name of the IAM policy. |
| [policy\_id](#output\_policy\_id) | The ID of the IAM policy. |
| [policy\_document](#output\_policy\_document) | The policy document in JSON format. |
| [policy\_tags](#output\_policy\_tags) | The tags applied to the IAM policy. |