Skip to content
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

Merged
merged 7 commits into from
Dec 23, 2024
Merged

Kr/final wip demo sandbox #58

merged 7 commits into from
Dec 23, 2024

Conversation

rocktavious
Copy link
Contributor

Resolves #

Problem

Solution

Checklist

  • I have run this code, and it appears to resolve the stated issue.
  • Make a changie entry that explains the customer facing outcome of this change

@rocktavious rocktavious self-assigned this Dec 23, 2024

on:
repository_dispatch:
types:
- actions
- sandbox
Copy link
Contributor Author

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

@@ -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,
Copy link
Contributor Author

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

Comment on lines +9 to +12
# 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')
Copy link
Contributor Author

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

Copy link
Contributor

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"

Comment on lines 12 to 13
depends_on = [module.teams_from_csv]
for_each = { for svc in local.csv_services : svc.service_name => svc }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Contributor

@davidbloss davidbloss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@rocktavious rocktavious merged commit 598039e into main Dec 23, 2024
2 checks passed
@rocktavious rocktavious deleted the kr/final-wip-demo-sandbox branch December 23, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants