diff --git a/lab-3/README.md b/lab-3/README.md index 28a4d94..e32ed76 100644 --- a/lab-3/README.md +++ b/lab-3/README.md @@ -41,7 +41,7 @@ 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. -![screenshot of listing s3 contents](./assets/s3-access-screenshot.jpg) +![screenshot of listing s3 contents](./assets/s3-access-screenshot.png) ### Stretch Goals - [x] **Deep Dive into Bucket Policies** diff --git a/lab-3/README.pdf b/lab-3/README.pdf index 01036a9..78cc21e 100644 Binary files a/lab-3/README.pdf and b/lab-3/README.pdf differ diff --git a/lab-3/assets/restrict-to-role.jpg b/lab-3/assets/restrict-to-role.jpg deleted file mode 100644 index 46ab6fe..0000000 Binary files a/lab-3/assets/restrict-to-role.jpg and /dev/null differ diff --git a/lab-3/assets/s3-access-screenshot.jpg b/lab-3/assets/s3-access-screenshot.jpg deleted file mode 100644 index f24a262..0000000 Binary files a/lab-3/assets/s3-access-screenshot.jpg and /dev/null differ diff --git a/lab-3/assets/s3-access-screenshot.png b/lab-3/assets/s3-access-screenshot.png new file mode 100644 index 0000000..fce4860 Binary files /dev/null and b/lab-3/assets/s3-access-screenshot.png differ diff --git a/lab-3/terraform/main.tf b/lab-3/terraform/main.tf index b32c9b1..4e58df6 100644 --- a/lab-3/terraform/main.tf +++ b/lab-3/terraform/main.tf @@ -101,27 +101,27 @@ resource "aws_iam_policy" "ec2_s3_policy" { } } -# Create AMI -resource "aws_ami_from_instance" "ami_snapshot" { - name = "ami-snapshot-2025-06-17" - source_instance_id = aws_instance.my_first_linux.id - snapshot_without_reboot = true - - tags = { - Name = "labs" - } -} - -# Launch new instance from AMI -resource "aws_instance" "my_second_linux" { - instance_type = "t2.micro" - ami = aws_ami_from_instance.ami_snapshot.id - security_groups = ["ssh-access-witch"] - - tags = { - Name = "labs" - } -} +# # Create AMI +# resource "aws_ami_from_instance" "ami_snapshot" { +# name = "ami-snapshot-2025-06-17" +# source_instance_id = aws_instance.my_first_linux.id +# snapshot_without_reboot = true +# +# tags = { +# Name = "labs" +# } +# } +# +# # Launch new instance from AMI +# resource "aws_instance" "my_second_linux" { +# instance_type = "t2.micro" +# ami = aws_ami_from_instance.ami_snapshot.id +# security_groups = ["ssh-access-witch"] +# +# tags = { +# Name = "labs" +# } +# }