Skip to content

Commit

Permalink
docs: update usages and inputs sections
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtoj committed Jul 31, 2023
1 parent 3661487 commit 8dc3bb7
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ be determined in advance.

```hcl
module "s3_zip_uploader" {
source = "sgtoj/s3-zip-uploader/aws"
source = "cruxstack/s3-zip-uploader/aws"
version = "x.x.x"
artifact_src_local_path = "/path/to/yourfile.zip"
artifact_dst_bucket_arn = "arn:aws:s3:::yourdestinationbucket"
}
```

## Requirements

- Terraform 0.13 or newer
- AWS provider 4.0 or newer

## Inputs

This module uses the `cloudposse/label/null` module for naming and tagging
resources. As such, it also includes a `context.tf` file with additional
optional variables you can set. Refer to the [`cloudposse/label` documentation](https://registry.terraform.io/modules/cloudposse/label/null/latest)
for more details on these variables.

| Name | Description | Type | Default | Required |
|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|-----------------------------|----------|
| `artifact_src_bucket_arn` | The ARN of the S3 bucket where the source artifact zip file will be stored. If not provided, the source bucket is assumed to be the same as the destination bucket. | string | `""` | No |
Expand All @@ -44,13 +44,6 @@ module "s3_zip_uploader" {
| `artifact_dst_bucket_arn` | The ARN of the destination S3 bucket where the contents of the zip file will be uploaded. | string | N/A | Yes |
| `artifact_dst_bucket_path` | The path within the destination S3 bucket where the contents of the zip file will be uploaded. | string | `"/"` | No |

### Note

This module uses the `cloudposse/label/null` module for naming and tagging
resources. As such, it also includes a `context.tf` file with additional
optional variables you can set. Refer to the [`cloudposse/label` documentation](https://registry.terraform.io/modules/cloudposse/label/null/latest)
for more details on these variables.

## Outputs

_This module does not currently provide any outputs._
Expand Down

0 comments on commit 8dc3bb7

Please sign in to comment.