Supported Resources:
terraform 0.12
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
.
- Terraform
- AWS Account
- Not applicable.
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
}
- Amazon S3
- Amazon S3 Bucket Object