Este playbook automatiza la instalación y configuración de HashiCorp Vault en sistemas basados en Debian/Ubuntu.
-
Sistema operativo: Debian/Ubuntu
-
Ansible 2.9 o superior
import { useEffect, useState } from 'react'; | |
/** | |
* Transforma una cadena de texto a formato camelCase. | |
* @param {string} str - La cadena de texto a capitalizar. | |
* @returns {string} - La cadena resultante en formato camelCase | |
* @example | |
* const result = capitalizeWords("hola mundo"); | |
* console.log(result); |
Comprender qué es Terraform, cómo funciona, su arquitectura y flujo de trabajo (plan, apply, destroy).
Infraestructura como código (IaC): Conceptos y beneficios.
Diferencias entre archivos de configuración y estado (.tf
y terraform.tfstate
).
HCL (HashiCorp Configuration Language): Cómo definir recursos, proveedores, variables, outputs, módulos, etc. Bloques principales (provider, resource, module, data, output, variable).
GitHub Actions permite reutilizar workflows mediante la instrucción workflow_call
. Esta funcionalidad facilita la modularidad y el uso de workflows comunes en múltiples repositorios. Para configurar y utilizar esta funcionalidad en un repositorio:
Es importante habilitar el acceso a los workflows reutilizables. Para repositorios privados, realiza los siguientes pasos:
https://github.com/orgs/<tu-organización>/repos/<nombre-del-repo>/settings/actions
import { useEffect } from 'react'; | |
/** | |
* Custom hook to manage the document's title, meta tags, and link tags. | |
* @param {string} title - The new title for the document. | |
* @param {Array} metas - An array of meta tag objects with { key, props, value }. | |
* @param {Array} links - An array of link tag objects with { rel, href }. | |
*/ | |
const useDocumentMeta = (title, metas = [], links = []) => { | |
useEffect(() => { |
- name: 'gcr.io/cloud-builders/gcloud' | |
entrypoint: 'bash' | |
args: | |
- '-c' | |
- | | |
# File that contains failures. | |
failure_file=failure.log | |
touch ${failure_file} | |
for d in portal/*/; do |
/** | |
* Convert Spreadsheet to array using XLSX library and es6 promises | |
* | |
* @param {File} file - File to parse | |
* @param {string} [type=array] - Type to parse | |
* @returns {Promise<Object, String>} | |
* | |
* @see https://www.npmjs.com/package/xlsx | |
*/ | |
function spreadParser(file, type = 'array') { |