Skip to content

Commit

Permalink
fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Zhe Jiet authored and Chang Zhe Jiet committed Mar 16, 2024
1 parent b0097eb commit b975c8e
Showing 1 changed file with 90 additions and 1 deletion.
91 changes: 90 additions & 1 deletion test/tfg/__snapshots__/Others.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,96 @@ tfg2 = "tfg2"
}
`;

exports[`Others 5`] = `""`;
exports[`Others 5`] = `
"variable "test"{
type = string
}
variable "test2"{
type = string
}
data "aws_vpc" "test"{
cidr_block = "test"
}
module "test"{
source = "./test"
}
resource "aws_vpc" "test"{
cidr_block = "test"
tags = {
a = "a"
}
}
data "aws_vpc" "test"{
filter {
name = "tag:a"
values = [
"a"
]
}
cidr_block = "test"
}
data "aws_vpc" "test2"{
filter {
name = "tag:a"
values = [
"a"
]
}
cidr_block = "test"
}
resource "innerBlock" "innerBlock"{
a = "a"
provisioner "local-exec"{
command = "echo hello"
}
provisioner "local-exec"{
command = "echo world"
}
}
locals{
a = "a"
b = 123
c = aws_vpc.test.x
}
resource "locals" "locals"{
a = local.a
}
import{
to = innerBlock.innerBlock
id = "id"
provider = arg
}
resource "tags" "tags"{
tags = {
a = "a"
b = "b c d"
}
}
# comment
# line1
# line2
# line3
# line4
resource "tfg2" "tfg2"{
tfg2 = "tfg2"
}
"
`;

exports[`Others 6`] = `
"test2 = "test"
Expand Down

0 comments on commit b975c8e

Please sign in to comment.