Skip to content

Commit

Permalink
Manually add mappings for newly created fabric route filter resources…
Browse files Browse the repository at this point in the history
… and data sources
  • Loading branch information
thogarty committed Oct 21, 2024
1 parent d7fb4df commit 3754949
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ func Provider() tfbridge.ProviderInfo {
},
Resources: map[string]*tfbridge.ResourceInfo{
// Equinix Fabric v4
"equinix_fabric_connection_route_filter": {
Tok: makeEquinixResource(fabricMod, "ConnectionRouteFilter"),
},
"equinix_fabric_route_filter": {
Tok: makeEquinixResource(fabricMod, "RouteFilter"),
},
"equinix_fabric_route_filter_rule": {
Tok: makeEquinixResource(fabricMod, "RouteFilterRule"),
},
"equinix_fabric_connection": {
Tok: makeEquinixResource(fabricMod, "Connection"),
Docs: &tfbridge.DocInfo{
Expand Down Expand Up @@ -1157,6 +1166,24 @@ func Provider() tfbridge.ProviderInfo {
},
DataSources: map[string]*tfbridge.DataSourceInfo{
// Equinix Fabric v4
"equinix_fabric_connection_route_filter": {
Tok: makeEquinixDataSource(fabricMod, "ConnectionRouteFilter"),
},
"equinix_fabric_connection_route_filters": {
Tok: makeEquinixDataSource(fabricMod, "ConnectionRouteFilters"),
},
"equinix_fabric_route_filter": {
Tok: makeEquinixDataSource(fabricMod, "RouteFilter"),
},
"equinix_fabric_route_filters": {
Tok: makeEquinixDataSource(fabricMod, "RouteFilters"),
},
"equinix_fabric_route_filter_rule": {
Tok: makeEquinixDataSource(fabricMod, "RouteFilterRule"),
},
"equinix_fabric_route_filter_rules": {
Tok: makeEquinixDataSource(fabricMod, "RouteFilterRules"),
},
"equinix_fabric_connection": {
Tok: makeEquinixDataSource(fabricMod, "Connection"),
Fields: map[string]*tfbridge.SchemaInfo{
Expand Down

0 comments on commit 3754949

Please sign in to comment.