Fix jpg
This commit is contained in:
@ -41,7 +41,7 @@
|
|||||||
because it mentioned lab 2, so my assumption was that it had already been set up
|
because it mentioned lab 2, so my assumption was that it had already been set up
|
||||||
(it was not). So I had to go back and fix the missing outbound connection.
|
(it was not). So I had to go back and fix the missing outbound connection.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Stretch Goals
|
### Stretch Goals
|
||||||
- [x] **Deep Dive into Bucket Policies**
|
- [x] **Deep Dive into Bucket Policies**
|
||||||
|
|||||||
BIN
lab-3/README.pdf
BIN
lab-3/README.pdf
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 69 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 55 KiB |
BIN
lab-3/assets/s3-access-screenshot.png
Normal file
BIN
lab-3/assets/s3-access-screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
@ -101,27 +101,27 @@ resource "aws_iam_policy" "ec2_s3_policy" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create AMI
|
# # Create AMI
|
||||||
resource "aws_ami_from_instance" "ami_snapshot" {
|
# resource "aws_ami_from_instance" "ami_snapshot" {
|
||||||
name = "ami-snapshot-2025-06-17"
|
# name = "ami-snapshot-2025-06-17"
|
||||||
source_instance_id = aws_instance.my_first_linux.id
|
# source_instance_id = aws_instance.my_first_linux.id
|
||||||
snapshot_without_reboot = true
|
# snapshot_without_reboot = true
|
||||||
|
#
|
||||||
tags = {
|
# tags = {
|
||||||
Name = "labs"
|
# Name = "labs"
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
# Launch new instance from AMI
|
# # Launch new instance from AMI
|
||||||
resource "aws_instance" "my_second_linux" {
|
# resource "aws_instance" "my_second_linux" {
|
||||||
instance_type = "t2.micro"
|
# instance_type = "t2.micro"
|
||||||
ami = aws_ami_from_instance.ami_snapshot.id
|
# ami = aws_ami_from_instance.ami_snapshot.id
|
||||||
security_groups = ["ssh-access-witch"]
|
# security_groups = ["ssh-access-witch"]
|
||||||
|
#
|
||||||
tags = {
|
# tags = {
|
||||||
Name = "labs"
|
# Name = "labs"
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user