Skip to content

Terraform example how to use cloud-init with IONOS cloud VMs

Notifications You must be signed in to change notification settings

mrndev/terraform-cloud-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

terraform-cloud-init

Terraform example how to use cloud-init with IONOS cloud VMs. This is what you should see after running the script:

$ terraform apply
ionoscloud_datacenter.myvdc: Refreshing state... [id=28e7defb-49c9-4ac4-bc7c-6d0b95ba1059]
ionoscloud_lan.publan: Refreshing state... [id=1]
.
.
.
ionoscloud_server.myserver: Still creating... [50s elapsed]
ionoscloud_server.myserver: Creation complete after 57s [id=7aca1e7c-a5ed-4fd6-b07f-75b1bb7b2b4e]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

myserver_ip_address = "217.160.221.209"
$ ssh [email protected]
.
.
.
Last login: Fri Oct 27 12:27:40 2023 from 185.56.150.12
root@cloudinitexample:~# cat /tmp/hello
Hello World!

About

Terraform example how to use cloud-init with IONOS cloud VMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages