The HTML files has a separate css stylesheet and svg images in it that are in different files.
resource "google_storage_bucket_object" "index" {
name = var.index_page
source = var.htmlFile //add more stuff
bucket = google_storage_bucket.website.name
}