From 05002fe3a4217d5f43b050b277e90a570e7f2714 Mon Sep 17 00:00:00 2001 From: Matthew Creal Morgan Date: Tue, 13 Aug 2024 17:08:44 -0700 Subject: [PATCH 1/2] update ami-id --- rhel.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhel.tf b/rhel.tf index 363b6ad..d7de2da 100644 --- a/rhel.tf +++ b/rhel.tf @@ -25,6 +25,6 @@ module "rhel" { # goss_profile = "base-test" state = local.state_config vpc_config = local.vpc_config - source_ami = "ami-03f5c6b8195c66b04" # x86_64 compatible AMI + source_ami = "ami-0e6191a82a929381a" # x86_64 compatible AMI - RHEL9 quick start image instance_type = "t3.micro" # x86_64 compatible instance type } From a4da9d24de927e2aa536377f0bfa13d01fe3a009 Mon Sep 17 00:00:00 2001 From: arnol377 Date: Tue, 13 Aug 2024 20:13:09 -0400 Subject: [PATCH 2/2] terraform fmt --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 175bb31..d71cdfd 100644 --- a/main.tf +++ b/main.tf @@ -17,7 +17,7 @@ resource "aws_s3_bucket_policy" "assets_bucket_policy" { data "aws_iam_policy_document" "assets_bucket_policy_document" { statement { principals { - type = "AWS" + type = "AWS" identifiers = [ module.amazon_linux.iam_arn ] @@ -35,7 +35,7 @@ data "aws_iam_policy_document" "assets_bucket_policy_document" { ] resources = [ - aws_s3_bucket.assets_bucket.arn, + aws_s3_bucket.assets_bucket.arn, "${aws_s3_bucket.assets_bucket.arn}/*", ] }