Imported from tukue/terraform-jenkins-aws (
platform-service-deploy/SKILL.md). Install upstream withnpx skills add tukue/terraform-jenkins-aws --skill platform-service-deploy. Copyright stays with the author.
Platform Service Deployment
Use this skill to generate the Terraform code for a new service deployment.
Workflow
-
Gather Inputs:
service_name: A unique name for your service (e.g.,checkout-api).tier: The sizing tier (small,med,large).container_image: Full URI to the Docker image (e.g.,ghcr.io/my-org/service:v1.0.0).environment: The target environment (dev,qa, orprod).
-
Generate Terraform: The skill will output the standard
moduleblock for yourmain.tf:module "my_service" { source = "../../platform-modules/service-tier-wrapper" service_name = "your-service-name" tier = "small" container_image = "your-image:tag" environment = "dev" } -
Verify Compliance: Run
terraform planfollowed by the platform's OPA policy checks to ensure your new service adheres to security and cost standards.