Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaiBer committed Oct 31, 2024
1 parent ef267d9 commit 514c5a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/@winglang/platform-awscdk/src/website.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class Website extends cloud.Website implements IAwsWebsite {
constructor(scope: Construct, id: string, props: cloud.WebsiteProps) {
super(scope, id, props);

this.bucket = createEncryptedBucket(this, false, "WebsiteBucket");
this.bucket = createEncryptedBucket(this, false, false, "WebsiteBucket");

new BucketDeployment(this, "BucketWebsiteConfiguration", {
destinationBucket: this.bucket,
Expand Down
2 changes: 1 addition & 1 deletion packages/@winglang/sdk/src/target-sim/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class Bucket extends cloud.Bucket implements ISimulatorResource {
public toSimulator(): ToSimulatorOutput {
const props: BucketSchema = {
public: this.public,
forceDeploy: this.forceDestroy,
forceDestroy: this.forceDestroy,
initialObjects: this.initialObjects,
topics: this.convertTopicsToHandles(),
};
Expand Down
2 changes: 1 addition & 1 deletion packages/@winglang/sdk/src/target-tf-aws/website.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class Website extends cloud.Website implements aws.IAwsWebsite {
constructor(scope: Construct, id: string, props: aws.AwsWebsiteProps) {
super(scope, id, props);

this.bucket = createEncryptedBucket(this, false, "WebsiteBucket");
this.bucket = createEncryptedBucket(this, false, false,"WebsiteBucket");

new S3BucketWebsiteConfiguration(this, "BucketWebsiteConfiguration", {
bucket: this.bucket.bucket,
Expand Down
2 changes: 1 addition & 1 deletion packages/@winglang/sdk/src/target-tf-azure/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class Bucket extends cloud.Bucket {
name: storageContainerName,
storageAccountName: this.storageAccount.name,
containerAccessType: this.public ? "blob" : "private",
rm_delete: this.forceDestroy,
rmDelete: this.forceDestroy,
});
}

Expand Down

0 comments on commit 514c5a2

Please sign in to comment.