https://github.com/escapace/terraform-aws-s3-object
https://github.com/escapace/terraform-aws-s3-object
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/escapace/terraform-aws-s3-object
- Owner: escapace
- License: apache-2.0
- Created: 2023-06-18T15:27:53.000Z (about 3 years ago)
- Default Branch: trunk
- Last Pushed: 2024-12-14T09:48:56.000Z (over 1 year ago)
- Last Synced: 2025-02-06T13:18:38.439Z (over 1 year ago)
- Language: HCL
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Inputs
| Name | Description | Type | Default | Required |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ------- | :------: |
| bucket | The name of the bucket to put the file in. Alternatively, an S3 access point ARN can be specified. | `string` | n/a | yes |
| key | The name of the object once it is in the bucket. | `string` | n/a | yes |
| path | Path to local file. | `string` | n/a | yes |
| region | The AWS region. | `string` | n/a | yes |
| acl | The canned ACL to apply. Valid values are private, public-read, public-read-write, aws-exec-read, authenticated-read, bucket-owner-read, and bucket-owner-full-control. Defaults to private. | `string` | `null` | no |
| cache_control | Specifies caching behavior along the request/reply chain. | `string` | `null` | no |
| content_disposition | Specifies presentational information for the object. | `string` | `null` | no |
| content_encoding | Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. | `string` | `null` | no |
| content_language | The language the content is in e.g. en-US or en-GB. | `string` | `null` | no |
| content_type | A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input. | `string` | `null` | no |
| metadata | A map of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-, note that only lowercase label are currently supported by the AWS Go API). | `map(string)` | `{}` | no |
| storage_class | Specifies the desired Storage Class for the object. Can be either STANDARD, REDUCED_REDUNDANCY, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, or STANDARD_IA. Defaults to STANDARD. | `string` | `null` | no |
| tags | A map of tags to assign to the object. | `map(string)` | `{}` | no |
| website_redirect | Specifies a target URL for website redirect. | `string` | `null` | no |
## Resources
| Name | Type |
| ---------------------------------------------------------------------------------------------------------- | -------- |
| [null_resource.cp](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [null_resource.tag](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
## Requirements
| Name | Version |
| --------- | ------- |
| terraform | >=1.9.8 |
| null | >=3.2.3 |