Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.36 KB

README.md

File metadata and controls

56 lines (41 loc) · 1.36 KB

alt text

tf-module-bucket

Supported Resources:

Terraform Version

terraform 0.12

Features

Create resources in S3 such bucket, buckets objects and notifications making them available for use by instances or another resource that makes use of storage.

Requirements

  • Terraform
  • AWS Account

Dependencies

  • Not applicable.

Example of Use


bucket:

module "instance_profile {
  source = "github.com/leandromoreirati/tf-module-bucket/modules/bucket"
  version = "~> 1.0.0"

  name = "${var.my_team}-${var.product}-${var.environment}"
  role = module.iam_role.iam_role_name
}

bucket-object:

module "instance_profile {
  source = "github.com/leandromoreirati/tf-module-bucket/modules/bucket-object"
  version = "~> 1.0.0"version = "~> 1.0.0"

  role       = module.iam_role.iam_role_name
  policy_arn = module.iam_policy.iam_policy_arn
}

External Documentation

Created Features


  • Amazon S3
  • Amazon S3 Bucket Object