From 671ecdc54e715bcafb043541575002b45a35889d Mon Sep 17 00:00:00 2001 From: Matthew Creal Morgan Date: Tue, 13 Aug 2024 17:19:23 -0700 Subject: [PATCH] update ami-id (#6) * update ami-id * terraform fmt --------- Co-authored-by: arnol377 --- main.tf | 4 ++-- rhel.tf | 2 +- 2 files changed, 3 insertions(+), 3 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}/*", ] } 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 }