50 lines
2.1 KiB
Markdown
50 lines
2.1 KiB
Markdown
|
<!-- This readme file is generated with terraform-docs -->
|
||
|
## Requirements
|
||
|
|
||
|
| Name | Version |
|
||
|
|------|---------|
|
||
|
| terraform | >= 1.3.0 |
|
||
|
| aws | >= 5.0 |
|
||
|
|
||
|
## Providers
|
||
|
|
||
|
| Name | Version |
|
||
|
|------|---------|
|
||
|
| aws | >= 5.0 |
|
||
|
| random | n/a |
|
||
|
|
||
|
## Modules
|
||
|
|
||
|
No modules.
|
||
|
|
||
|
## Resources
|
||
|
|
||
|
| Name | Type |
|
||
|
|------|------|
|
||
|
| [aws_iam_role.replication-role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
|
||
|
| [aws_iam_role_policy.role-policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy) | resource |
|
||
|
| [aws_s3_bucket_replication_configuration.replication-config](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_replication_configuration) | resource |
|
||
|
| [random_id.rid](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/id) | resource |
|
||
|
| [aws_iam_policy_document.assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
|
||
|
| [aws_iam_policy_document.replication-role-policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
|
||
|
| [aws_s3_bucket.destination-bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/s3_bucket) | data source |
|
||
|
| [aws_s3_bucket.source-bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/s3_bucket) | data source |
|
||
|
|
||
|
## Inputs
|
||
|
|
||
|
| Name | Description | Type | Default | Required |
|
||
|
|------|-------------|------|------------------|:--------:|
|
||
|
| destination-bucket-account-id | Account id of destination bucket. | `string` | `"111122223333"` | no |
|
||
|
| destination-bucket-encryption-key-arn | Encryption key arn for destination bucket | `string` | n/a | yes |
|
||
|
| destination-bucket-name | Name of destination bucket | `string` | n/a | yes |
|
||
|
| source-bucket-name | Name of source s3 bucket | `string` | n/a | yes |
|
||
|
|
||
|
## Outputs
|
||
|
|
||
|
| Name | Description |
|
||
|
|------|-------------|
|
||
|
| replication-role-arn | n/a |
|
||
|
|
||
|
---
|
||
|
## Authorship
|
||
|
This module was developed by xpk.
|