Skip to content

Commit

Permalink
Update provider versions in .terraform.lock.hcl
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Jan 6, 2025
1 parent d222718 commit 88bf252
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
58 changes: 29 additions & 29 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions base_images.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
data aws_ssm_parameter "rhel9_ami" {
data "aws_ssm_parameter" "rhel9_ami" {
count = var.use_rhel9_ami ? 1 : 0
name = "/enterprise/ami/rhel9"
name = "/enterprise/ami/rhel9"
}
4 changes: 2 additions & 2 deletions morpheus.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module "morpheus" {
name = aws_s3_bucket.assets_bucket.bucket
key = "linux-image-pipeline.zip"
}
packer_config = "morpheus-build.pkr.hcl"
packer_config = "morpheus-build.pkr.hcl"
ansible_source_type = "S3"
ansible_bucket = {
name = aws_s3_bucket.assets_bucket.bucket
Expand All @@ -40,6 +40,6 @@ module "morpheus" {
vpc_config = local.vpc_config
ami = {
source_ami = var.use_rhel9_ami ? one(data.aws_ssm_parameter.rhel9_ami).value : local.morpheus_ami
instance_type = "t3.micro" # x86_64 compatible instance type
instance_type = "t3.micro" # x86_64 compatible instance type
}
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable use_rhel9_ami {
variable "use_rhel9_ami" {
description = "Use RHEL 9 AMI"
type = bool
default = false
Expand Down
4 changes: 2 additions & 2 deletions vpc_endpoint.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ resource "aws_vpc_endpoint" "endpoint" {
vpc_endpoint_type = "Interface"

security_group_ids = local.vpc_config.security_group_ids
subnet_ids = local.vpc_config.subnets
}
subnet_ids = local.vpc_config.subnets
}

0 comments on commit 88bf252

Please sign in to comment.