Skip to content

benniemosher-dev/terraform-aws-network

Repository files navigation

terraform-aws-network

CI Terraform

🕸️ A TF module for AWS Networks. 🕸️

📜 Usage:

  • To install dependencies needed run:
    brew bundle install
  • To initialize Terraform in this folder:
    task infra:init
  • To update modules and providers in this folder:
    task init -- -upgrade
  • To validate the module in this folder:
    task infra:validate
  • To plan the infrastructure in this folder:
    task infra:plan
  • To plan specific resources of infrastructure in this folder:
    task infra:plan -- -target='cloudflare_record.this'

🆒 Extras:

  • To find all the automation available in this folder:
    task --list-all
  • To estimate the cost of the infrastructure in this folder:
    task infra:cost
  • To update the documentation in this folder:
    task infra:docs
  • To lint the Terraform in this folder:
    task infra:lint
  • To validate security in this folder:
    task infra:sec

📋 Documentation

Requirements

Name Version
terraform ~> 1.3
aws ~> 4.40

Providers

Name Version
aws 4.46.0

Modules

Name Source Version
default-vpc-flow-logs github.com/benniemosher-dev/terraform-aws-cloudwatch-logs v0.1.0

Resources

Name Type
aws_default_subnet.a resource
aws_default_subnet.b resource
aws_default_subnet.c resource
aws_default_vpc.this resource
aws_flow_log.default-vpc resource
aws_iam_role.vpc-flow-logs resource
aws_iam_role_policy.vpc-flow-logs resource
aws_iam_policy_document.vpc-flow-logs data source
aws_iam_policy_document.vpc-flow-logs-assume-role data source

Inputs

Name Description Type Default Required
config The config to create the network with.
object({
kms-key = string
})
n/a yes

Outputs

Name Description
subnets The subnet IDs created for the network.
vpc The VPC ID created for the network.