mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #3129 from berendt/example_unify_syntax
examples: unify the configuration file syntax
This commit is contained in:
commit
7d142134f2
@ -40,7 +40,7 @@ resource "aws_autoscaling_group" "web-asg" {
|
|||||||
value = "web-asg"
|
value = "web-asg"
|
||||||
propagate_at_launch = "true"
|
propagate_at_launch = "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_launch_configuration" "web-lc" {
|
resource "aws_launch_configuration" "web-lc" {
|
||||||
name = "terraform-example-lc"
|
name = "terraform-example-lc"
|
||||||
|
@ -66,4 +66,3 @@ resource "aws_instance" "web" {
|
|||||||
Name = "eip-example"
|
Name = "eip-example"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,10 +55,8 @@ resource "aws_security_group" "elb" {
|
|||||||
protocol = "-1"
|
protocol = "-1"
|
||||||
cidr_blocks = ["0.0.0.0/0"]
|
cidr_blocks = ["0.0.0.0/0"]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
resource "aws_elb" "web" {
|
resource "aws_elb" "web" {
|
||||||
name = "example-elb"
|
name = "example-elb"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user