Skip to content

Commit dff7b21

Browse files
committed
more cleanup
1 parent d65bf5f commit dff7b21

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

modules/demo_account/hierarchy.tf

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ module "product" {
1111
description = "The system that manages the order workflow."
1212
owner = module.product-engineering-team.this.id
1313
services = [
14-
# module.order-workflow.this.id,
15-
# module.order-fulfillment.this.id
14+
module.services_from_csv["order-routing"].this.id,
15+
module.services_from_csv["order-fulfillment"].this.id
1616
]
1717
},
1818
{
1919
name = "Shopping Cart"
2020
description = "The system that manages the shopping cart."
2121
owner = module.product-engineering-team.this.id
2222
services = [
23-
# module.shopping-cart.this.id
23+
module.services_from_csv["shopping-cart"].this.id,
2424
]
2525
}
2626
]
@@ -35,16 +35,17 @@ module "product" {
3535
description = "The system that manages inventory procurement."
3636
owner = module.inventory-team.this.id
3737
services = [
38-
# module.procurement-service.this.id
38+
module.services_from_csv["inventory-restock"].this.id,
39+
module.services_from_csv["inventory-sync"].this.id
3940
]
4041
},
4142
{
4243
name = "Tooling"
4344
description = "Internal tools that help Big River Books employees."
4445
owner = module.internal-tools-team.this.id
4546
services = [
46-
# module.certificate-manager.this.id,
47-
# module.employee-directory.this.id
47+
module.services_from_csv["employee-directory"].this.id,
48+
module.services_from_csv["certificate-manager"].this.id,
4849
]
4950
}
5051
]

modules/demo_account/services.csv

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ shopping-cart,Shopping Cart,Midnight Bandits,tier_1,"shopping-cart,cart_ninja,ni
33
payment-wombat,Payment processing and gateway service,Money Mavericks,tier_1,"payment-wombat,wombat,payment_processor","GitHub,PagerDuty,New Relic,Datadog",2019,Rust,Rocket,alpha,true
44
inventory-oracle,Real-time inventory tracking and management,Stock Whisperers,tier_2,"inventory_oracle,oracle,inv_oracle","GitHub,Jira,Datadog",2021,Go,FastHTTP,beta,false
55
hedgehog,User authentication and authorization service,Security Pandas,tier_1,"auth_hedgehog,auth_service,hedgehog_auth","GitHub,PagerDuty,Datadog",2018,TypeScript,Deno,generally_available,false
6-
order-fulfillment-maestro,Order processing and fulfillment orchestration,Shipping Sharks,tier_1,"order_fulfillment,maestro,fulfillment_service","GitHub,PagerDuty,New Relic",2020,Python,Django,beta,false
6+
order-fulfillment,Order processing and fulfillment orchestration,Shipping Sharks,tier_1,"order_fulfillment,maestro,fulfillment_service","GitHub,PagerDuty,New Relic",2020,Python,Django,beta,false
77
raccoon,Search and recommendation engine,Data Wizards,tier_2,"search_raccoon,raccoon_search,search_service","GitHub,Elasticsearch,Datadog",2022,Ruby,Rails,generally_available,false
88
warehouse-pulse,Warehouse management and tracking,Logistics Lions,tier_2,"warehouse_pulse,pulse,wh_pulse","GitHub,Jira,Datadog",2021,Rust,Rocket,alpha,false
99
chameleon,Dynamic pricing engine,Price Pirates,tier_2,"pricing_chameleon,price_engine,chameleon_pricing","GitHub,New Relic,Datadog",2023,Go,FastHTTP,beta,false
@@ -47,7 +47,7 @@ product-recommendation-raptor,Product recommendation engine,Data Wizards,tier_2,
4747
shipping-rate-shark,Shipping cost optimization service,Logistics Lions,tier_2,"shipping_shark,shark,rate_optimizer","GitHub,Redis,Datadog",2021,Go,FastHTTP,beta,false
4848
inventory-allocation-ant,Inventory distribution service,Stock Whisperers,tier_2,"allocation_ant,ant,inventory_distributor","GitHub,Redis,Datadog",2022,TypeScript,Deno,generally_available,false
4949
customer-journey-jaguar,Customer journey tracking service,Experience Engineers,tier_2,"journey_jaguar,jaguar,customer_journey","GitHub,Segment,Datadog",2023,Python,Django,beta,false
50-
order-routing-octopus,Order distribution service,Shipping Sharks,tier_1,"routing_octopus,octopus,order_router","GitHub,PagerDuty,Datadog",2021,Rust,Rocket,alpha,false
50+
order-routing,Order distribution service,Shipping Sharks,tier_1,"routing_octopus,octopus,order_router","GitHub,PagerDuty,Datadog",2021,Rust,Rocket,alpha,false
5151
product-category-cougar,Category management service,Catalog Cowboys,tier_2,"category_cougar,cougar,category_manager","GitHub,Elasticsearch,Datadog",2022,Go,FastHTTP,beta,false
5252
shipping-label-snake,Shipping label generation service,Logistics Lions,tier_2,"label_snake,snake,label_generator","GitHub,ShipEngine,Datadog",2021,TypeScript,Deno,generally_available,false
5353
customer-support-ticketing,Support ticket management service,Support Unicorns,tier_2,"support_tickets,ticketing,ticket_manager","GitHub,Zendesk,Datadog",2022,Python,Django,beta,false
@@ -60,9 +60,11 @@ user-activity-tracker,User behavior analytics service,Data Wizards,tier_2,"activ
6060
email-template-eagle,Email template management service,Comms Cobras,tier_3,"template_eagle,eagle,email_templates","GitHub,SendGrid,Datadog",2023,Rust,Rocket,alpha,false
6161
product-availability-aardvark,Stock availability service,Stock Whisperers,tier_2,"availability_aardvark,aardvark,stock_checker","GitHub,Redis,Datadog",2022,Go,FastHTTP,beta,false
6262
delivery-date-predictor,Delivery estimation service,Logistics Lions,tier_2,"date_predictor,predictor,delivery_estimates","GitHub,ML Engine,Datadog",2021,TypeScript,Deno,generally_available,false
63-
inventory-restock-ibis,Restock alert service,Stock Whisperers,tier_2,"restock_ibis,ibis,restock_alerts","GitHub,RabbitMQ,Datadog",2023,Ruby,Rails,generally_available,false
63+
inventory-restock,Restock alert service,Stock Whisperers,tier_2,"restock_ibis,ibis,restock_alerts","GitHub,RabbitMQ,Datadog",2023,Ruby,Rails,generally_available,false
6464
price-comparison-peacock,Price comparison service,Price Pirates,tier_2,"comparison_peacock,peacock,price_compare","GitHub,Redis,Datadog",2022,Rust,Rocket,alpha,false
6565
order-validation-owl,Order validation service,Shipping Sharks,tier_1,"validation_owl,owl,order_validator","GitHub,PagerDuty,Datadog",2021,Go,FastHTTP,beta,false
6666
product-feed-fox,Product feed management service,Catalog Cowboys,tier_2,"feed_fox,fox,product_feeds","GitHub,RabbitMQ,Datadog",2022,TypeScript,Deno,generally_available,false
67-
inventory-sync-impala,Inventory synchronization service,Stock Whisperers,tier_2,"sync_impala,impala,inventory_sync","GitHub,Kafka,Datadog",2022,Rust,Rocket,generally_available,false
67+
inventory-sync,Inventory synchronization service,Stock Whisperers,tier_2,"sync_impala,impala,inventory_sync","GitHub,Kafka,Datadog",2022,Rust,Rocket,generally_available,false
6868
internal-tools,Internal Tools,Internal Tools,tier_3,"internal-tools,internal_tools","Datadog",2022,Go,Cobra,generally_available,false
69+
employee-directory,Internal employee directory,Internal Tools,tier_3,"directory",,2022,,,generally_available,false
70+
certificate-manager,Internal certificate provisioning,Internal Tools,tier_4,,,2022,,,beta,false

modules/demo_account/services.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ locals {
99
}
1010

1111
module "services_from_csv" {
12-
depends_on = [module.teams_from_csv]
1312
for_each = { for svc in local.csv_services : svc.service_name => svc }
1413

1514
source = "../service"

0 commit comments

Comments
 (0)