Comments (3)
Terraform v0.14 likely has quite some time until end of life, but an early investigation on how to (migrate?, support both versions?) would be very useful. @simonklb: your input on this would be great
from compliantkubernetes.
Terraform v0.14 likely has quite some time until end of life, but an early investigation on how to (migrate?, support both versions?) would be very useful. @simonklb: your input on this would be great
Both versions should be supported by ck8s-devbox. I've tried upgrading to Terraform 0.15 and terraform plan
runs successfully and the diff is empty on the following providers (just had to make a few changes upstream to the aws module which used a deprecated function):
providers="aws citycloud exoscale safespring"
for provider in $providers; do
CK8S_CLOUD_PROVIDER=$provider
CK8S_CONFIG_PATH=~/.ck8s/simon-$provider-kubespray
ck8s-devbox ck8s-terraform apply sc
done
docker build -t ck8s-devbox --build-arg TERRAFORM_VERSION=0.15.4 .
for provider in $providers; do
CK8S_CLOUD_PROVIDER=$provider
CK8S_CONFIG_PATH=~/.ck8s/simon-$provider-kubespray
ck8s-devbox ck8s-terraform plan sc
done
* `terraform init` and `terraform apply` leave the `compliantkubernetes-kubespray` and `kubespray` untouched, i.e., without dirty files.
This isn't currently possible. You can set TF_DATA_DIR to move the .terraform directory, but the provider dependency lock file path is currently hardcoded.
https://github.com/hashicorp/terraform/blob/ffe056bacb9f2cf403fa3b6b894c5fbe1fa850a7/internal/command/meta_dependencies.go#L10-L28
from compliantkubernetes.
I just tested and you are right. ck8s-terraform plan cksc
works well, both within and outside the container. Outside the container, one needs to run ck8s-terraform-init
which dirties the git repo, but that's something we need to live with.
Anyway, if there are no greater issues, then we are in good shape to switch to TF 0.15.0.
Please close this issue.
from compliantkubernetes.
Related Issues (20)
- Update autoscaling use-case in user demo
- CONTRIBUTING.md contains values-breaking inappropriate joke
- Add documentation for Access Control per index and Log per ns
- Glossary update: Air-gapped HOT 1
- [1] Add required information for Diagnostic script HOT 1
- How does each component in Compliant Kubernetes help the Application Developers succeed? HOT 4
- New featured image based on new branding HOT 5
- Update process for using own issuer HOT 1
- Add more notes on custom webhook and content-type for log-based alerting
- [5] Add automation to build page for Apps configuration HOT 2
- Lens went Closed Source HOT 2
- Improve Overview page for CISO/DPO HOT 3
- Update overview page for app developers HOT 1
- Feedback script is broken, does not actually report to Matomo HOT 2
- Mention graceful termination on the "Prepare Your Application" page
- Self-Managed Ck8s on AWS public documentation
- "Service cluster" reference in image in the Architecture page
- Small updates on new DoD page
- Update NIST SP 800-171 to rev 3
- Change the code block background color HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compliantkubernetes.