update gitignore user-data.sh readme.md

This commit is contained in:
gregory hendrickson
2023-11-19 03:57:43 -08:00
parent 64cf0d8937
commit 7a5ba3867f
3 changed files with 8 additions and 16 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
aws/aws_simple/.terraform/modules/modules.json

View File

@@ -16,7 +16,7 @@ sudo chmod 600 /home/greg/.ssh/authorized_keys
sudo chown -R greg:greg /home/greg/.ssh
# Add your public key to authorized_keys
sudo echo "YOUR_PUBLIC_KEY" >> /home/greg/.ssh/authorized_keys
sudo echo "" >> /home/greg/.ssh/authorized_keys
# Set hostname
INSTANCE_ID=$(curl -s http://169.254.169.254/latest/meta-data/instance-id)

View File

@@ -1,15 +1,6 @@
my-terraform-project/
├── main.tf
└── modules/
├── EFS/
│ └── main.tf
├── ELB/
│ └── main.tf
├── EC2/
│ └── main.tf
├── S3/
│ └── main.tf
└── VPC/
└── main.tf
aws_simple/ # root dir
├── vpc/
│ └── subnets/
│ ├── us-east/
│ └── us-west/
├── ec2/