greenfield-deploy

Automate HCP Terraform infrastructure setup with organization, project, and workspace creation.

4|3|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/thrashr888/hcptf-cli --skill greenfield-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: greenfield-deploy
Source: https://github.com/thrashr888/hcptf-cli/tree/main/.skills/greenfield-deploy
Command: npx skills add https://github.com/thrashr888/hcptf-cli --skill greenfield-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of setting up entirely new infrastructure projects within HCP Terraform, from initial planning to the first deployment.

Core Features & Use Cases

  • End-to-End Setup: Guides users through creating organizations, projects, and workspaces.
  • VCS Integration: Facilitates connecting workspaces to version control systems.
  • Variable & Credential Management: Simplifies the secure configuration of necessary variables and cloud provider credentials.
  • Deployment Automation: Orchestrates the initial Terraform plan and apply process.
  • Use Case: A new team needs to deploy their first application infrastructure on AWS using HCP Terraform. This Skill provides a step-by-step guide to create the necessary HCP Terraform resources, configure AWS credentials, and deploy the initial infrastructure.

Quick Start

Use the greenfield-deploy skill to create a new HCP Terraform workspace named 'my-app-prod' for the 'my-org' organization.

Frequently Asked Questions about greenfield-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a new infrastructure project in HCP Terraform from scratch?

To set up a new infrastructure project in HCP Terraform, you need to create the organization, configure projects and workspaces, integrate your VCS, define variables, and execute the initial deployment. This process is automated to guide you through each step securely.

Can I use CLI-driven workflows instead of VCS-driven workflows for HCP Terraform greenfield deployments?

Yes, greenfield deployments in HCP Terraform support both VCS-driven and CLI-driven workflows. You can choose your preferred method for workspace creation and infrastructure deployment while ensuring secure credential management across either approach.

What is the best way to manage cloud provider credentials when creating a new HCP Terraform workspace?

The best way to manage cloud provider credentials for a new HCP Terraform workspace is to securely configure them as workspace variables. This approach emphasizes secure credential management and follows best practices for greenfield environments.

Does this infrastructure as code setup support connecting workspaces to version control systems?

Yes, the infrastructure as code setup facilitates VCS integration by connecting your HCP Terraform workspaces directly to your version control systems. This enables automated Terraform plans triggered by code changes.

What are the limitations of automating greenfield infrastructure deployments with Terraform?

Automating greenfield infrastructure deployments with Terraform is limited to entirely new project setups, meaning it is not designed for importing or managing pre-existing infrastructure resources outside of the initial creation and deployment process.