Skip to content

vburckhardt/wordpress-ibm-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iac-spec-kit sample: WordPress on IBM Cloud

Sample implementation demonstrating the iac-spec-kit workflow for infrastructure as code development.

Reference: WordPress on IBM Cloud workflow

Workflow

/iac.principles

Input: "This is a small business production website. Keep it simple but include security and automated backups. Keep costs reasonable."

Output: principles.md

/iac.specify

Input: "I need to deploy WordPress for my small business website. Should handle a few thousand visitors per day, needs to be secure with automated backups. Budget is around $500/month."

Output:

/iac.clarify

Input: Answered 5 clarification questions (EU region, ephemeral containers, user-managed DNS, auto-expand storage, alert on budget)

Output: Updated spec.md

/iac.plan

Output:

/iac.tasks

Output: tasks.md - 110 tasks across 8 phases

/iac.implement

Output: 17 Terraform files in iac/

Validation: terraform initterraform validateterraform plan ✅ (62 resources)

Implementation Notes

This implementation required iterative refinement beyond initial code generation. The aspects below are specific to the AI model used, and the AI tool used. The point here is that the framework provides a SSD driven methodology to catch issues early, before code generation, but as with any AI-driven flow, requires human expertise in the loop, for architectural decisions and error interpretation.

Architecture correction: Initial design included VPC infrastructure. During implementation, I pointed out that Code Engine is a managed service using Cloud Service Endpoints, eliminating need for VPC/VPE gateways.

Validation-driven fixes: While terraform validate passed, terraform plan revealed a few configuration errors that were fixed by inputing the errors in the AI tool.

About

Solution generated with iac-spec-kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published