https://github.com/subhamay-cloudworks/0032-allium-tf
Creating a S3 Bucket with Lifecycle Policy Configuration using Terraform
https://github.com/subhamay-cloudworks/0032-allium-tf
aws-s3 hashicorp-terraform s3-lifecycle-policy
Last synced: 7 months ago
JSON representation
Creating a S3 Bucket with Lifecycle Policy Configuration using Terraform
- Host: GitHub
- URL: https://github.com/subhamay-cloudworks/0032-allium-tf
- Owner: subhamay-cloudworks
- Created: 2023-07-03T14:23:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T15:58:12.000Z (about 3 years ago)
- Last Synced: 2025-04-07T12:48:33.101Z (over 1 year ago)
- Topics: aws-s3, hashicorp-terraform, s3-lifecycle-policy
- Language: HCL
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Allium: S3 Lifecycle Policy Configuration
## Description
This project is a demonstration of creating a S3 bucket with lifecycle policy configuration using Terraform

## Getting Started
### Dependencies
* Create a Customer Managed KMS Key in the region where you want to create the stack..
* Modify the KMS Key Policy to let the IAM user encrypt / decrypt using any resource using the created KMS Key.
### Installing
* Clone the repository in a local hard drive.
* Modify the terraform.tfvars file with appropriate values.
* From the main project diretory submit the following commands:
```
terraform init
terraform validate
terraform plan
terraform apply -auto-approve
# To delete the stack
terraform destroy -auto-approve
```
### Executing program
* Upload a test file either using CLI or S3 console:

## Help
Post message in my blog (https://blog.subhamay.com)
## Authors
Contributors names and contact info
Subhamay Bhattacharyya - [subhamay.aws@gmail.com](https://blog.subhamay.com)
## Version History
* 0.1
* Initial Release
## License
This project is licensed under Subhamay Bhattacharyya. All Rights Reserved.
## Acknowledgments
Inspiration, code snippets, etc.
* [Stephane Maarek ](https://www.linkedin.com/in/stephanemaarek/)
* [Neal Davis](https://www.linkedin.com/in/nealkdavis/)
* [Adrian Cantrill](https://www.linkedin.com/in/adriancantrill/)