mirror of
https://github.com/ghndrx/terraform.git
synced 2026-02-10 06:45:01 +00:00
update gitignore user-data.sh readme.md
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
aws/aws_simple/.terraform/modules/modules.json
|
||||
@@ -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)
|
||||
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user