Terraform doesn't build triton machine

73 views Asked by At

I've set my first steps into the world of terraform, I'm trying to deploy infrastructure on Joyent triton.

After setup, I wrote my first .tf (well, copied from the examples) and hit terraform apply. All seems to go well, it doesn't break on errors, but it doesn't actually provision my container ?? I doublechecked in the triton web gui and with "triton instance list". Nothing there.

Any ideas what's going on here ?

provider "triton" {  
  account = "tralala"  
  key_id  = "my-pub-key"  

  url = "https://eu-ams-1.api.joyentcloud.com"  

}  

resource "triton_machine" "test-smartos" {  
  name    = "test-smartos"  
  package = "g4-highcpu-128M"  
  image   = "842e6fa6-6e9b-11e5-8402-1b490459e334"  

  tags {  
    hello = "world"  
    role = "database"  
  }  

  cns {  
    services = ["web", "frontend"]  
  }  

}  
0

There are 0 answers