ForgTech company wanna test your ability to type down a clean code by Deploying the structure of very simple resources. This will help you to build a good reputation.
-
S3 Bucket:
- Enable versioning.
- Set bucket ownership to
BucketOwnerEnforced
to ensure that only the bucket owner has full access to the objects.
-
IAM User:
- Create an IAM user named "Mohamed".
- Provide access to upload files into the
/log
directory of the S3 bucket via a bucket policy.
-
Destruction of S3 Bucket:
- Ensure that the S3 bucket can be destroyed using the
terraform destroy
command, even if it is not empty.
- Ensure that the S3 bucket can be destroyed using the