Skip to content

RaftechNL/terraform-aws-proxy

Repository files navigation

terraform-aws-proxy

Repository containing code for terraform-aws-proxy

Requirements

Name Version
terraform >=1.0.0, <2.0
aws = 5.65.0

Providers

Name Version
aws 5.65.0

Modules

Name Source Version
asg terraform-aws-modules/autoscaling/aws v6.10.0
iam_assumable_role_ssm terraform-aws-modules/iam/aws//modules/iam-assumable-role v5.44.0
iam_policy_ssm_connect terraform-aws-modules/iam/aws//modules/iam-policy v5.44.0

Resources

Name Type
aws_security_group.this resource
aws_security_group_rule.default resource
aws_security_group_rule.this resource
aws_ami.amazon_linux data source
aws_iam_policy_document.this data source

Inputs

Name Description Type Default Required
additional_iam_policies List of additional IAM policies to attach to the role list(string) [] no
allow_self_assume_role Controls if the role allows self-assume or not bool true no
ami_filter Defines query params for AMI
object({
filter_name = string,
owner = string,
})
{
"filter_name": "amzn2-ami-kernel-5.10-hvm-2.0.20220912.1-x86_64-gp2",
"owner": "137112412989"
}
no
app_name Name of the application string "ssm-proxy" no
create_instance_profile Controls if the instance profile is created or not bool true no
create_role Controls if the role is created or not bool true no
environment Name of the environment (i.e.: prd, acc, dev, test) string n/a yes
full_service_name Full service name string "" no
instance_type The type of instance to start string "t3.micro" no
project Name of the project string n/a yes
role_requires_mfa Controls if the role requires MFA or not bool false no
schedules Map of schedules to add to the autoscaling group any {} no
security_group_rules Map of security group rules to add to the ec2 security group instance any {} no
tags A map of tags to add to all resources created by this module map(string) {} no
user_data User data to be used in the EC2 instance string "" no
vpc_id VPC id where the resources will be deployed string n/a yes
vpc_zone_identifier A list of subnet IDs to launch resources in ( ASG ) list(string) [] no

Outputs

Name Description
iam_policy IAM Policy for establishing ssm connection

About

Module to setup ASG with EC2 for proxy into AWS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages