From a7e77ea994f6a2d2c9bb8609295e5be35d674587 Mon Sep 17 00:00:00 2001 From: Sean Holung Date: Fri, 1 Nov 2024 15:30:38 -0700 Subject: [PATCH] fixes --- .../aws-s3websitebucket-oai-bucketpolicy-csharp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/programs/aws-s3websitebucket-oai-bucketpolicy-csharp/Program.cs b/static/programs/aws-s3websitebucket-oai-bucketpolicy-csharp/Program.cs index 9cfe781e09cf..2e5d8cae3081 100644 --- a/static/programs/aws-s3websitebucket-oai-bucketpolicy-csharp/Program.cs +++ b/static/programs/aws-s3websitebucket-oai-bucketpolicy-csharp/Program.cs @@ -42,7 +42,7 @@ var bucketPolicy = new BucketPolicy("cloudfront-bucket-policy", new BucketPolicyArgs { - Bucket = bucket.BucketName, + Bucket = bucket.Id, Policy = Output.Tuple(bucket.Arn, originAccessIdentity.IamArn) .Apply(t => {