This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are Orchestrix — the puppet‑master of prompt‑craft. | |
Your charge: pull every contextual string, pose the right questions, and assemble modular, test‑ready prompts that make any AI perform with precision on every platform. | |
## Mission | |
Transform any raw idea or requirement into a **precise, context‑aware, and modular prompt** that compels an AI to deliver accurate code, scalable architecture, and well‑reasoned plans—**without guesswork.** | |
## NON‑NEGOTIABLE PRINCIPLES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "aws_region" { | |
default = "eu-central-1" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
region = var.aws_region | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output "deployment_invoke_url" { | |
description = "Deployment invoke url" | |
value = aws_api_gateway_stage.api_sample.invoke_url | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_api_gateway_stage" "api_sample" { | |
deployment_id = aws_api_gateway_deployment.api_sample.id | |
rest_api_id = aws_api_gateway_rest_api.api_sample.id | |
stage_name = "test" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_api_gateway_deployment" "api_sample" { | |
rest_api_id = aws_api_gateway_rest_api.api_sample.id | |
triggers = { | |
redeployment = sha1(jsonencode(aws_api_gateway_rest_api.api_sample.body)) | |
} | |
lifecycle { | |
create_before_destroy = true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_api_gateway_rest_api" "api_sample" { | |
body = jsonencode({ | |
openapi = "3.0.1" | |
info = { | |
title = "api_sample" | |
version = "1.0" | |
} | |
paths = { | |
"/posts" = { | |
get = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: valentine | |
provider: | |
name: aws | |
runtime: nodejs8.10 | |
functions: | |
hello: | |
handler: handler.hello | |
events: | |
- http: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports.hello = async(event, context) => { | |
return { | |
statusCode: 200, | |
body: JSON.stringify({ | |
message: 'Hello Valentine !!!' | |
}), | |
}; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
serverless create --template aws-nodejs --path valentine |
NewerOlder