cloud-config-tool
4ops/cloud-config-tool/template
Cloud config helper Terraform module
Cloud config tool Simple template tool for creating cloud-config with Terraform Terraform registry module Usage example Setup modules in main.tf: ``terraform module this_user { source = "4ops/cloud-config-tool/template" version = "1.1.0" users = local.user } module administrators { source = "4ops/cloud-config-tool/template" version = "1.1.0" users = var.administrators } ` Template content: `yaml #cloud-config users: - default ${module.administrators.users} system_info: default_user: ${module.this_user.default_user} package_upgrade: true runcmd: - userdel -fr ec2-user ` Rendered template: `yaml #cloud-config users: - default - name: alice shell: /bin/bash lock_passwd: true gecos: Test user 1 groups: [users] sudo: ['ALL=(ALL) NOPASSWD:ALL'] home: /home/alice ssh_authorized_keys: - ssh-ed2551
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | "cloud-config-helper" | |
| users | list | A list of the users to create with cloud-config | [] |
users — Part of the cloud-config in YAML format - just insert in your template ` ${module.myusers.users}` adefault_user — Can be used on setup default user in cloud-config. Usage: ` ${module.myuser.default_user}` after Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,