Comments (4)
@carolynvs is this something we can do? I can take it...
from terraform-mixin.
@tamirkamara absolutely, I would really appreciate help getting this resolved sooner.
Here is the code that I think needs to be changed:
terraform-mixin/pkg/terraform/build.go
Lines 11 to 18 in 465b046
If you have any questions, just let me know. 👍
from terraform-mixin.
When running the mirror it duplicated the data that was fetched by the init command. In my custom docker file I delete the data downloaded by the init command and everything works fine. I have bundles with 5 terraform plugins and that accounts for ~300MB that are saved.
How do I know in the build time if an init will be run during runtime? init.go
includes some logic around it but I wasn't sure if an init would always run or not...
@carolynvs
from terraform-mixin.
I think that we always run init at runtime, even when it's not strictly required.
terraform-mixin/pkg/terraform/terraform.go
Lines 119 to 120 in 465b046
In #80 I proposed that we only call init at runtime if a remote backend was specified and otherwise skip it.
from terraform-mixin.
Related Issues (20)
- Support non-string variables HOT 1
- Add user agent for azure so the azure cli can pick it up HOT 2
- Error with latest version of terraform mixin HOT 1
- Add user agent string for AWS provider
- Support git modules
- String outputs have enclosing quotes HOT 1
- Bump Terraform Version
- Remove input flag HOT 1
- Optimize for layer caching during init HOT 1
- Install: tfvars file creation with no vars block
- Only call terraform init at runtime when remote backend is configured HOT 8
- Make the working directory configurable per command HOT 4
- tfvars file name?
- Using a remote backend should be a user decision, not a bundle author decision
- Allow saving output immediately as a file
- Unable to pass objects into terraform plan HOT 3
- compile failure tf version v0.10.0 with porter v1.0 on beta3 HOT 5
- Ampersands in Terraform Outputs are being Encoded HOT 13
- Update the mixin to compile against porter 1.0.0-rc.2 HOT 1
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 terraform-mixin.