[OpenStack provider] Configuration to talk to Swift-only installation?

54 views
Skip to first unread message

Renier Morales

unread,
Jun 7, 2016, 10:32:49 PM6/7/16
to Terraform
Hi,

Is it possible to configure the openstack provider to talk to a Swift-only installation that is not tied to keystone for authentication? Since I can't find the right way to configure the provider in order to use the object storage resources in this scenario Get 401 when passing the direct swift auth v1 url as the auth_url. Digging into the code a bit (and consequently, gophercloud), it seems that the auth url has to be a Keystone authentication url. Is this correct?

    -Renier

Joe Topjian

unread,
Jun 8, 2016, 11:01:08 AM6/8/16
to terrafo...@googlegroups.com
Hi Renier,

This is correct. At the moment, Gophercloud (the Go OpenStack SDK that Terraform uses) only supports authentication through Keystone.

For Terraform to be able to use a Swift-only environment, first Gophercloud would need support for something like swauth. If there was another Go package that implements swauth, it might be possible for the two to coexist nicely in Terraform.

If this is something you'd like to investigate further, please open an Issue on the Terraform Github page. :)

Thanks,
Joe

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/a3d7d36a-563c-42a5-aada-3ffffd81d283%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages