Skip to content

Commit d4f5f8c

Browse files
committed
tests
1 parent 870d2b6 commit d4f5f8c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

coralogix/resource_coralogix_enrichment_test.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,21 +130,23 @@ func testAccCoralogixResourceGeoIpEnrichment(fieldName string) string {
130130
geo_ip {
131131
fields {
132132
name = "%s"
133+
enriched_field_name = "%s_enriched"
133134
}
134135
}
135136
}
136-
`, fieldName)
137+
`, fieldName, fieldName)
137138
}
138139

139140
func testAccCoralogixResourceSuspiciousIpEnrichment(fieldName string) string {
140141
return fmt.Sprintf(`resource "coralogix_enrichment" test {
141142
suspicious_ip {
142143
fields {
143144
name = "%s"
145+
enriched_field_name = "%s_enriched"
144146
}
145147
}
146148
}
147-
`, fieldName)
149+
`, fieldName, fieldName)
148150
}
149151

150152
//func testAccCoralogixResourceAwsEnrichment(fieldName, resourceType string) string {
@@ -171,10 +173,11 @@ func testAccCoralogixResourceCustomEnrichment(fieldName string) string {
171173
custom_enrichment_id = coralogix_data_set.test.id
172174
fields {
173175
name = "%s"
176+
enriched_field_name = "%s_enriched"
174177
}
175178
}
176179
}
177-
`, fieldName)
180+
`, fieldName, fieldName)
178181
}
179182

180183
func testAccCheckEnrichmentDestroy(s *terraform.State) error {

0 commit comments

Comments
 (0)