puppetlabs / puppetlabs-terraform

Bolt Terraform plugin
Apache License 2.0
6 stars 18 forks source link

Terraform State Backend #33

Open cdenneen opened 10 months ago

cdenneen commented 10 months ago

Use Case

Allow to use HTTP backend for CI pipelines.

Describe the Solution You Would Like

Ability for TF STATE to be saved to HTTP backend for CI pipelines

Describe Alternatives You've Considered

Alternative is to create infrastructure with complete custom TF outside of pecdm and then use peadm to install

Additional Context

https://github.com/puppetlabs/puppetlabs-pecdm/issues/80

@davidsandilands

cdenneen commented 10 months ago

Looks like backend remote was added but docs need to be update to explain how to update reference for remote. How to provide HTTP backend (usually setting TF_HTTP_ADDRESS, TF_HTTP_PASSWORD, TF_HTTP_USERNAME). Updating the docs for this project to explain how to initialize would be useful. Example of https://github.com/puppetlabs/puppetlabs-pecdm being initialized to use this backend as well would be good for docs.