simpleinfra
simpleinfra copied to clipboard
Fix deprecation warnings in `domain-redirects`
When reconfiguring the domain for the Rust Foundation's website yesterday (#661), I discovered that the domain-redirects module in Terraform does not apply cleaning anymore. It seems that the S3 bucket gets created with settings on AWS that are incompatible with the Terraform configuration. Namely, the use of ACLs is disabled and public access is prevented nowadays.
The issue with the ACL probably just requires us to switch to bucket permissions. But the public access might need us to dig a little deeper into how the old setup should look like now. I wouldn't be surprised if there are now easier ways to redirect domains...