Closed lissmeister closed 11 months ago
Enhanced Bucket Region Check A new feature has been integrated into the software that enhances the checking of the bucket region before executing commands on AWS S3. This leads to more reliability and integrity when interacting with AWS resources.
New Function Additions
Several new functions, such as findDistibutionForBucket()
, getAndUpdateDistributionConfig()
, listCloudFrontDistributions()
, putBucketPolicy()
, and UpdateCloudFrontOriginAccessIdentity()
, have been added. This enriches the functionality of our software and provides more flexibility to manage AWS resources.
Update in Bucket Access Policy Management
Alterations were made to the function updateBucketAccessPolicyAndCreateIAMUser()
. The function now locates matching distributions and adds a Cloudfront access policy to them, ensuring a more secure connection between our software and AWS.
Improved AWS Setup
The setupAWS()
function has been updated with added code to create Cloudfront distribution, update bucket policies, and enable versioning. This facilitates more efficient setup of AWS-related tasks.
Function Modifications for Full Project Name
The functions createIAMUserIfNotExists()
and getAWSKeys()
have been modified to include the full project name as a parameter. This results in unique and easily identifiable AWS resources, aiding better resource management.
Additional Error Handling The new error handling mechanisms for certain functions mean the application is more robust and-resistant to potential inaccuracies or failures, providing stability in the tasks at hand.
Make sure buckets are in the correct region when executing commands on them Make sure proper origin access identity exists on the cloudfront distribution responsible for getting objects from the bucket