salmon-army-25804
04/09/2020, 7:04 PMnew aws.s3.Bucket
with param website: { redirectAllRequestsTo: "<http://example.com|example.com>" }
. The s3 docs say that there is an option to specify protocol (I need to redirect with https
) but that does not seem possible in pulumi since redirectAllRequestsTo
is of type pulumi.Input<string>
. I additionally tried to specify routingRules: { Redirect: {HostName: "<http://example.com|example.com>",Protocol: "https"} }
to the same Bucket resource but then get the error message that aws:s3/bucket:Bucket resource 'mybucketname' has a problem: "website.0.redirect_all_requests_to": conflicts with website.0.routing_rules
. Additionally, if I go into the AWS web UI and manually update the Protocol field to "https" and then run pulumi up
, pulumi does not recognize that a change was made to the bucket configs which leads me to wonder if there is a bugroutingRules
but not redirectAllRequestsTo
, then i get Must specify either index_document or redirect_all_requests_to.
upon executing pulumi up
😕busy-umbrella-36067
04/09/2020, 9:04 PMpulumi refresh
salmon-army-25804
04/10/2020, 1:43 AMbusy-umbrella-36067
04/10/2020, 1:46 AMsalmon-army-25804
04/10/2020, 4:25 PMbusy-umbrella-36067
04/10/2020, 7:46 PMsalmon-army-25804
04/10/2020, 9:31 PM