We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b7cb1d + 07d97e4 commit 7075502Copy full SHA for 7075502
1 file changed
registry-node/registry-node.tf
@@ -30,7 +30,8 @@ resource "aws_instance" "registry-node" {
30
ami = var.rhcos_ami
31
instance_type = var.registry_type
32
subnet_id = local.instance_subnet_id
33
- user_data = "{\"ignition\":{\"config\":{},\"security\":{\"tls\":{}},\"timeouts\":{},\"version\":\"2.2.0\"},\"networkd\":{},\"passwd\":{\"users\":[{\"name\":\"core\",\"sshAuthorizedKeys\":[\"${var.ssh_public_key}\"]}]},\"storage\":{},\"systemd\":{}}"
+ user_data = "{\"ignition\": {\"version\":\"3.1.0\"},\"passwd\":{\"users\":[{\"name\": \"core\",\"passwordHash\": \"\",\"sshAuthorizedKeys\":[\"${var.ssh_public_key}\"]}]}}"
34
+
35
36
root_block_device { volume_size = var.registry_volume }
37
security_groups = var.registry_sg_ids
0 commit comments