Skip to content

Commit

Permalink
tf 12 test syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Oct 8, 2020
1 parent bfdb595 commit bfdc7e3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions aws/resource_aws_opsworks_ecs_cluster_layer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ resource "aws_ecs_cluster" "test" {
}
resource "aws_opsworks_ecs_cluster_layer" "test" {
stack_id = "${aws_opsworks_stack.tf-acc.id}"
stack_id = aws_opsworks_stack.tf-acc.id
name = %[1]q
ecs_cluster_arn = "${aws_ecs_cluster.test.arn}"
ecs_cluster_arn = aws_ecs_cluster.test.arn
custom_security_group_ids = [
"${aws_security_group.tf-ops-acc-layer1.id}",
"${aws_security_group.tf-ops-acc-layer2.id}",
aws_security_group.tf-ops-acc-layer1.id,
aws_security_group.tf-ops-acc-layer2.id,
]
}
`, name)
Expand All @@ -102,13 +102,13 @@ resource "aws_ecs_cluster" "test" {
}
resource "aws_opsworks_ecs_cluster_layer" "test" {
stack_id = "${aws_opsworks_stack.tf-acc.id}"
stack_id = aws_opsworks_stack.tf-acc.id
name = %[1]q
ecs_cluster_arn = "${aws_ecs_cluster.test.arn}"
ecs_cluster_arn = aws_ecs_cluster.test.arn
custom_security_group_ids = [
"${aws_security_group.tf-ops-acc-layer1.id}",
"${aws_security_group.tf-ops-acc-layer2.id}",
aws_security_group.tf-ops-acc-layer1.id,
aws_security_group.tf-ops-acc-layer2.id,
]
tags = {
Expand All @@ -127,13 +127,13 @@ resource "aws_ecs_cluster" "test" {
}
resource "aws_opsworks_ecs_cluster_layer" "test" {
stack_id = "${aws_opsworks_stack.tf-acc.id}"
stack_id = aws_opsworks_stack.tf-acc.id
name = %[1]q
ecs_cluster_arn = "${aws_ecs_cluster.test.arn}"
ecs_cluster_arn = aws_ecs_cluster.test.arn
custom_security_group_ids = [
"${aws_security_group.tf-ops-acc-layer1.id}",
"${aws_security_group.tf-ops-acc-layer2.id}",
aws_security_group.tf-ops-acc-layer1.id,
aws_security_group.tf-ops-acc-layer2.id,
]
tags = {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/opsworks_ecs_cluster_layer.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Provides an OpsWorks ECS Cluster layer resource.

```hcl
resource "aws_opsworks_ecs_cluster_layer" "lb" {
stack_id = "${aws_opsworks_stack.main.id}"
stack_id = aws_opsworks_stack.main.id
stats_password = "foobarbaz"
}
```
Expand Down

0 comments on commit bfdc7e3

Please sign in to comment.