Files
cheatsheet-tldr/tldr/osx/aiac

30 lines
740 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# aiac
> Use OpenAI to generate IaC configurations, utilities, queries and more.
> More information: <https://github.com/gofireflyio/aiac>.
- Generate Terraform for Azure storage account:
`aiac get terraform {{for an azure storage account}}`
- Generate a Dockerfile for nginx:
`aiac get dockerfile {{for a secured nginx}}`
- Generate GitHub action that applies Terraform:
`aiac get github action {{that plans and applies terraform}}`
- Generate a port scanner in Python:
`aiac get python {{code that scans all open ports in my network}}`
- Generate a MongoDB query:
`aiac get mongo {{query that aggregates all documents by created date}}`