Skip to content

Commit

Permalink
Fix 1.8.0 blog post examples (#309)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Mesh <[email protected]>
  • Loading branch information
cam72cam authored Jul 11, 2024
1 parent 2eeb2f8 commit aee3e09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blog/2024-06-24-help-us-test-opentofu-1-8-0-alpha1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions blog/2024-07-09-opentofu-1-8-0-beta-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aee3e09

Please sign in to comment.