-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Iaas specific TF configs loading #38
Labels
Comments
o-orand
added a commit
that referenced
this issue
Apr 24, 2018
To use iaas_type support in terraform, create a directory called `spec-<iaas-type>` beside `spec` dir. close #38
o-orand
added a commit
that referenced
this issue
Apr 24, 2018
To use iaas_type support in terraform, create a directory called `spec-<iaas-type>` beside `spec` dir. close #38
lucaspinto
pushed a commit
that referenced
this issue
Jul 11, 2018
To use iaas_type support in terraform, create a directory called `spec-<iaas-type>` beside `spec` dir. close #38
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a refinement of the iaas-specifics-support to include terraform resource.
Currently, the current automation picks all TF config files.
cf-ops-automation/concourse/tasks/terraform_plan_cloudfoundry.yml
Lines 50 to 57 in 7a09101
Sharing the same cf-ops-automation based templates across root deployments leveraging distinct TF config (e.g. openstack and cloudstack) is likely to dammage TF config readeability
The apparent TF syntax support is the conditional support in interpolation:
Wrapping this logic into modules only enables to factor out the conditionals variable and does not alleviate the readability issue causes in every invoked resources having the conditional count interpolation as illustrated into hashicorp/terraform#12906 (comment)
It may make more sense to conditionally load different TF config files depending on a per root deployment flag (such as in
ci-deployment-overview.yml
ci-deployment.x-depl.terraform_config.iaas_spec-prefix
)This may for instance translate into naming convention on additional directories where to fetch iaas-specific spec files such as "specs-openstack" and "specs-cloudstack"
The text was updated successfully, but these errors were encountered: