dropshare

aws-ia/dropshare/awscc

Terraform Module HCL AWSCC ✓ Verified

Terraform Module to create resources for a Dropshare Connection with AWS S3 and AWS CloudFront.

Install
module "dropshare" {
source = "aws-ia/dropshare/awscc"
version = "0.0.1"
}
plain text: /constructs/tfmod-aws-ia-dropshare-awscc/install.txt
⭐ Source on GitHub 📦 Registry page
README

Dropshare Connection - AWS S3 > Terraform Module to create resources for a Dropshare Connection with AWS S3 and AWS CloudFront. Table of Contents - Dropshare Connection: AWS S3 - Table of Contents - Overview - Usage - Dropshare - Inputs - Outputs - Notes - Author Information - License Overview This Terraform Module creates the required resources to create an S3 Connection for Dropshare. !Resource Overview for Module ``mermaid graph TD; dns_a[DNS Record, type A] --> tls; dns_aaaa[DNS Record, type AAAA] --> tls; tls[TLS Certificate] --> cloudfront; cloudfront[CloudFront Distribution]; bucket[S3 Bucket] --> cloudfront; user[IAM User] --> bucket; ` Usage This section contains the input and output values of this module as well as information on how to configure Dropshare. Dropshare To configure

Inputs (19)
NameTypeDescriptionDefault
keybase_userstringKeyBase username for use in the `encrypted_secret` output attribute. required
route53_record_subdomainstringSubdomain Record to create in the Route53 Hosted Zone. required
routed53_zone_idstringID of the Route53 Hosted Zone. required
bucket_index_filestringPath to template file to use as Index for Bucket."files/index.html"
iam_group_pathstringIAM Group Path for Service Accounts."/services/"
lock_policy_to_ip_addressboolToggle to enable constraining of IAM Policy to user-provided IP Address.true
bucket_namestringName of the S3 Bucket. When left empty, a random name will be generated.""
bucket_storage_classstringThe class of storage used to store the object."ONEZONE_IA"
create_index_fileboolBoolean Toggle to enable creation of Index File (`var.bucket_index_file`) in Buctrue
create_robotstxt_fileboolBoolean Toggle to enable creation of Robots File (`var.bucket_robotstxt_file`) itrue
bucket_robotstxt_filestringPath to template file to use as `robots.txt` for Bucket."files/robots.txt"
cloudfront_cache_policy_idstringID of AWS-managed Cache Policy."658327ea-f89d-4fab-a63d-7e88639e58f6"
cloudfront_origin_request_policy_idstringID of AWS-managed Origin Request Policy."59781a5b-3903-41f3-afcb-af62929ccde1"
cloudfront_response_headers_policy_idstringID of AWS-managed Response Headers Policy."67f7725c-6f97-4210-82d7-5512b31e9d03"
iam_ip_address_retrieval_servicestringURL for (Public) IP Address Retrieval Service."https://checkip.amazonaws.com/"
cloudfront_commentstringComment to assign to CloudFront resources."Terraform-managed Resource for Dropshar
cloudfront_minimum_protocol_versionstringThe minimum version of the TLS protocol that you want CloudFront to use for HTTP"TLSv1.2_2021"
cloudfront_zone_idstringID of the CloudFront Route53 Hosted Zone."Z2FDTNDATAQYW2"
caller_ip_addressstringIP Address to constrain IAM Policy to. If left empty, this will be replaced with""
Outputs (8)
secret_key_decrypt_command_append — Appended part of Command to decrypt IAM Secret Key.
domain_alias — Domain Alias for CloudFront Distribution.
access_key_id — IAM Access Key.
bucket_id — S3 Bucket ARN.
bucket_name — S3 Bucket Name.
region — S3 Bucket Region.
secret_key — (encrypted) IAM Secret Key.
secret_key_decrypt_command_prepend — Prepended part of Command to decrypt IAM Secret Key.
Resources (16)
aws_acm_certificateaws_acm_certificate_validationaws_iam_access_keyaws_iam_useraws_iam_user_policyaws_route53_recordaws_s3_bucketaws_s3_bucket_aclaws_s3_bucket_lifecycle_configurationaws_s3_bucket_policyaws_s3_bucket_public_access_blockaws_s3_objectawscc_cloudfront_cloudfront_origin_access_identityawscc_cloudfront_distributionrandom_petrandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud AWSCC
★ Stars5
Forks2
Total downloads229
Inputs19
Outputs8
Resources16
Examples1
LicenseApache-2.0
Namespaceaws-ia
Updated