mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 01:43:17 +00:00
30 lines
740 B
Plaintext
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}}`
|