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 }