Secure Parameterized Infrastructure-as-Code
"Secure Parameterized Infrastructure-as-Code" is a ready-made prompt from the Zayenha Prompt library in Programming & Tech, written for claude-sonnet-4-7. It has a main prompt to copy into the model, built-in quality guards, and a verification prompt to run in a second window to review the answer. The full text needs the Pro plan; the description is open to all.
Write a parameterized Infrastructure-as-Code module with secure state, least privilege, encryption, and tagging, without inventing resources or attributes absent from the specified IaC provider.
Your current plan: free
Provisioning new infrastructure declaratively and auditably, standardizing environment setup to prevent manual drift, building a reusable module across projects securely.
Built-in quality guards
No fabricated resources or attributes undocumented in the specified IaC provider
Least privilege, default encryption, closed public access, and secure secrets
Cover inputs, resources, state, tags, and apply flow without truncation
Syntactically valid IaC code for the specified tool, applyable
Frequently asked questions
How do I use this prompt?
Copy the main prompt and paste it into claude-sonnet-4-7 or the model you use, replace what is in square brackets with your details, then run the verification prompt in a second window with the answer pasted in, and review it before relying on it.
Is this prompt free?
Its full text requires the Pro plan or higher. Free prompts you can copy at once without an account are on the ready-made Arabic prompts page.
Which model was this prompt written for?
It was written for claude-sonnet-4-7 and follows how that model works; you can run it on other models too, reviewing the result, since no single wording guarantees the best result on every model.