Update terraform to use instance profile
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 52s

This commit is contained in:
2025-06-22 12:10:59 -07:00
parent 3353aeb26b
commit 1ae1d8397d
3 changed files with 12 additions and 5 deletions

View File

@ -177,6 +177,7 @@ resource "aws_instance" "my_second_linux" {
instance_type = "t2.micro"
ami = aws_ami_from_instance.ami_snapshot.arn
security_groups = ["ssh-access-witch"]
iam_instance_profile = aws_iam_instance_profile.daphodell_profile.name
tags = {
Name = "labs"