Comments (3)
So, this should be now implemented. You have to update the module (terraform init --upgrade=true
) and set the variable ami_image_id
. Please give it a try and let me know.
from aws-minikube.
Technically, this would need to be implemented in terraform-aws-minikube first. That is the Terraform module which does the work. This repo pretty much just wraps around it.
But in general I do not have problem with such parameter if it is optional. I'm not exactly sure about the best way to implement it. Terraform isn't the best think around when trying to create some "if ... else ..." construct. And the Terraform configuration doesn't have a hardcoded AMI image ID. Instead it is searching for the AMI:
data "aws_ami" "centos7" {
most_recent = true
owners = ["aws-marketplace"]
filter {
name = "product-code"
values = ["aw0evgkw8e5c1q413zgy5pjce"]
}
filter {
name = "architecture"
values = ["x86_64"]
}
filter {
name = "virtualization-type"
values = ["hvm"]
}
}
So maybe the best way would be to try to allow to configure the options. Or do you have some other idea how to implement it?
from aws-minikube.
I'm honestly not very familiar with Terraform, but I think you can have defaults, right? So if we could configure the filter options from those defaults to something else, like a different owner and an AMI id instead of a product_code?
from aws-minikube.
Related Issues (14)
- Can't access the EC2 instance HOT 12
- No nodes when running kubectl get nodes HOT 5
- Can't Connect HOT 3
- How kubectl proxy connected to aws? HOT 1
- Cannot connect to kubectl proxy HOT 3
- Confused, is this Minikube or just a single node Kubernetes? HOT 2
- Initializing modules... - minikube in Error: Unreadable module directory HOT 10
- Cloudinit failing due to Kubernetes repo's GPG key HOT 8
- not authorized to perform: iam:CreateServiceLinkedRole
- Can I use kubectl from my host? HOT 6
- Consider using Cloudformation in addition to Terraform HOT 3
- Cannot locate private key after running terraform apply HOT 2
- Issues with DNS in kubernetes HOT 6
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 aws-minikube.