-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kr/final wip demo sandbox #58
Conversation
|
||
on: | ||
repository_dispatch: | ||
types: | ||
- actions | ||
- sandbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will update the opslevel action after i merge this
modules/demo_account/hierarchy.tf
Outdated
@@ -11,16 +11,16 @@ module "product" { | |||
description = "The system that manages the order workflow." | |||
owner = module.product-engineering-team.this.id | |||
services = [ | |||
module.order-workflow.this.id, | |||
module.order-fulfillment.this.id | |||
# module.order-workflow.this.id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: need to fix this
# Linux date command | ||
# Replace `-v` flag and format the input for Linux `date` | ||
adjusted=$(echo $3 | sed 's/-v //g' | sed 's/H/hour/g; s/d/day/g') | ||
formatted_date=$(date -u -d "$adjusted" '+%FT%TZ') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm going out on a limb with chatGPT here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Ubuntu the output is something like
2024-12-23T19:42:16Z
when $3
is "-v -1H"
modules/demo_account/services.tf
Outdated
depends_on = [module.teams_from_csv] | ||
for_each = { for svc in local.csv_services : svc.service_name => svc } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
depends_on = [module.teams_from_csv] | |
for_each = { for svc in local.csv_services : svc.service_name => svc } | |
for_each = { for svc in local.csv_services : svc.service_name => svc } |
I'm pretty sure this isn't needed because its used in owner
field so terraform can figure it out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
Resolves #
Problem
Solution
Checklist