diff --git a/blog/2024-06-24-help-us-test-opentofu-1-8-0-alpha1.md b/blog/2024-06-24-help-us-test-opentofu-1-8-0-alpha1.md index ff6cac7..5921ac8 100644 --- a/blog/2024-06-24-help-us-test-opentofu-1-8-0-alpha1.md +++ b/blog/2024-06-24-help-us-test-opentofu-1-8-0-alpha1.md @@ -64,14 +64,14 @@ locals { aws_module_version = "5.6.1" } -module "ec2_instance" "webserver" { +module "webserver" { source = "terraform-aws-modules/ec2-instance/aws" version = local.aws_module_version // Other ec2_instance options } -module "ec2_instance" "db" { +module "db" { source = "https://github.com/terraform-aws-modules/terraform-aws-ec2-instance?ref=v${local.aws_module_version}" // Other ec2_instance options diff --git a/blog/2024-07-09-opentofu-1-8-0-beta-1.md b/blog/2024-07-09-opentofu-1-8-0-beta-1.md index 5ca8c23..db15994 100644 --- a/blog/2024-07-09-opentofu-1-8-0-beta-1.md +++ b/blog/2024-07-09-opentofu-1-8-0-beta-1.md @@ -172,14 +172,14 @@ locals { aws_module_version = "5.6.1" } -module "ec2_instance" "webserver" { +module "webserver" { source = "terraform-aws-modules/ec2-instance/aws" version = local.aws_module_version // Other ec2_instance options } -module "ec2_instance" "db" { +module "db" { source = "https://github.com/terraform-aws-modules/terraform-aws-ec2-instance?ref=v${local.aws_module_version}" // Other ec2_instance options