clusterinthecloud / terraform

Terraform config for Cluster in the Cloud
https://cluster-in-the-cloud.readthedocs.io
MIT License
20 stars 23 forks source link

Allow OpenStack API authentication config for Terraform and deployed CitC to differ #79

Open jcwomack opened 2 months ago

jcwomack commented 2 months ago

Allow OpenStack API authentication information used by Terraform OpenStack provider to be different to OpenStack API application credential used by deployed CitC instance.

The application credential to be used by the deployed CitC is provided in a clouds.yaml file specified using the clouds_yaml Terraform variable. OpenStack API authentication for Terraform OpenStack provider can be separate to this, e.g. using a user/system clouds.yaml and cloud specified by environment variable.

This lays the groundwork for creating the application credential and clouds.yaml used by the CitC instance during terraform apply, removing the need to manually generate an application credential.

This PR also includes the following additional changes:

This lays some groundwork for the changes suggested in issue #80.