Skip to content

ydvsailendar/s3statelocking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Command

# create s3 bucket
aws s3api create-bucket --bucket <bucket_name> --profile <aws_profile_name> --region <aws_region> --create-bucket-configuration LocationConstraint=<aws_region>
# enable versioning in the created bucket
aws s3api put-bucket-versioning --bucket <bucket_name> --versioning-configuration Status=Enabled --profile <aws_profile_name> --region <aws_region>

TODO

Ensure you create a bucket with the same name specificed in the backend.tf for the bucket and make sure your bucket is unique

About

lock you state files using s3 native state locking and say goodbye to dynamodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages