Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- terraform variables
- = terraform variables * [[https://developer.hashicorp.com/terraform/tutorials/configuration-language/variables]] == declaración * recomendado en fichero aparte **variables.tf** declaración: <code properties variables.tf> variable "aws_region" { description = "AWS region"
- Terraform state
- * list: lista los recursos del state * show: muestra los detalles de uno de los recursos del state * mv: mueve o renombra un recurso * rm: elimina un recurso * pull: descarga el state de un remoto * push: sube el state desde local al remoto == mover recursos a diferentes
- terraform win-instance
- * IP pública variable == código <code properties; main.tf> resource "aws_vpc" "my_vpc" { cidr_block = "172.16.0.0/16" tags = { Name = "tf-example" } } resource "aws_subnet" "my_subnet" { vpc_id ... true tags = { Name = "tf-example" } } resource "aws_internet_gateway" "igw_main" { vpc_id
- TERRAFORM
- [tech:terraform:cli]] * [[tech:terraform:variables]] * [[tech:terraform:resources]] * [[tech:terraform:terraform-state]] * [[tech:terraform:data-sources]] * [[tech:terraform:modules]] ===PoC * [[te
- Terraform cli
- Terraform configuration * **validate** : Validates the Terraform files * **plan** : Generate and show an execution plan * **fmt** : Rewrites config files to canonical format * **apply** : Builds or changes infrastructure * **graph** : Cre
- Terraform workspace @tech:terraform:poc
- * se pueden crear tantos entornos como sean necesarios (new) * se puede personalizar cada uno de ... e "location" { type = "string" default = "West Europe" } variable "wks_rg_name" { type = obj... prepre", int = "intint", default = "" } resource "azurerm_resource_group" "rg" { name = "rg1-rg-${var.wks_rg_name[terraform.workspace]}"
- terraform azure
- tps://www.terraform.io/docs/providers/azurerm/guides/azure_cli.html]] * [[https://learn.hashicorp.co... = create remote tfstate <code bash> #!/bin/bash RESOURCE_GROUP_NAME=tstate STORAGE_ACCOUNT_NAME=tstate$RANDOM CONTAINER_NAME=tstate # Create resource group #az group create --name $RESOURCE_GROUP_NAME --location eastus az group create --name $RES
- casos de uso
- = casos de uso == data-templates <code powershell; template.tpl> Install-WindowsFeature -Name GPMC,RSA... oup} -Path "${vpn_OU_AD}${base_path_AD}" $Attributes = @{ Enabled = $true ChangePasswordAtLogo... AccountPassword = "${password}" | ConvertTo-SecureString -AsPlainText -Force } New-ADUser @Attributes </code> <code properties> data "template_file" "vm_
- terraform modules
- = terraform modules + info: [[https://www.terraform.io/docs/configuration/modules.html]] == llamada <code properties> module "servers" { source = "./app-cluster" servers = 5 # in... outputs** con los datos que se quieren compartir desde el módulo == versiones * importante/interesa
- POC estructura AD
- = POC estructura AD == intro * basado en [[https://github.com/tonyprawiro/aws-msad-terraform.git]] == ficheros <code properties; vpc.tf> # # VPC # resource "aws_vpc" "vpc_myapp" { cidr_block = "${var.vpc_cidr}" ins... enable_dns_support = true enable_dns_hostnames = true tags { Name = "VPC-MYAPP" } } #
- terraform AWS
- port AWS_DEFAULT_REGION="us-east-1" export AWS_ACCESS_KEY_ID="$(revealpass AWS_ACCESS_KEY_ID)" export AWS_SECRET_ACCESS_KEY="$(revealpass AWS_SECRET_ACCESS_KEY)" </code> <code bash> revealpass() { local DATA_PATH="/s
- terraform data source
- incompleto</callout> == definición <code properties>data "aws_ami" "example" { most_recent = true ... "self"] tags = { Name = "app-server" Tested = "true" } }</code> <code properties> resource "aws_instance" "web" { ami = data.aws_ami.web.id instance_type = "t1.micro" }