mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use the default server side encryption instead.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
f9d1eb5656
commit
6759096148
1 changed files with 3 additions and 3 deletions
|
@ -870,7 +870,7 @@ def backup_previous_releases(ctx: Context):
|
|||
},
|
||||
MetadataDirective="COPY",
|
||||
TaggingDirective="COPY",
|
||||
ServerSideEncryption="aws:kms",
|
||||
ServerSideEncryption="AES256",
|
||||
)
|
||||
except ClientError as exc:
|
||||
if "PreconditionFailed" not in str(exc):
|
||||
|
@ -967,7 +967,7 @@ def release(
|
|||
},
|
||||
MetadataDirective="COPY",
|
||||
TaggingDirective="COPY",
|
||||
ServerSideEncryption="aws:kms",
|
||||
ServerSideEncryption="AES256",
|
||||
)
|
||||
except ClientError:
|
||||
log.exception(f"Failed to copy {fpath}")
|
||||
|
@ -1155,7 +1155,7 @@ def release(
|
|||
},
|
||||
MetadataDirective="COPY",
|
||||
TaggingDirective="COPY",
|
||||
ServerSideEncryption="aws:kms",
|
||||
ServerSideEncryption="AES256",
|
||||
)
|
||||
except ClientError:
|
||||
log.exception(f"Failed to copy {fpath}")
|
||||
|
|
Loading…
Add table
Reference in a new issue