Skip to content

Commit 7a1e518

Browse files
committed
chore(examples): apply terraform fmt to http and redeploy examples
1 parent 02cd5b9 commit 7a1e518

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • examples

examples/terraform-http-example/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ provider "aws" {
2323
# ---------------------------------------------------------------------------------------------------------------------
2424

2525
resource "aws_instance" "example" {
26-
ami = data.aws_ami.ubuntu.id
27-
instance_type = var.instance_type
26+
ami = data.aws_ami.ubuntu.id
27+
instance_type = var.instance_type
2828
user_data = templatefile("${path.module}/user-data/user-data.sh", {
2929
instance_text = var.instance_text
3030
instance_port = var.instance_port

examples/terraform-redeploy-example/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ resource "aws_launch_configuration" "web_servers" {
7474
instance_text = var.instance_text
7575
instance_port = var.instance_port
7676
})
77-
key_name = var.key_pair_name
77+
key_name = var.key_pair_name
7878

7979
# When used with an aws_autoscaling_group resource, the aws_launch_configuration must set create_before_destroy to
8080
# true. Note: as soon as you set create_before_destroy = true in one resource, you must also set it in every resource

0 commit comments

Comments
 (0)