Skip to content

update ami-id #6

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand All @@ -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}/*",
]
}
Expand Down
2 changes: 1 addition & 1 deletion rhel.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}