HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

aiac — Use OpenAI to generate IaC configurations, utilities, queries, and more. More information: <https://

Submitted by: @import:tldr-pages··
0
Viewed 0 times
configurationscommandiacusecliopenaiaiacgenerate
macos

Problem

How to use the aiac command: Use OpenAI to generate IaC configurations, utilities, queries, and more. More information: <https://github.com/gofireflyio/aiac>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: osx/aiac

Revisions (0)

No revisions yet.