Start work
This commit is contained in:
10
examples/tofu/cloudinit.yaml
Normal file
10
examples/tofu/cloudinit.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
#cloud-config
|
||||
# NOTE: Left in for potential debugging
|
||||
users:
|
||||
- name: alexander
|
||||
lock_passwd: false
|
||||
groups: wheel
|
||||
plain_text_passwd: abc123
|
||||
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
|
||||
ssh_authorized_keys:
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDUz3WF4qPhk01//5QUuNWyHTn8shv86i/qEyRqa1kTF alexander@miku
|
||||
@@ -28,6 +28,8 @@ resource "aws_instance" "test-instance-1" {
|
||||
|
||||
private_ip = "192.168.122.3"
|
||||
|
||||
user_data = file("cloudinit.yaml")
|
||||
|
||||
tags = {
|
||||
UseCase = "k8s-control-plane"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user