Complete S3

Terraform scripts to create an AWS S3 using the module s3.

To create a complete AWS S3:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

aws

~> 5.61

external

~> 2.3.1

null

~> 3.2.1

random

~> 3.5.1

Providers

Name

Version

aws

~> 5.61

external

~> 2.3.1

null

~> 3.2.1

random

~> 3.5.1

Modules

Name

Source

Version

complete_s3

../../../s3

n/a

Resources

Name

Type

null_resource.timestamp

resource

random_string.random_name

resource

aws_caller_identity.current

data source

external_external.static_timestamp

data source

Inputs

Name

Description

Type

Default

Required

aws_profile

Profile of AWS credentials to deploy Terraform sources

string

"default"

no

aws_region

AWS region where the infrastructure will be deployed

string

"eu-west-3"

no

Outputs

Name

Description

bucket_name

Name of s3 bucket

bucket_url

URL of s3 bucket

kms_key_id

ARN of KMS used for ECR