-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BucketEncryption property not defined #275
Comments
Hmm, SAM is not supposed to touch any resources that don't start with prefix: "AWS::Serverless::". The following template deployed fine for me. AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
Bucket:
Type: AWS::S3::Bucket
DeletionPolicy: Retain
Properties:
BucketEncryption:
ServerSideEncryptionConfiguration:
- ServerSideEncryptionByDefault:
SSEAlgorithm: AES256 Can you give a bit more about the template? Is this the only resource in the template? Are you deploying to existing stack or a new stack? Which region? |
This is the entire template:
I am deploying to an existing stack in eu-central-1. |
Ah now I see the problem. Yes, this is a bug in SAM. We will get it fixed as soon as possible. |
Glad you spotted it, I thought I was crazy. Looking forward to the patch! |
+1 |
1 similar comment
+1 |
Oh, this should be fixed now :) |
Adding the property
BucketEncryption
to a resource of typeAWS::S3::Bucket
results in the following error when deploying:The relevant section of the template file is provided below:
Is there an error in the template or is this property not supported yet?
The text was updated successfully, but these errors were encountered: