@@ -7,14 +7,16 @@ A EC2 module module designed to be practical for casual use.
77## Features
88
991 . Gives to ability for create a EC2 Instance
10- 2 . Optionally Create all network infrastructure needed for public access
11- 3 . Pass custom user data into instance creation
12- 4 . SSM and S3 Access Permissions for access and ease of use
13- 5 . Creates Key for SSH Access
14- 6 . Dynamically Create Ingress Security Rules
15- 7 . Provision a Public DNS record for the Red Instance
10+ 2 . EC2 is already setup for SSM Agent to be installed
11+ 3 . Creates Key for SSH Access
12+ 4 . Dynamically Create Ingress Security Rules
13+ 5 . Optionally create all network infrastructure needed for public access
14+ 6 . Optionally create public DNS record for the Red Instance
15+ 7 . Optionally pass user data into instance creation
16+ 8 . Optionally enabled S3 Bucket IAM Role Access
1617
17- Contains a useful scripts for setting up AWS CLI for both SUSE and Ubuntu Linux.
18+ > Contains a useful script for setting up AWS CLI and updating OS packages for
19+ > both SUSE and Ubuntu Linux.
1820
1921``` bash
2022#! /bin/bash
@@ -86,17 +88,17 @@ No modules.
8688| [ aws_iam_instance_profile.red_instance_profile] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/iam_instance_profile ) | resource |
8789| [ aws_iam_role.red_role] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/iam_role ) | resource |
8890| [ aws_iam_role_policy.s3_bucket_policy] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/iam_role_policy ) | resource |
89- | [ aws_iam_role_policy_attachment.ssm_policy_attachment ] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/iam_role_policy_attachment ) | resource |
91+ | [ aws_iam_role_policy_attachment.red_ssm_policy_attachment ] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/iam_role_policy_attachment ) | resource |
9092| [ aws_instance.red-instance] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/instance ) | resource |
91- | [ aws_internet_gateway.main ] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/internet_gateway ) | resource |
93+ | [ aws_internet_gateway.igw ] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/internet_gateway ) | resource |
9294| [ aws_key_pair.red_key] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/key_pair ) | resource |
9395| [ aws_route53_record.red_instance_dns] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/route53_record ) | resource |
9496| [ aws_route_table.public] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/route_table ) | resource |
9597| [ aws_route_table_association.public] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/route_table_association ) | resource |
9698| [ aws_security_group.allow_ssh] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/security_group ) | resource |
9799| [ aws_subnet.public] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/subnet ) | resource |
98100| [ aws_vpc.main] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/resources/vpc ) | resource |
99- | [ local_file.private_key_pem ] ( https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file ) | resource |
101+ | [ local_file.red_private_key_file ] ( https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file ) | resource |
100102| [ tls_private_key.red_private_key] ( https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key ) | resource |
101103| [ aws_ami.red_ami] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/data-sources/ami ) | data source |
102104| [ aws_route53_zone.zone] ( https://registry.terraform.io/providers/hashicorp/aws/5.57.0/docs/data-sources/route53_zone ) | data source |
0 commit comments