📜  部署到 AWS Terraform 和 Gitlab - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:35.905000             🧑  作者: Mango

代码示例1
variable "bucket_name" {
  default = "website.example.com" // change this
}

provider "aws" {
  region = "us-east-1"
}

resource "aws_s3_bucket" "bucket" {
  bucket = "${var.bucket_name}"
  acl    = "private"
  policy = <