localstack-deployer
Deploy or destroy AWS infrastructure on LocalStack using CDK, Terraform, or CloudFormation. Manage local development environments by applying infrastructure-as-code from project directories.
Instructions
Deploys or destroys AWS infrastructure on LocalStack using CDK or Terraform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action to perform: 'deploy'/'destroy' for CDK/Terraform, or 'create-stack'/'delete-stack' for CloudFormation. | |
| projectType | No | The type of project. 'auto' (default) infers from files. Specify 'cdk' or 'terraform' to override. | auto |
| directory | No | The required path to the project directory containing your infrastructure-as-code files. | |
| variables | No | Key-value pairs for parameterization. Used for Terraform variables (-var) or CDK context (-c). | |
| stackName | No | The name of the CloudFormation stack. Required for 'create-stack' and 'delete-stack'. | |
| templatePath | No | The local file path to the CloudFormation template. Required for 'create-stack' if not discoverable from 'directory'. |