2023-10-25から1日間の記事一覧
特に書くことはなく、以下4つをtrue falseするだけ resource "aws_s3_bucket" "example" { bucket = "example" } resource "aws_s3_bucket_public_access_block" "example" { bucket = aws_s3_bucket.example.id block_public_acls = true block_public_poli…
index_documentはsuffixを使う。aws_s3_bucketの中のindex_document(depcreated)だとsuffixが必要なかった。 resource "aws_s3_bucket_website_configuration" "example" { bucket = aws_s3_bucket.example.id index_document { suffix = "index.html" } } h…