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

Add a “service” module #10

Merged
merged 4 commits into from
Aug 30, 2024
Merged

Add a “service” module #10

merged 4 commits into from
Aug 30, 2024

Conversation

rocktavious
Copy link
Contributor

@rocktavious rocktavious commented Aug 30, 2024

Usage

module "my-team" {
  source = "../modules/team"
  name   = "my-team"
}

module "my-server" {
  source          = "../modules/service"
  name            = "my-server"
  description     = "My server"
  framework       = "Django"
  language        = "python"
  lifecycle_alias = "beta"
  owner           = module.my-team.this.id
  tier_alias      = "tier_2"
  tags            = ["core:true", "k8s:false"]
  tools = [
    {
      name        = "datadog"
      category    = "metrics"
      environment = "production"
      url         = "https://app.datadog.com"
    }
  ]
  repositories = [
    {
      name           = "autopilot"
      base_directory = "src"
      alias          = "github.com:rocktavious/autopilot"
    }
  ]
  properties = {
    "my_custom_property" = jsonencode("helloworld")
  }
}

@rocktavious rocktavious requested a review from davidbloss August 30, 2024 12:34
@rocktavious rocktavious self-assigned this Aug 30, 2024
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 🎉 - I left a comment about a resource name but not a blocker

@rocktavious rocktavious merged commit bb72aaf into main Aug 30, 2024
2 checks passed
@rocktavious rocktavious deleted the kr/service branch August 30, 2024 18:30
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