-
Notifications
You must be signed in to change notification settings - Fork 880
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
Update aws-ts-static-website to BucketV2 #1699
Conversation
🍹 The Update for pulumi/k8s-ci-cluster/9a4a89304bd82f376f7ee959e7eda230d68f253f-201 was successful. Resource Changes Name Type Operation
+ primary-node-pool gcp:container/nodePool:NodePool create
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-9a4a89304bd82f376f7ee959e7eda230d68f253f-201 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
|
🍹 The Destroy for pulumi/k8s-ci-cluster/9a4a89304bd82f376f7ee959e7eda230d68f253f-201 was successful. Resource Changes Name Type Operation
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
- multicloud pulumi-kubernetes:ci:GkeCluster delete
- password random:index/randomPassword:RandomPassword delete
- k8s-ci-cluster-9a4a89304bd82f376f7ee959e7eda230d68f253f-201 pulumi:pulumi:Stack delete
|
🍹 The Update for pulumi/k8s-ci-cluster/55edda250d2db0f9881bef57b29f9f541ad52186-237 was successful. Resource Changes Name Type Operation
+ primary-node-pool gcp:container/nodePool:NodePool create
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-55edda250d2db0f9881bef57b29f9f541ad52186-237 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
|
🍹 The Destroy for pulumi/k8s-ci-cluster/55edda250d2db0f9881bef57b29f9f541ad52186-237 was successful. Resource Changes Name Type Operation
- k8s-ci-cluster-55edda250d2db0f9881bef57b29f9f541ad52186-237 pulumi:pulumi:Stack delete
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
- multicloud pulumi-kubernetes:ci:GkeCluster delete
- password random:index/randomPassword:RandomPassword delete
|
aws-ts-static-website/index.ts
Outdated
errorDocument: "404.html", | ||
}, | ||
}); | ||
const contentBucket = new aws.s3.BucketV2("contentBucket", {bucket: config.targetDomain}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we have to make this bucket publicly readable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's right. The example doesn't provision otherwise. Checking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we do since we are configuring public access through a CloudFront distribution with accesses the bucket via an OIC and bucket policies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your intuition is right. I mixed up some test results. It works without it, therefore I will remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think sadly ACL is still needed for the logs bucket. Just not the content bucket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me update Python to match.
c4b37c5
to
8379046
Compare
@@ -92,7 +92,6 @@ def bucket_object_converter(filepath): | |||
content_file = pulumi_aws.s3.BucketObject( | |||
relative_path, | |||
key=relative_path, | |||
acl='public-read', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also addressing PR feedback for the example that's the same example translated to Python.
🍹 The Update for pulumi/k8s-ci-cluster/3a291f10919f6301cc8da2791c28a7dc484af4d4-240 was successful. Resource Changes Name Type Operation
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
+ primary-node-pool gcp:container/nodePool:NodePool create
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-3a291f10919f6301cc8da2791c28a7dc484af4d4-240 pulumi:pulumi:Stack create
|
🍹 The Destroy for pulumi/k8s-ci-cluster/3a291f10919f6301cc8da2791c28a7dc484af4d4-240 was successful. Resource Changes Name Type Operation
- multicloud pulumi-kubernetes:ci:GkeCluster delete
- password random:index/randomPassword:RandomPassword delete
- k8s-ci-cluster-3a291f10919f6301cc8da2791c28a7dc484af4d4-240 pulumi:pulumi:Stack delete
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
|
PTAL. |
aws-ts-static-website/index.ts
Outdated
errorDocument: "404.html", | ||
}, | ||
}); | ||
const contentBucket = new aws.s3.BucketV2("contentBucket", {bucket: config.targetDomain}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we do since we are configuring public access through a CloudFront distribution with accesses the bucket via an OIC and bucket policies.
ab67e3a
to
2a09731
Compare
🍹 The Update for pulumi/k8s-ci-cluster/6669dfda1829c6e781415dbe718e4115f5883880-245 was successful. Resource Changes Name Type Operation
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
+ primary-node-pool gcp:container/nodePool:NodePool create
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-6669dfda1829c6e781415dbe718e4115f5883880-245 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
|
🍹 The Update for pulumi/k8s-ci-cluster/91ae2cac0d9ffbe8010864df85b9dfbac9763a1a-246 was successful. Resource Changes Name Type Operation
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
+ primary-node-pool gcp:container/nodePool:NodePool create
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-91ae2cac0d9ffbe8010864df85b9dfbac9763a1a-246 pulumi:pulumi:Stack create
|
🍹 The Update for pulumi/k8s-ci-cluster/63f734d71be5dc8939127939c99405bb00742204-247 was successful. Resource Changes Name Type Operation
+ primary-node-pool gcp:container/nodePool:NodePool create
+ gke pulumi:providers:kubernetes create
+ k8s-ci-cluster-63f734d71be5dc8939127939c99405bb00742204-247 pulumi:pulumi:Stack create
+ multicloud pulumi-kubernetes:ci:GkeCluster create
+ password random:index/randomPassword:RandomPassword create
+ ephemeral-ci-cluster gcp:container/cluster:Cluster create
|
🍹 The Destroy for pulumi/k8s-ci-cluster/6669dfda1829c6e781415dbe718e4115f5883880-245 was successful. Resource Changes Name Type Operation
- multicloud pulumi-kubernetes:ci:GkeCluster delete
- password random:index/randomPassword:RandomPassword delete
- k8s-ci-cluster-6669dfda1829c6e781415dbe718e4115f5883880-245 pulumi:pulumi:Stack delete
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
|
🍹 The Destroy for pulumi/k8s-ci-cluster/91ae2cac0d9ffbe8010864df85b9dfbac9763a1a-246 was successful. Resource Changes Name Type Operation
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
- multicloud pulumi-kubernetes:ci:GkeCluster delete
- password random:index/randomPassword:RandomPassword delete
- k8s-ci-cluster-91ae2cac0d9ffbe8010864df85b9dfbac9763a1a-246 pulumi:pulumi:Stack delete
|
🍹 The Destroy for pulumi/k8s-ci-cluster/63f734d71be5dc8939127939c99405bb00742204-247 was successful. Resource Changes Name Type Operation
- multicloud pulumi-kubernetes:ci:GkeCluster delete
- password random:index/randomPassword:RandomPassword delete
- k8s-ci-cluster-63f734d71be5dc8939127939c99405bb00742204-247 pulumi:pulumi:Stack delete
- gke pulumi:providers:kubernetes delete
- primary-node-pool gcp:container/nodePool:NodePool delete
- ephemeral-ci-cluster gcp:container/cluster:Cluster delete
|
Re: pulumi/home#3631