Comments (9)
Maybe we can find a solution in the context proposed in #46 ...
from terraform-provider-libvirt.
@inercia I do not think this is related.
Besides the fact I would agree with closing #46 the RFC is about embedding parameters for the ephemeral, "must-have" OS basic volume in the domain resource, while this is about extra "data" disks which might or might be there - hence in variable quantity.
from terraform-provider-libvirt.
My proposal would be to add a disk_ids
list in the domain resource, which could be populated via variables or interpolation.
This could even supersede the current disk
variable, unless there is a reason I cannot see for keeping one map object instead of a plain id.
from terraform-provider-libvirt.
Note this comment about disk_ids
not being the right way to address this: #81 (comment)
from terraform-provider-libvirt.
Asked HashiCorp if this is a core issue or by design.
from terraform-provider-libvirt.
I would take other providers as a template, Scaleway got a comparable approach.
from terraform-provider-libvirt.
OK, seems it's possible to fix this on our side, accepting maps and not objects for the disk
block. This would be completely backwards compatible and would allow interpolations/variables to work in the most flexible way.
https://gitter.im/hashicorp-terraform/Lobby?at=581793b5806316005dde1c80
https://github.com/hashicorp/terraform/blob/master/builtin/providers/heroku/resource_heroku_app.go#L111
I will probably attempt a pull request soon.
from terraform-provider-libvirt.
Correct solution should be, from my point of view, #83
from terraform-provider-libvirt.
PR merged, closing.
from terraform-provider-libvirt.
Related Issues (20)
- Cannot connect to ipv6 address with explicitly specified port HOT 1
- Upgraded from 0.7.1 to 0.7.6 - got this error: Guest agent is not responding: QEMU guest agent is not connected HOT 3
- Enhancement: add SMBIOS tags support HOT 1
- Allow provider configuration to be passed by its caller HOT 1
- [FEATURE] Add more comprehensive support for ssh_config, specifically bastion hosts HOT 2
- Graceful shutdown of domain resource when recreate is required HOT 2
- Domains set to be incorrectly recreated to add "type=kvm" property HOT 2
- Add generic boot disk resource HOT 4
- test driver support
- Which domain attributes not require replacement?
- Failed to persist state to backend when I use S3 as backend!??
- New Feature: allow specifying of target host machine on every individual resource/data source
- information returned by node-info from recent PR #1042 is incorrect HOT 1
- How can I specify virtual network device?
- Create a CDRom with ISO to boot from ? HOT 2
- libvirt provider fails with ssh.publicKeyCallback.auth if the SSH key is invalid
- Fix testsuite (or code) " Extra data in disabled network"
- Failed to remove storage pool because of remnant actual volume
- [Packer X Terraform] Slot issue with network interfaces
- Failed to connect: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
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-provider-libvirt.