Bug: S3 bucket static website hosting requires an index document value, even if it's just one space (when set in the management console)

0

The AWS S3 service allows turning on static website hosting on a S3 bucket.

In the AWS CloudFormation user guide, the IndexDocument field is specified as optional (Required: No).

However, in the management console, when configuring an S3 bucket for static website hosting, the "Error document" field is marked "optional", meanwhile "Index document" is not, and trying to save the changes with that field left blank doesn't work (it is highlighted with "Must be at least 1 characters long."). Making "Index document" one empty space makes it no problem.

This is in line with what the S3 user guide says:

When you enable website hosting, you must also configure and upload an index document.

Steps to reproduce

  • View a specific S3 bucket in the S3 management console
  • In the "Properties" tab, scroll down to "Static website hosting" and click "Edit"
  • Under "Static website hosting", select "Enable"
  • Leave "Index document" blank
  • Click "Save changes"

The "Index document" field will be highlighted in red with "Must be at least 1 characters long."

  • Enter one empty space in the "Index document" field
  • Click "Save changes"

The changes will now be saved.

Expected results

"Index document" should be optional.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인