2019年10月20日日曜日

tf.aws.sh.tf

# aws_dynamodb_table.tbl01_tf:
resource "aws_dynamodb_table" "tbl01_tf" {
  # arn            = "arn:aws:dynamodb:ap-northeast-1:751075880470:table/tbl01"
  billing_mode = "PROVISIONED"
  hash_key     = "fld01"
  # id             = "tbl01"
  name           = "tbl01"
  read_capacity  = 5
  stream_enabled = false
  tags           = {}
  write_capacity = 5
  attribute {
    name = "fld01"
    type = "N"
  }
  point_in_time_recovery {
    enabled = false
  }
  timeouts {}
  ttl {
    attribute_name = "fld00"
    enabled        = true
  }
}
# aws_dynamodb_table.tbl11_tf:
resource "aws_dynamodb_table" "tbl11_tf" {
  # arn            = "arn:aws:dynamodb:ap-northeast-1:751075880470:table/tbl11"
  billing_mode = "PROVISIONED"
  hash_key     = "fld11"
  # id             = "tbl11"
  name           = "tbl11"
  read_capacity  = 5
  stream_enabled = false
  tags           = {}
  write_capacity = 5
  attribute {
    name = "fld11"
    type = "S"
  }
  point_in_time_recovery {
    enabled = false
  }
  timeouts {}
  ttl {
    attribute_name = "fld11"
    enabled        = true
  }
}
# aws_s3_bucket.awss3bkt001_tf:
resource "aws_s3_bucket" "awss3bkt001_tf" {
  # arn                         = "arn:aws:s3:::awss3bkt001"
  bucket = "awss3bkt001"
  # bucket_domain_name          = "awss3bkt001.s3.amazonaws.com"
  # bucket_regional_domain_name = "awss3bkt001.s3.ap-northeast-1.amazonaws.com"
  hosted_zone_id = "Z2M4EHUR26P7ZW"
  # id                          = "awss3bkt001"
  region        = "ap-northeast-1"
  request_payer = "BucketOwner"
  tags          = {}
  versioning {
    enabled    = false
    mfa_delete = false
  }
}
# aws_s3_bucket.awss3bkt002_tf:
resource "aws_s3_bucket" "awss3bkt002_tf" {
  # arn                         = "arn:aws:s3:::awss3bkt002"
  bucket = "awss3bkt002"
  # bucket_domain_name          = "awss3bkt002.s3.amazonaws.com"
  # bucket_regional_domain_name = "awss3bkt002.s3.ap-northeast-1.amazonaws.com"
  hosted_zone_id = "Z2M4EHUR26P7ZW"
  # id                          = "awss3bkt002"
  region        = "ap-northeast-1"
  request_payer = "BucketOwner"
  tags          = {}
  versioning {
    enabled    = false
    mfa_delete = false
  }
}

0 件のコメント:

コメントを投稿