-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2cb1a8
commit c02bd36
Showing
2 changed files
with
40 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 26 additions & 25 deletions
51
pkg/iac-providers/terraform/v12/testdata/tfjson/list-vars-test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
{ | ||
"aws_instance": [ | ||
{ | ||
"id": "aws_instance.app", | ||
"name": "app", | ||
"source": "main.tf", | ||
"line": 5, | ||
"type": "aws_instance", | ||
"config": { | ||
"ami": "${data.aws_ami.amazon_linux.id}", | ||
"count": [ | ||
1 | ||
], | ||
"instance_type": "blah_instance", | ||
"subnet_id": [ | ||
"10.0.0.0/8" | ||
], | ||
"tags": { | ||
"a": "b", | ||
"c": "d" | ||
}, | ||
"vpc_security_group_ids": "${var.security_group_ids}" | ||
"aws_instance": [ | ||
{ | ||
"id": "aws_instance.app", | ||
"name": "app", | ||
"source": "main.tf", | ||
"line": 5, | ||
"type": "aws_instance", | ||
"config": { | ||
"ami": "${data.aws_ami.amazon_linux.id}", | ||
"count": [ | ||
1, | ||
2 | ||
], | ||
"instance_type": "blah_instance", | ||
"subnet_id": [ | ||
"10.0.0.0/8" | ||
], | ||
"tags": { | ||
"a": "b", | ||
"c": "d" | ||
}, | ||
"skip_rules": null | ||
} | ||
] | ||
} | ||
"vpc_security_group_ids": "${var.security_group_ids}" | ||
}, | ||
"skip_rules": null | ||
} | ||
] | ||
} |