infrastructure-as-code
/infrastructure-as-code
Podpowiada, jak opisywać zasoby chmurowe jako wersjonowany kod, by ograniczyć dryf konfiguracji.
- Autor
- wastedcode ↗
- Repozytorium
- truecast ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 17.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 17.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Podpowiada, jak opisywać zasoby chmurowe jako wersjonowany kod, by ograniczyć dryf konfiguracji.
Oryginalny opis (EN)
Use when provisioning or changing infrastructure (cloud resources, clusters, networking, config) — define it as versioned, reviewed, reproducible code; fight drift; prefer immutable replace over hand-patching live boxes.
Jak działa
- The method
- Fight drift
- The discipline
Podgląd SKILL.md
--- name: infrastructure-as-code description: Use when provisioning or changing infrastructure (cloud resources, clusters, networking, config) — define it as versioned, reviewed, reproducible code; fight drift; prefer immutable replace over hand-patching live boxes. --- # Infrastructure as code — no snowflakes, no click-ops Infrastructure you changed by hand in a console is a **snowflake**: undocumented, unreproducible, and a mystery the next person (or the next incident) inherits. The standard is that your entire infrastructure is **declared as code in version control** — the repo is the single source of truth for what *should* be running. ## The method 1. **Declare it, version it, review it.** Terraform / OpenTofu / Pulumi / CloudFormation / Helm — the tool matters less than: it's in git, it's code-reviewed like application code, and the desired state is the file, not the console. 2. **Plan before apply, always.** Generate the plan (the diff between desired and live), have a human read it, *then* apply. The plan is where you catch the "this will destroy and recreate the database" surprise. Separate plan and apply as distinct gated steps; auto-apply only what's genuinely safe. 3. **Remote, locked, encrypted state.** State lives in an encrypted remote backend with locking — never on a laptop, never in the repo. Two concurrent applies without a lock corrupt state. 4. **Secrets are injected, never committed.** No credentials in the IaC, the repo, or the plan output. Inject at runtime from a secret manager; the IaC references the secret, never contains it. 5. **Immutable over mutable.** Prefer replacing instances/images over patching live boxes (bake an image, deploy the new one, drain the old). Mutable in-place changes are how drift and "works on that one box" creep in. ## Fight drift - **Drift = live infra ≠ the code.** It creeps in via console hotfixes, broken automation, partial applies, parallel tooling — and surfaces at the worst time, during the next apply. - **Detect it on a schedule** (a periodic `plan` that alerts on any diff), so a manual console change is caught in hours, not discovered weeks later mid-deploy. - **Remediate by code, not by re-doing it by hand** — fold the legitimate change into the IaC and re-apply; revert the illegitimate one. Either way the code becomes true again. - **Scan the IaC** for misconfig (public buckets, missing encryption, over-broad IAM) in CI before apply. ## The discipline - If a piece of infra exists only because someone clicked it once, it doesn't really exist — it'll be gone the day you need to rebuild and can't. - Right-size: a tiny project doesn't need a multi-account Terraform mono-repo on day one — but even then, *write down* what's deployed and how, so it's reproducible (`right-size-reliability`). - Tool note (2025–26): Terraform (BSL-licensed) vs OpenTofu (open-source, community-governed fork) have diverged at the feature level — pick deliberately per the project's licensing/governance needs.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · wastedcode/truecast | 90 | MIT |
| atretyak1985/swarmery | 100 | Apache-2.0 |
| peterbamuhigire/chwezi-dev-engine | 100 | MIT |
| Rene-Roscher/skills | 100 | Apache-2.0 |
| arjunprabhulal/devops-skills | 100 | MIT |
| seb1n/awesome-ai-agent-skills | 100 | MIT |
| MARUCIE/openclaw-foundry | 100 | MIT |
| kid-sid/codex-spellbook | 100 | MIT |
| wrongstack/wrongstack | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 53c4e33c6d8e (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100drift-detector
Wykrywa rozjazd infrastruktury między stanem Terraform a rzeczywistymi zasobami chmury: zasoby poza zarządzaniem, ręczne zmiany i dryf konfiguracji. - 100terraform-infrastructure-as-code
Opisuje zasoby chmurowe deklaratywnie w HCL i wdraża je przez Terraform, gdy infrastruktura ma być powtarzalna. - 100oma-tf-infra
Tworzy lub przegląda infrastrukturę i plany Terraform, w tym zasoby chmurowe, IAM, sieci, zarządzanie stanem i zmiany w infrastrukturze. - 100oma-tf-infra
Tworzy i przegląda infrastrukturę Terraform oraz plany zmian: zasoby chmurowe, IAM, sieć, zarządzanie stanem i zmiany infrastruktury. - 90cloud-infrastructure
Projektuje i prowadzi infrastrukturę chmurową: środowiska, infrastructure as code, sieci i izolację, skalowanie oraz koszty, w tym przegląd infrastruktury skonfigurowanej ręcznie. - 90terraform-and-data-platform-infrastructure
Prowadzi przez infrastrukturę jako kod dla platform danych: storage, role, sekrety, sieci, zasoby orkiestracji, katalogi, moc obliczeniowa i fundamenty środowisk.