Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-mazurkiewicz committed Aug 8, 2024
1 parent d0f0efa commit 69511ff
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gen/templates/data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ func testAccDataSourceCc{{camelCase .Name}}Config() string {
{{.TfName}} = {{if .TestValue}}{{.TestValue}}{{else}}{{if eq .Type "String"}}"{{.Example}}"{{else if isStringListSet .}}["{{.Example}}"]{{else if isInt64ListSet .}}[{{.Example}}]{{else}}{{.Example}}{{end}}{{end}}
{{- end}}
{{- end}}
{{- if .DataSourceNoId}}
depends_on = [catalystcenter_{{snakeCase $name}}.test]
{{- end}}
}
`
return config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ func testAccDataSourceCcAnycastGatewayConfig() string {
fabric_id = catalystcenter_fabric_site.test.id
virtual_network_name = catalystcenter_virtual_network_to_fabric_site.test.virtual_network_name
ip_pool_name = catalystcenter_ip_pool_reservation.test.name
depends_on = [catalystcenter_anycast_gateway.test]
}
`
return config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func testAccDataSourceCcAssignTemplatesToTagConfig() string {
config += `
data "catalystcenter_assign_templates_to_tag" "test" {
tag_id = catalystcenter_tag.test.id
depends_on = [catalystcenter_assign_templates_to_tag.test]
}
`
return config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func testAccDataSourceCcFabricDeviceConfig() string {
data "catalystcenter_fabric_device" "test" {
network_device_id = "5e6f7b3a-2b0b-4a7d-8b1c-0d4b1cd5e1b1"
fabric_id = catalystcenter_fabric_site.test.id
depends_on = [catalystcenter_fabric_device.test]
}
`
return config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func testAccDataSourceCcFabricProvisionDeviceConfig() string {
data "catalystcenter_fabric_provision_device" "test" {
site_id = catalystcenter_area.test.id
network_device_id = "4cb565d3-1944-42be-be9f-a87cff79e831"
depends_on = [catalystcenter_fabric_provision_device.test]
}
`
return config
Expand Down
1 change: 1 addition & 0 deletions internal/provider/data_source_catalystcenter_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func testAccDataSourceCcTagConfig() string {
config += `
data "catalystcenter_tag" "test" {
name = "Tag1"
depends_on = [catalystcenter_tag.test]
}
`
return config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func testAccDataSourceCcTransitPeerNetworkConfig() string {
config += `
data "catalystcenter_transit_peer_network" "test" {
transit_peer_network_name = "TRANSIT_1"
depends_on = [catalystcenter_transit_peer_network.test]
}
`
return config
Expand Down

0 comments on commit 69511ff

Please sign in to comment.