I'm trying out terraform against rackspace but have some problems to get it to work smoothly,
I have to confess that I'm learning terraform, openstack and the rackspace variant at the same time.
Anyone in this group that has gotten terraform and rackspace to play nice with each other and could tell me which arguments are mandatory for rackspace?
By trial and error I found out that:
I could only get terraform to work with provider password and not with api_key
I have had a lot of struggle with network, until I found the clue to use both uuid and name (
https://github.com/hashicorp/terraform/issues/3460) I could not create servers.
I still haven't figured out how to create networks:
this config
resource "openstack_networking_network_v2" "tf-test" {
region = "LON"
name = "tf-test"
admin_state_up = "true"
}
results in this response
Error applying plan:
1 error(s) occurred:
404 Not Found
The resource could not be found.
looks like I get an extra /v2.0/ in the url, is this a terraform or rackspace issue?
rackspace has a lot of rackspace specific types in its service catalog e.g. "type": "rax:autoscale", I'm guess these aren't supported?