secure-base

appzen-oss/secure-base/aws

Terraform Module HCL AWS

AWS multi-account, multi-region organization secure base

Install
module "secure-base" {
source = "appzen-oss/secure-base/aws"
version = "0.0.2"
}
plain text: /constructs/tfmod-appzen-oss-secure-base-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-secure-base ![Releases](https://github.com/appzen-oss/terraform-aws-secure-base/releases/tag/latest) Terraform Module Registry A terraform module to set up an AWS multi-account, multi-region organization with account/region security setting and security services. *Module is still a Work in Progress* Features - Designed to delegate management of all security services to dedicated administrator account - Designed to send all logs to a dedicated log account Usage Submodules This module is composed of several submodules, all of which can be used independently. - submodules Examples - examples Requirements | Name | Version | |------|---------| | terraform | >= 1.1.4 | | aws | >= 4.1.0 | | time | >= 0.7.2 | Providers | Name | Version | |------|---------| | aws | 4.2.0 | Modules | N

Inputs (44)
NameTypeDescriptionDefault
account_typestringAWS account type (master, administrator, log, member) required
cloudtrail_s3_bucketstringCloudTrail S3 bucket required
security_administrator_account_idnumberAWS Security Administrator Account ID required
cloudtrail_enable_loggingboolEnable logging for the trailtrue
force_destroyboolAllow destroy of S3 bucket with objectsfalse
enable_configboolEnable AWS Config servicetrue
enable_guarddutyboolEnable AWS GuardDuty servicetrue
ecr_scan_typestringECR scanning type (BASIC or ENHANCED)"BASIC"
iam_minimum_password_lengthnumberMinimum length to require for user passwords.14
iam_password_reuse_preventionnumberThe number of previous passwords that users are prevented from reusing.24
cloudtrail_s3_key_prefixstringS3 key prefix for CloudTrail"cloudtrail"
enable_ecr_baselineboolEnable ECR image scanningtrue
s3_block_public_policyboolWhether Amazon S3 should block public bucket policies for buckets in this accountrue
cloudtrail_enable_log_file_validationboolSpecifies whether log file integrity validation is enabled. Creates signed digestrue
cloudtrail_insight_selectorlist(object({ insight_typeSpecifies an insight selector for identifying unusual operational activity. See:[ { "insight_type": "ApiCallRateIn
cloudtrail_is_organization_trailboolThe trail is an AWS Organizations trailtrue
ecr_scanning_ruleslist(map(string))List of ECR scanning rules[ { "filter": "*", "frequency"
enable_iam_baselineboolBoolean whether iam-baseline is enabled.true
iam_require_numbersboolWhether to require numbers for user passwords.true
s3_block_public_aclsboolWhether Amazon S3 should block public ACLs for buckets in this account. Defaultstrue
cloudtrail_include_global_service_eventsboolSpecifies whether the trail is publishing events from global services such as IAtrue
enable_firewall_managerboolEnable AWS Firewall Manager servicetrue
tagsmap(any)Specifies object tags key and value. This applies to all resources created by th{ "Environment": "infra", "Product":
… and 4 more inputs
Outputs (4)
s3_bucket_arns — S3 Bucket ARNs
s3_bucket_names — S3 Bucket Names
s3_bucket_region_arn_map — Map of regions and S3 ARNs
s3_bucket_region_name_map — Map of regions and S3 names
Resources (1)
aws_organizations_organization
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.2
Cloud AWS
★ Stars6
Forks5
Total downloads4.4k
Inputs44
Outputs4
Resources1
Examples4
Submodules18
Namespaceappzen-oss
Updated