Skip to content

Commit

Permalink
Merge pull request #27 from aws-ia/fix_0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
prabirsekhri authored Sep 13, 2024
2 parents 111034d + 05f5a52 commit 798960e
Show file tree
Hide file tree
Showing 19 changed files with 105 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .header.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This repository contains Terraform code which creates resources required to run a [DataSync task](https://https://aws.amazon.com/datasync/) to sync data within AWS and from on premises to AWS or vise-versa.

![AWS Datasync](./datasync-main.png)

AWS DataSync supports a wide variety of file and object storage systems on-premise and in AWS to facilitate data transfer.

For on-premises storage transfers : DataSync works with the following on-premises storage systems:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

This repository contains Terraform code which creates resources required to run a [DataSync task](https://https://aws.amazon.com/datasync/) to sync data within AWS and from on premises to AWS or vise-versa.

![AWS Datasync](./datasync-main.png)

AWS DataSync supports a wide variety of file and object storage systems on-premise and in AWS to facilitate data transfer.

For on-premises storage transfers : DataSync works with the following on-premises storage systems:
Expand Down
3 changes: 1 addition & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
v0.0.3

v0.0.4
Binary file added datasync-main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions examples/efs-to-s3/.header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# EFS to S3

This example demonstrates how to create an EFS to S3 replication scenario using the AWS DataSync module.

![AWS Datasync EFS to S3](./datasync-examples-efs-to-s3.png)
20 changes: 20 additions & 0 deletions examples/efs-to-s3/.terraform-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
formatter: markdown
header-from: .header.md
settings:
anchor: true
color: true
default: true
escape: true
html: true
indent: 2
required: true
sensitive: true
type: true

sort:
enabled: true
by: required

output:
file: README.md
mode: replace
10 changes: 8 additions & 2 deletions examples/efs-to-s3/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<!-- BEGIN_TF_DOCS -->
# EFS to S3

This example demonstrates how to create an EFS to S3 replication scenario using the AWS DataSync module.

![AWS Datasync EFS to S3](./datasync-examples-efs-to-s3.png)

## Requirements

| Name | Version |
Expand All @@ -11,8 +17,8 @@

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72.0 |
| <a name="provider_random"></a> [random](#provider\_random) | n/a |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.65.0 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.6.2 |

## Modules

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/efs-to-s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ module "backup_tasks" {
posix_permissions = "NONE"
uid = "NONE"
gid = "NONE"
verify_mode = "ONLY_FILES_TRANSFERRED"
}
schedule_expression = "cron(0 6 ? * MON-FRI *)" # Run at 6:00 am (UTC) every Monday through Friday:
}
Expand Down
5 changes: 5 additions & 0 deletions examples/s3-to-s3-cross-account/.header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# S3 to S3 Cross account

This example demonstrates how to create a S3 to S3 replication scenario across AWS Accounts using the AWS DataSync module.

![AWS Datasync S3 to S3 Cross Account](./datasync-examples-cross-account.png)
20 changes: 20 additions & 0 deletions examples/s3-to-s3-cross-account/.terraform-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
formatter: markdown
header-from: .header.md
settings:
anchor: true
color: true
default: true
escape: true
html: true
indent: 2
required: true
sensitive: true
type: true

sort:
enabled: true
by: required

output:
file: README.md
mode: replace
6 changes: 6 additions & 0 deletions examples/s3-to-s3-cross-account/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<!-- BEGIN_TF_DOCS -->
# S3 to S3 Cross account

This example demonstrates how to create a S3 to S3 replication scenario across AWS Accounts using the AWS DataSync module.

![AWS Datasync S3 to S3 Cross Account](./datasync-examples-cross-account.png)

## Requirements

| Name | Version |
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion examples/s3-to-s3-cross-account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,9 @@ module "backup_tasks" {
posix_permissions = "NONE"
uid = "NONE"
gid = "NONE"
verify_mode = "ONLY_FILES_TRANSFERRED"
}
schedule_expression = "rate(1 hour)" # Run every hour
schedule_expression = "rate(1 days)" # Run daily
includes = {
"filter_type" = "SIMPLE_PATTERN"
"value" = "/projects/important-folder"
Expand Down
5 changes: 5 additions & 0 deletions examples/s3-to-s3/.header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# S3 to S3

This example demonstrates how to create a S3 to S3 replication scenario using the AWS DataSync module.

![AWS Datasync S3 to S3](./datasync-examples-S3.png)
20 changes: 20 additions & 0 deletions examples/s3-to-s3/.terraform-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
formatter: markdown
header-from: .header.md
settings:
anchor: true
color: true
default: true
escape: true
html: true
indent: 2
required: true
sensitive: true
type: true

sort:
enabled: true
by: required

output:
file: README.md
mode: replace
6 changes: 6 additions & 0 deletions examples/s3-to-s3/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<!-- BEGIN_TF_DOCS -->
# S3 to S3

This example demonstrates how to create a S3 to S3 replication scenario using the AWS DataSync module.

![AWS Datasync S3 to S3](./datasync-examples-S3.png)

## Requirements

| Name | Version |
Expand Down
Binary file added examples/s3-to-s3/datasync-examples-S3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion examples/s3-to-s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ module "backup_tasks" {
posix_permissions = "NONE"
uid = "NONE"
gid = "NONE"
verify_mode = "ONLY_FILES_TRANSFERRED"
}
schedule_expression = "rate(1 hour)" # Run every hour
schedule_expression = "rate(1 days)" # Run daily
includes = {
"filter_type" = "SIMPLE_PATTERN"
"value" = "/logs/"
Expand Down

0 comments on commit 798960e

Please sign in to comment.